Main

Simulation

Main.Simulation History

Hide minor edits - Show changes to output

June 16, 2015, at 12:59 PM by 45.56.3.184 -
Changed lines 5-7 from:
 ''NLC.imode = 4''
 or
 ''NLC.imode =
7''
to:
 nlc.imode = 4 (simultaneous dynamic simulation)
 nlc.imode =
7 (sequential dynamic simulation)

 % MATLAB example
 apm_option(server,app,
'nlc.imode',7);

 # Python example
 apm_option(server,app,'nlc.imode',4)
June 16, 2015, at 09:15 AM by 45.56.3.184 -
Changed lines 3-5 from:
The DBS file parameter ''imode'' is used to control the simulation mode.  This option is set to ''4'' for dynamic simulation.

''NLC.imode = 4''
to:
The DBS file parameter ''imode'' is used to control the simulation mode.  This option is set to ''4'' (simultaneous simulation) or ''7'' (sequential simulation) for dynamic simulation.

 ''NLC.imode = 4''
 or
 ''NLC.imode = 7
''
October 02, 2008, at 02:57 PM by 158.35.225.228 -
Changed lines 5-14 from:
''NLC.imode = 4''
to:
''NLC.imode = 4''

Like steady-state simulation, dynamic simulation requires a square problem with no degrees of freedom (n'_eqn_'=n'_var_').  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.
September 30, 2008, at 09:18 AM by 158.35.225.227 -
Added lines 1-5:
!! Dynamic Simulation

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

''NLC.imode = 4''