Simbiology Desktop Activate Reaction Using Event

I am trying to use an event function in simbiology desktop to activate a reaction that exists in the same component. Is this possible and if so, what is the syntax?
Thanks,
Hirsh

 Respuesta aceptada

Arthur Goldsipe
Arthur Goldsipe el 17 de Jun. de 2016

1 voto

Hi,
Events cannot directly change the Active property. However, you can accomplish the same simulation result by creating an event that changes the value of a parameter. For example, you could set a rate constant to 0 using an event as a way to disable a reaction.
Does that make sense?
-Arthur

3 comentarios

Hirsh Agarwal
Hirsh Agarwal el 17 de Jun. de 2016
Yes, thank you. That answers my question exactly. Just as a quick follow up (I am very new to simbiology), how do I access a rate constant that's part of a reaction? I'm not just sure what the syntax is.
Thank you,
Hirsh
Ah, 2 important details. First, you need to make sure the reaction is scoped to the model. In the desktop, you can right-click to get the option to change the scope. Second, you'll need to uncheck the Constant option. Then, you can change the value using an event.
Hirsh Agarwal
Hirsh Agarwal el 18 de Jun. de 2016
Perfect, thank you so much. I simply could not figure out how to access the variable. Changing the scope was the key.
Thanks again!
-- Hirsh

Iniciar sesión para comentar.

Más respuestas (1)

Stalin Samuel
Stalin Samuel el 17 de Jun. de 2016

0 votos

Refer here for related discussions that may help you

Comunidades de usuarios

Más respuestas en  SimBiology Community

Categorías

Productos

Etiquetas

Preguntada:

el 17 de Jun. de 2016

Comentada:

el 18 de Jun. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by