Skip to content

model.model

Models.

Functions for model loading, model manipulation and settings on the integrator. Model can be in different formats, main supported format being SBML.

Other formats could be supported like CellML or NeuroML.

AbstractModel

AbstractModel(
    source,
    sid=None,
    name=None,
    language=None,
    language_type=None,
    base_path=None,
    changes=None,
    selections=None,
)

Abstract base class to store a model in sbmlsim.

Depending on the model language different subclasses are implemented.

Initialize SourceType.

LanguageType

Bases: Enum

Language types.

SourceType

Bases: Enum

Source types.

normalize

normalize(uinfo)

Normalize values to model units for all changes.

to_dict

to_dict()

Convert to dictionary.