Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow formulas in condition table #577

Open
matthiaskoenig opened this issue May 16, 2024 · 1 comment
Open

Allow formulas in condition table #577

matthiaskoenig opened this issue May 16, 2024 · 1 comment
Milestone

Comments

@matthiaskoenig
Copy link

Conditions should be calculable based on the model variables and parameters.
E.g. I want to change S1 to 2*S1 in a condition.
I.e. formulas should be allowed in the condition table.

This would require additional information which values should be used similar to EventAssignments.

The time at which the expression in math is evaluated is determined by the attribute
useValuesFromTriggerTime on Event. If the attribute value is “true”, the expression must be evaluated
when the event is triggered ; more precisely, the values of identifiers occurring in MathML ci elements in the
EventAssignment’s math expression are the values they have at the point when the event triggered. If, instead,
useValuesFromTriggerTime’s value is “false”, it means the values at execution time should be used; that is,
the values of identifiers occurring in MathML ci attributes in the EventAssignment’s math expression are the
values they have at the point when the event executed.

@dweindl
Copy link
Member

dweindl commented May 23, 2024

This is part of #581

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants