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

3 次查看(过去 30 天)
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.

采纳的回答

Priya Moorthy
Priya Moorthy 2024-2-11
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

更多回答(0 个)

社区

更多回答在  SimBiology Community

类别

Help CenterFile Exchange 中查找有关 Scan Parameter Ranges 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by