getCurrentModel returns the currently active model.

getCurrentModel()

Value

a model object

Details

By default, the currently active model is the last model that has been used. If working with a single model, the getCurrentModel function will supply this model to any function call including the model argument. This makes the model argument used by most of this packages functions safe to ignore in most use cases.

See also

Other model handlers: getLoadedModels(), openCopasi(), setCurrentModel()