Skip to content

Reaction equations

Attributes

The reaction element supports the following attributes:

Attribute Type Default Description
credits xs:nonNegativeInteger 1 Number of credit points the user gets awarded for this input value. If this input value is part of another input value (such as a vector or a set), then the credits of the child input values are interpreted as relative weights. That means the top level input value has the absolute credits as specified in its credits attribute and each child input value contributes to this number its credits attribute value divided by the sum of all credits attribute values of all children.
model xs:Name - Name of the model to use for this input value. If this attribute is not set, the input model associated to the input field containing this input value is used.
reduced xs:boolean - Whether or not the user should be force to reduce the entered coefficients in this reaction to the smallest possible positive integers.
type ReactionType - Describes the type of the chemical reaction. This decides what symbol is placed between the educts and the products.

The educts element supports the following attributes:

Attribute Type Default Description
fixed xs:boolean - If the number of educts of the reaction should be fixed and revealed to the user as given in the solution. When set to false, the number of educts must be found out.

The products element supports the following attributes:

Attribute Type Default Description
fixed xs:boolean - If the number of products of the reaction should be fixed and revealed to the user as given in the solution. When set to false, the number of products must be found out.

The molecule element supports the following attributes:

Attribute Type Default Description
coefficient xs:positiveInteger - Provides a predefined and fixed coefficient that will be used and displayed for this molecule. If this attribute is not set, the user must enter the coefficient of this molecule on his or her own.
fixed xs:boolean false Specifies whether the molecular formular (not the coefficient) should be fixed and shown to the user. If this attribute is enabled, the molecular formular is shown to the user and cannot be changed by the user. Otherwise, the user must enter the molecular formular.