APMonitor Modeling Language Documentation

Sequential Simulation

The DBS file parameter imode is used to control the simulation mode. This option is set to 7 for dynamic simulation.

NLC.imode = 7

Like steady-state simulation, sequential simulation requires a square problem with no degrees of freedom (neqn=nvar). It is also different than the simultaneous approach in that only one time step ahead is solved successively. Sequential simulation has many useful purposes including

Sequential simulation is one of the easiest dynamic modes to configure and run. The requirement for a square problem facilitates model convergence as the solver has only to achieve feasibility with the equality constraints.

Home | APMonitor Modeling Language Documentation