Skip to content

Handling events #25

Description

@kwabenantim

Summary

From SBML Level 3 v2:

Model has an optional list of Event objects that describe the time and form of instantaneous, discontinuous state changes in the model.

Mechanism

the operation of every event is divided into two phases ... when the event is triggered and ... when the event is executed.
...
If a Delay ... is present, these moments are separated by simulation time.
...
An event only triggers when the expression within its Trigger ... makes the transition ... from “false” to “true”. The event will trigger again ... when the trigger makes the transition from “false” to “true”;
...
The Priority ... influences the order in which ... to perform the assignments ....

Special Flags

The attribute useValuesFromTriggerTime allows a model to indicate the moment at which the event’s assignments are to be evaluated ... “true” indicates ... the moment the event is triggered ... “false” means ... the moment the event is executed.
...
The behavior at the ... start of simulation ... is determined in part by the boolean flag initialValue ... “true” means the trigger expression is taken to have the value “true” immediately prior to t = 0.
...
If the boolean attribute persistent has a value of “true”, then once the event is triggered ... its assignments are always performed...

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Fields

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions