How to simulte a chemical reaction at different initial concentratios of reactants in the Simbiolgy interfase of Matlab?

1 visualización (últimos 30 días)
How to simulate in the Simbiology interfase of Matlab the time course of a reaction such as, for example, A + B <-> C, at different initial concentrations of A, keeping the initial concentration of B constant?
I included in the attach a graphical help of my question.
Thanks a lot
Luis B.

Respuesta aceptada

Priya Moorthy
Priya Moorthy el 11 de Feb. de 2024
Hi, Luis,
There are three different ways to change the initial values for a quantity (species, parameter or compartment) in your SimBiology model.
1) Variants: You can create variants to define alternate initial values for a quantity. See https://www.mathworks.com/help/simbio/ug/variant-object.html for a detailed description of how to use variants.
2) Sliders: You can explore the effect of changing initial values by creating sliders for a simulation program in the SimBiology Model Analyzer. After creating a simulation program, create a slider by dragging and dropping a model quantity from the Models panel onto the Explorer panel (see first screenshot). When you move the slider, the simulation will re-run with the new initial value. Select the "Keep results from each run" checkbox (circled in yellow in the screenshot) to preserve the previous results and add new lines to the plot with each subsequent run.
3) Scan program: Create a scan program by selecting "Run scan" from the Program button in the toolbar or add a "Generate samples" step using the "+" button in the program tab (see second screenshot). Configure the "Generate samples" step to scan over different initial values for one or more quantities. You can configure plot settings through the Property Editor panel to customize your plot (see third screenshot).
Please reach out again if you need additional information about any of these options.
Best,
Priya

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.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by