.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

Name Description
 Compartment Default compartment (constant volume)
 MainCompartment Main compartment (constant volume)

Generated at 2019-07-18T01:40:03Z by OpenModelicaOpenModelica 1.14.0~dev-26606-ge0b417b using GenerateDoc.mos