Different dilution effect on the kinetics of a time course

조회 수: 1 (최근 30일)
Luis B. Walter
Luis B. Walter 2024년 6월 14일
댓글: Luis B. Walter 2024년 6월 17일
Hi to everyone!
To simplify the explanation and the problem, I simulated the kinetics of an irreversible first-order reaction, A -> B. I implemented it in two independent compartments, R and P. I simulated the effect of a dilution in R by doubling at t= 0,1 the R volume. I programmed in P that, at t = 0.1, the instantaneous concentration of A and B would be reduced by half. I am sending an attach with the implementation of these simulations in the Simbiology interface.
When the simulations of the two compartments are plotted, it can be seen that the responses are not equal. That is, from t = 0.1 s, the reaction follow an exponential function in R with half of the initial amplitude and half of the initial value of k1. That is, the relaxation time is doubled. Meanwhile, in P, from t = 0.1, the reaction follows exponential kinetics with half the amplitude value but maintaining the initial value of k = 10. Without a doubt, the correct simulation is the latter (compartment P) where only the effect is observed in the amplitude and not in the relaxation time. Could you tell me what the error is that makes these kinetics that should be equal not be?
Thank you in advance!
Luis B.
  댓글 수: 2
Umar
Umar 2024년 6월 15일
To address the issue and ensure consistent simulation results between compartments R and P, you need to review the code that handles the dilution and concentration reduction processes. Check for any inconsistencies or errors in how these processes are applied to each compartment.
Luis B. Walter
Luis B. Walter 2024년 6월 17일
Thanks, Umar.
I didn't write any code on my part. I just implemented three Events (as can be see in the attachment) in the Simbiology interface for this elemental reaction:
  1. time >= 0.1, R = 2*R
  2. time >= 0.1, P.A = P.A/2
  3. time >= 0.1, P.B = P.B/2
Luis B.

댓글을 달려면 로그인하십시오.

채택된 답변

Arthur Goldsipe
Arthur Goldsipe 2024년 6월 17일
편집: Arthur Goldsipe 2024년 6월 17일
Hi Luis,
Because you don't use units in your model, SimBiology interprets the reaction rates to have dimensions of amount/time. (This is documented here.) The easiest way to fix this is to add units of 1/second to your rate constants. Then, the two appoaches for dilution behave identically.
One debugging tip mentioned on the above page is to view the differential equations for your model. You can find more details on how to do that in the SimBiology Model Builder app here.
-Arthur

추가 답변 (0개)

커뮤니티

더 많은 답변 보기:  SimBiology Community

카테고리

Help CenterFile Exchange에서 Extend Modeling Environment에 대해 자세히 알아보기

태그

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by