Writing JSim Models
This page is for the current JSim version 2.0.
Click here for the earlier JSim 1.6 version.
The documents below provide information on how to write JSim models. JSim models are written in JSim's own Mathematical Modeling Language(MML), an easy-to-read text-based language. MML models are most often expressed in terms of mathematical equations (for example, ordinary or partial differential equations), but formulation via discrete events and function calls to Java, C and Fortran are also available. MML is constructed so that model writers may intermix mathematics, events and procedural code as needed.
Basic MML
Specific MML Topics
- Built-in constants, operators & functions
- Ordinary differential equations
- Partial differential equations (PDEs)
- Integrals & Summations
- Implicit Equations
- Delay Lines
- Variable Functions
- Events (discrete state changes)
- Functions & Procedures (embedded Java, C, Fortran, Matlab)
- Templates (reusable model components)
- Miscellaneous short topics
Example Models
Reference guides
Connecting JSim to other software products
RTML
RTML is a graphic description language used to customize the appearance of models in the JSim GUI
[This page was last modified 06Jul12, 3:17 pm.]
Model development and archiving support at physiome.org provided by the following grants: NIH/NIBIB BE08407 Software Integration, JSim and SBW 6/1/09-5/31/13; 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.

