MultiStrataModelSymbols

compartment_model.MultiStrataModelSymbols(self, strata, meta_requirements)

IPM symbols needed in defining the model’s transition rate expressions.

Attributes

all_compartments: Sequence[Symbol]

Compartment symbols in definition order.

all_requirements: Sequence[Symbol]

Requirements symbols in definition order.

all_meta_requirements: Sequence[Symbol]

Meta-requirement symbols in definition order.

strata: Sequence[str]

The strata names used in this model.

Methods

Name Description
compartments Select compartment symbols by name.
requirements Select requirement symbols by name.
strata_compartments Select compartment symbols by name in a particular strata. If names is non-empty, select those symbols by their original name. If names is empty, return all symbols.
strata_requirements Select requirement symbols by name in a particular strata. If names is non-empty, select those symbols by their original name. If names is empty, return all symbols.