This package contains compartment models. All models using the BioChem package must inherit a compartment.
In order to be able to control the environment of the reaction during a simulation, a chemical reaction must take place in a restricted screened-off container. Within this container the basic physical properties, for example, volume and temperature, are the same for all reactions that take place and all substances contained in that container. In BioChem.Compartments this is solved using the Modelica inner-outer construct, that is, providing a "semiglobal" variable for a whole compartment declared using the inner prefix. Thus, all substances in a compartment can automatically refer to the compartment volume.
See also