-
Notifications
You must be signed in to change notification settings - Fork 31
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
Initial concentrations not overwritten after preequilibration #1319
Comments
Might be that this has something to do with |
Thanks for the hint @paulstapor . This indeed fixed the problem for the minimal example. Will also try for the large model now. |
Okay, the problem here is that |
I am not completely sure how that should be handled (-> PEtab-dev/PEtab#481). |
Using the species Id indeed gives the results I expected. |
As this turns out to be slightly more complicated (PEtab-dev/PEtab#481), I'd suggest to only add support for simple initial assignments for now, i.e. those with math elements consisting of a single parameter that is not a target of other rules. The rest should trigger a |
…fixes (#1417) Adds possibility to provide state indices for selective reinitialization based on fixed parameters. The previous `ExpData::reinitializeFixedParameterInitialStates` is still there, but will be removed in an upcoming version. Addresses #1345, #1396, #1319 Supersedes #1344 Include new test cases from PEtab-dev/petab_test_suite#35
Should be fixed in 0.11.13 |
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
inrdata
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
The text was updated successfully, but these errors were encountered: