Skip to content

PySB, PEtab v2 & events #2975

@dweindl

Description

@dweindl

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?

Metadata

Metadata

Assignees

Labels

PEtabPEtab-import relatedPySBPySB import relatedeventsrelated to handing discrete events

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions