How can I define a time-dependent (species) reaction rate for an model in SimBiology?
    2 ビュー (過去 30 日間)
  
       古いコメントを表示
    
I want to define that a specie A is being produced given by 2 degree quardratic equation as a function of time. How to define it ? 
4 件のコメント
  Jeremy Huard
    
 2021 年 4 月 19 日
				Hi Puruj,
I guess it depends on how the equation should look like. 
If you want something like  then the reaction rate should indeed be
 then the reaction rate should indeed be  . That said, if x is not involved in any other reactionthat involve other species, it might be easier to define this equation as a repeated assignment.
. That said, if x is not involved in any other reactionthat involve other species, it might be easier to define this equation as a repeated assignment.
 then the reaction rate should indeed be
 then the reaction rate should indeed be  . That said, if x is not involved in any other reactionthat involve other species, it might be easier to define this equation as a repeated assignment.
. That said, if x is not involved in any other reactionthat involve other species, it might be easier to define this equation as a repeated assignment.If you would rather want  then the reaction rate should be
 then the reaction rate should be  .
.
 then the reaction rate should be
 then the reaction rate should be  .
.Best regards,
Jérémy 
採用された回答
  Jeremy Huard
    
 2021 年 4 月 21 日
        Hi Puru,
I would recommend you to create a reaction null -> A with a custom reaction rate defined by the quadratic equation.  In this reaction rate you can use the variable time, which is a reserved word in SimBiology and corresponds to the current time of the simulation.
Best regards,
Jérémy
3 件のコメント
  Jeremy Huard
    
 2023 年 5 月 1 日
				For SSA in SimBiology all reactions in the model must have their KineticLaw property set to MassAction.
You can find more details about the requirements for stochastic simulations and about the different solvers available here: https://www.mathworks.com/help/simbio/ug/stochastic-solvers.html
Best regards,
Jérémy
  Cristina
 2023 年 5 月 1 日
				Thanks for the reply! I guess that means that the reaction propensities need to be constant if I want to simulate my model stochastically using SimBiology. Do you know if there is any  Matlab package that would allow me to have a rate as a funtion of time?
Best regards,
Cristina
その他の回答 (0 件)
コミュニティ
その他の回答 SimBiology コミュニティ
参考
カテゴリ
				Help Center および File Exchange で Extend Modeling Environment についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


