|ODE Solvers now part of the STEM scenario [message #561135]
||Thu, 16 July 2009 17:08
| Stefan Edlund
Registered: July 2009
With the next STEM build, we've turned the Ordinary Differential Equation |
Solvers (ODE) that is at the heart of STEM into separate plugins. There
are two reasons for this:
1. It makes it easy for anybody to write their own numerical ODE Solver
(or any other type of solver for that matter) and plug into STEM
2. Before, the solver being used was specified as part of the disease
model. This causes problems when there are two or more diseases affecting
a population and there's a risk the two diseases become "out-of-sync". For
instance, the deaths caused by one of the diseases need to be fed into the
model for the second disease (and vice-versa) so we can't use two
different ODE solvers to generate results separately for each disease.
As a result of this, you now specify the solver (Finite Difference or
Runge Kutta) when you create a new STEM scenario.
IMPORTANT: Any scenario created before this change took place will default
back to the simple Finite Difference ODE solver. If you want to re-enable
Runge Kutta, you need to create a new scenario and drag your model etc.
Powered by FUDForum
. Page generated in 0.03560 seconds