필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Are algebraic rules available outside simbiology?

조회 수: 1 (최근 30일)
Matthew Merritt
Matthew Merritt 2016년 10월 13일
마감: MATLAB Answer Bot 2021년 8월 20일
I have reason to believe that the algebraic rules in simbiology could be of use to some simulations I am writing. I don't currently have the simbiology toolbox. Simbiology solves multiple differential equations. Therefore it strikes me that I should be able to write simlar rules for the ODE solvers. Would that be the case?
  댓글 수: 3
Arthur Goldsipe
Arthur Goldsipe 2016년 10월 18일
I'm not sure I understand the question. I think writing DAEs to solve in ode15s is only slightly harder than writing ODEs to solve in ode15s. mupad might make things a little easier, but there are still probably a lot of ways to make a mistake.
If you're looking for a way to reduce the change of modeling errors in a biological kinetic model, then I suggest you take a look at getting a SimBiology license. You can construct the model in terms of reactions, and SimBiology will convert those reactions to the appropriate set of differential equations.
Karan Gill
Karan Gill 2016년 10월 20일
DAEs are available in the Symbolic Math Toolbox, so you do not have to use MuPAD. See: http://www.mathworks.com/help/symbolic/set-up-your-dae-problem.html

답변 (1개)

Arthur Goldsipe
Arthur Goldsipe 2016년 10월 14일
Hi,
Yes, you can include algebraic constraints with your differential equations when solving them in MATLAB using solvers like ode15s. These are called DAEs (differential-algebraic equations) as opposed to ODEs (ordinary differential equations). You indicate which terms are algebraic and which are differential using something called the mass matrix. You can find an example of this on the ode15s reference page. Just search the page for DAE, or look for the example named "Solve Robertson Problem as Semi-Explicit Differential Algebraic Equations (DAEs)."
-Arthur

이 질문은 마감되었습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by