How to set a Condition of limitation between two Species ?

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.

 채택된 답변

Jeremy Huard
Jeremy Huard 2024년 2월 26일

0 개 추천

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

추가 답변 (0개)

커뮤니티

더 많은 답변 보기:  SimBiology Community

카테고리

도움말 센터File Exchange에서 Extend Modeling Environment에 대해 자세히 알아보기

제품

태그

질문:

丁
2024년 2월 26일

답변:

2024년 2월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by