Skip to content

Initial concentrations not overwritten after preequilibration #1319

@LeonardSchmiester

Description

@LeonardSchmiester

What did you expect to happen?
I have a model, where I want to reset initial concentrations for some species (in my case different drugs) after preequilibration. In the SBML file, I have an initial assignment to the species, which is set to 0 for the preeq condition in the PEtab condition file and then to e.g. 10 for the simulation condition. I would have expected x0 in rdata for this species to be 10.

What has happened instead?
It seems like the initial concentration of the species is not overwritten with the value in the condition file. So in the above example x0 is 0. If I delete the preeq condition, x0 is set correctly.

To Reproduce
Here is a minimal example to reproduce the problem: minimal_example.tar.gz

AMICI version and system environment

  • OS and version: Ubuntu
  • AMICI interface: Python
  • AMICI version: 0.11.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    PEtabPEtab-import relatedbugnewNewly created

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions