How to set a Condition of limitation between two Species ?

1 Ansicht (letzte 30 Tage)
丁
am 26 Feb. 2024
Beantwortet: Jeremy Huard am 26 Feb. 2024
I wish to add condition of limitation that " O* + O·LI*2 = O_t " (the amount of Operators remains a constant) using ALGEBRAIC RULES, but it reports an error: " Model is overdetermined by the following algebraic rule: '[O*]+[O-LI*2]- O_t'.At least one species, parameter, or compartment in this rule must be nonconstant and not defined by a reaction rate, rate rule, or repeated assignment rule. "
So, I want to replace " [O·LI*2] " to " ( O_t - [O*] ) " in all reactions that involve " [O·LI*2] " , but failed.

Akzeptierte Antwort

Jeremy Huard
Jeremy Huard am 26 Feb. 2024
Hi @丁,
it is recommended to use repeated assignments over algebraic rules whenever a closed-form solution can be implemented. This is your case where [O·LI*2] = O_t - [O*].
Now, since the concentration of [O·LI*2] is fully determined by this equation, the ODE generated by the system of reactions is not needed. To tell SimBiology that reactions do not affect [O·LI*2], you can set the property BoundaryCondition to true in the Property Editor of this species.
I hope this helps.
Jérémy

Weitere Antworten (0)

Communitys

Weitere Antworten in  SimBiology Community

Kategorien

Mehr zu Extend Modeling Environment finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by