.BioChem.Compartments

Information

Compartments

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, e.g. 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, i.e., 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. The classes in the package so far are illustrated in Figure 1. The difference between the both compartments are the icons. The reason for having both in the library is that it is needed for the SBML import and export. To be able to export a model to SBML it needs to have one main compartment, and only one.

Fig1: Compartments

Contents

NameDescription
 CompartmentDefault compartment (constant volume)
 MainCompartmentMain compartment (constant volume)

Generated at 2024-12-03T19:25:34Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos