How can I define a time-dependent (species) reaction rate for an model in SimBiology?
Afficher commentaires plus anciens
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 commentaires
Jeremy Huard
le 13 Avr 2021
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
Puru Raj
le 13 Avr 2021
Jeremy Huard
le 19 Avr 2021
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
. 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
.
Best regards,
Jérémy
Puru Raj
le 19 Avr 2021
Réponse acceptée
Plus de réponses (0)
Communautés
Plus de réponses dans SimBiology Community
Catégories
En savoir plus sur Extend Modeling Environment dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!