This model contains one 0-dimensional compartment called "compartment". There are four species, S1, S2, S3 and S4, and two parameters, k1 and k2.

The model contains a function called "multiply" that takes two numerical arguments and multiplies them:

Id Arguments Formula
multiply x, y x · y

The model contains two reactions defined as:

Reaction Rate
S1 + S2 → S3 + S4 multiply(k1, multiply(S1, S2))
S3 + S4 → S1 + S2 k2 · S3 · S4

The initial conditions are as follows:

Value Units
Initial amount of S1 1.0 × 10−4 mole
Initial amount of S2 1.0 × 10−4 mole
Initial amount of S3 2.0 × 10−4 mole
Initial amount of S4 1.0 × 10−4 mole
Value of parameter k1 0.75 × 104 mole-1 second-1
Value of parameter k2 0.25 × 104 mole-1 second-1

In this example, the compartment has its spatialDimensions attribute set to a value of zero; i.e., the compartment represents a point, and therefore cannot have a value for the size or units attributes. The quantities of species located in the compartment must be treated as amounts and not concentrations.