Allow formulas in condition table
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.
This is part of https://github.com/PEtab-dev/PEtab/pull/581