SimBiology :: controlling a species concentration using a custom user-defined input function

11 visualizaciones (últimos 30 días)
I've used Matlab extensively to model biochemical networks with systems of ODEs, though I'm new to using SimBiology. I've imported a calcium channel model into SimBiology and can execute it, plot the results, etc.
What I'd like to do now is take one of the species, Ca — currently with its InitialAmount set to 0.5 millimole/litre, and its BoundaryCondition and ConstantAmount attributes set to on — and control its concentration as a function of time, treating it as an input function to the rest of the system. (I'm investigating how different ways of pulsing Ca concentration will affect downstream production of autonomous CaMKII.)
What is the best way to accomplish building such an input function in SimBiology?
I found this article, which describes how to create a custom user-defined function and use it in reaction, rule, and event expressions. But I don't think this is what I need to do.
I'd appreciate any guidance. Thanks.

Respuesta aceptada

Arthur Goldsipe
Arthur Goldsipe el 16 de Jun. de 2017
Hi,
First off, if you want the species to vary over time, then you'll need to set the ConstantAmount property to false.
Next, if you have a function that defines the species value over time, you'll need to use that function in a repeated assignment rule (which is a rule that's evaluated at every time step during the simulation).
SimBiology contains a model of the glucose-insulin response that demonstrates this. The example shows how to switch between simulating a species and using experimentally measure time courses.
-Arthur
  4 comentarios
Jeremy Huard
Jeremy Huard el 27 de Nov. de 2024
Hi @Ji,
do you mean that the species you would like to increase stepwise should be involved in reactions but its concentration should be stepwise constant?
If this is the case, you can se the BoundaryCondition property of this species to true. This will ensure that the reactions do not affect the dynamics of the species.
Best,
Jérémy

Iniciar sesión para comentar.

Más respuestas (0)

Comunidades de usuarios

Más respuestas en  SimBiology Community

Categorías

Más información sobre Extend Modeling Environment en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by