Skip to content

Document/fix reinitialization of Heavisides after pre-equilibration and pre-simulation #2918

@dweindl

Description

@dweindl

Currently, event trigger state is reinitialized after pre-equilibration and pre-simulation.
Applying the initialValue of an SBML trigger is part of model initialization, and therefore, I think, it would be more plausible to do that only once, and continue with the Heaviside state from the previous period.
Either way, the behavior should be documented.

Related to PEtab-dev/PEtab#642

After #2913, #2920.

Metadata

Metadata

Assignees

Labels

eventsrelated to handing discrete events

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions