How to simulte a chemical reaction at different initial concentratios of reactants in the Simbiolgy interfase of Matlab?
1 回表示 (過去 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.
0 件のコメント
採用された回答
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 コミュニティ
参考
カテゴリ
Help Center および File Exchange で Extend Modeling Environment についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!