Jsim is able to solve some types of DAE's directly. An example of such a system is given by:
The exact solution is contained in the comments of the code.
Stochastic Models can be written in JSim's Mathematical Modeling Language. This model has been written both as an ODE model and a stochastic model so the user can learn how to write a stochastic model. Stochastic models are used when the number of molecules interacting is small and the reaction cannot be represented by continuum mechanics. Consider the following reactions:
A -> X, k1
2X+Y -> 3X, k2
B+X -> Y + C, k3
X -> D, k4
where A, B, C, D are constant and only X and Y vary.
The governing equations are
and
Model development and archiving support at physiome.org provided by the following grants: NIH/NHLBI T15 HL88516-01 Modeling for Heart, Lung and Blood: From Cell to Organ, 4/1/07-3/31/11; NSF BES-0506477 Adaptive Multi-Scale Model Simulation, 8/15/05-7/31/08; NIH/NHLBI R01 HL073598 Core 3: 3D Imaging and Computer Modeling of the Respiratory Tract, 9/1/04-8/31/09; as well as prior support from NIH/NCRR P41 RR01243 Simulation Resource in Circulatory Mass Transport and Exchange, 12/1/1980-11/30/01 and NIH/NIBIB R01 EB001973 JSim: A Simulation Analysis Platform, 3/1/02-2/28/07.