-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Labels
PEtabPEtab-import relatedPEtab-import relatedPySBPySB import relatedPySB import relatedeventsrelated to handing discrete eventsrelated to handing discrete events
Description
With PEtab v2, we have to handle discrete changes at potentially many timepoints. For SBML models, this is handled by encoding the PEtab changes as SBML-events. PySB does not support general events.
Therefore, we either need to restrict ourselves to PEtab problems that fit the current pre-equilibration / pre-simulation / main simulation setup, or we need to inject events into the DEModel generated by pysb2amici.
I guess, the latter is preferable. Therefore, we might want to enable passing a list of amici.de_model_components.Event or similar to pysb2amici.
Related to #2662.
EDIT: Maybe it's sufficient to replace the respective pysb.Parameters by piecewise pysb.Expressions?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
PEtabPEtab-import relatedPEtab-import relatedPySBPySB import relatedPySB import relatedeventsrelated to handing discrete eventsrelated to handing discrete events