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 Community
참고 항목
카테고리
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!