Skip to content

Change event language from 't=0' to 't_i'. #2

Open
@luciansmith

Description

It turns out that people do simulations where 'time' doesn't start at zero: they might have an SBML model saved where time=2, and want to simulate from time=2 to time=10 or the like.

In this case, the events in the model would semantically be described mostly as they are now, with a slightly modification: we would need to refer to 'the initial time' as 't0', instead of 'when t=0'. (Simulations are also performed with a negative start time, too.)

It might also be worth a short description of what happens when the csymbol 'time' is used in an event trigger (or generally in MathML), but the simulation doesn't start at time=0: if, say, an event trigger is 'time>=3', with an 'initialValue' of 'false', it will trigger after three time units if a simulation is given that starts at zero, after one time unit if given a time start of 2, and immediately at the start of the simulation if given at time start of 3 or greater.

Simulators regularly have non-zero time starts: roadrunner has had a 'start' argument to its 'simulate' function since forever, as have other simulators (as far as I know), and it's been formalized in SED-ML in the 'initialTime' attribute of the 'UniformTimeCourse' class.

None of this would make any difference to the output of an SBML simulation except for the labeling of the 'time' axis, were it not for the inclusion of the 'time' csymbol: that's where potentially odd situations can occur with initial times other than zero.

EDIT: I eventually decided that $t_0$ was not as clear as $t_i$, so I'm using that language in my current proposed text changes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions