The DBS file parameter imode is used to control the simulation mode. This option is set to 4 for dynamic simulation.
NLC.imode = 4
Like steady-state simulation, dynamic simulation requires a square problem with no degrees of freedom (neqn=nvar). Dynamic simulation has many useful purposes including
- Investigate step response characteristics of a nonlinear model
- Simulate process changes for design, trouble-shooting, or planning
- Perform what-if scenarios
- Simulate a virtual process
Dynamic simulation is the easiest dynamic mode 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.