Merging a deterministic and a stochastic model in COPASI

28 views
Skip to first unread message

Hikmet Emre Kaya

unread,
Apr 11, 2024, 4:52:52 AMApr 11
to COPASI User Forum
Hello everyone,

I have one deterministic and one stochastic model which I want to merge.

Here is the workflow I had in mind.

There is a global value "a" in the deterministic network that is dependent on the transient concentrations of some of the metabolites.

I want this global value to effect the initial particle count of one of the metabs in the stochastic network, before I run a stochastic simulation on this second model. so the initial particle count would be an assignment = a * [initial particle count], where a is 1 in the beginning.

So, the deterministic one should be simulated and finalized before the stochastic one starts.

I attached two dummy COPASI files if my question was not clear.

I want to know if there is any way to merge these two models and streamline this process. When I merge the two networks, the units of the deterministic model change and convert to the units of the second model, which I obviously do not want.

Let me know if you think there is a solution around this.

Many thanks in advance,

Emre
stochastic.cps
deterministic.cps

Hikmet Emre Kaya

unread,
Apr 11, 2024, 5:49:37 AMApr 11
to COPASI User Forum
And I forgot to mention, the reason I want to merge them is I want to run a sensitivity analysis for the particle numbers in the second model with respect to the kinetic parameters in the first model.

juergen

unread,
May 13, 2024, 5:35:48 AM (5 days ago) May 13
to COPASI User Forum
Dear Emre,

There is no automatic way of merging the models, particularly if they are written with different units and you want to first run one of the models and the result of this should then affect the second (sub-)model. You could, however, script a workflow that connects  the two simulations using one of our high-level APIs:


Best wishes,
Juergen
Reply all
Reply to author
Forward
0 new messages