## Optimization

## Main.Optimization History

Show minor edits - Show changes to output

Changed lines 5-6 from:

to:

apm.imode = 3

Changed lines 8-9 from:

apm_option(server,app,'~~nlc~~.imode',3);

to:

apm_option(server,app,'apm.imode',3);

Changed lines 11-13 from:

apm_option(server,app,'~~nlc~~.imode',3)

This mode is equivalent to the steady-state simulation, except that additional degrees of freedom are allowed. Degrees of freedom can be allocated with the~~''~~STATUS~~''~~ parameter of ''MV'' type variables. Each ~~''~~STATUS~~''~~ parameter that is set to ''1'' (''ON'') generates an additional degree of freedom. Slack variables are also included as degrees of freedom for handling of equation inequalities. These slack variables effectively inactivate an equation when it is not bounded by the inequality.

This mode is equivalent to the steady-state simulation, except that additional degrees of freedom are allowed. Degrees of freedom can be allocated with the

to:

apm_option(server,app,'apm.imode',3)

This mode is equivalent to the steady-state simulation, except that additional degrees of freedom are allowed. Degrees of freedom can be allocated with the [[Main/OptionStatus|STATUS]] parameter of ''MV'' type variables. Each [[Main/OptionStatus|STATUS]] parameter that is set to ''1'' (''ON'') generates an additional degree of freedom. Slack variables are also included as degrees of freedom for handling of equation inequalities. These slack variables effectively inactivate an equation when it is not bounded by the inequality.

This mode is equivalent to the steady-state simulation, except that additional degrees of freedom are allowed. Degrees of freedom can be allocated with the [[Main/OptionStatus|STATUS]] parameter of ''MV'' type variables. Each [[Main/OptionStatus|STATUS]] parameter that is set to ''1'' (''ON'') generates an additional degree of freedom. Slack variables are also included as degrees of freedom for handling of equation inequalities. These slack variables effectively inactivate an equation when it is not bounded by the inequality.

Changed lines 5-11 from:

to:

nlc.imode = 3

% MATLAB example

apm_option(server,app,'nlc.imode',3);

# Python example

apm_option(server,app,'nlc.imode',3)

% MATLAB example

apm_option(server,app,'nlc.imode',3);

# Python example

apm_option(server,app,'nlc.imode',3)

Changed line 11 from:

to:

(:html:)<a href="/online/view_pass.php">Online Web-based Interface</a>(:htmlend:)

Changed lines 11-13 from:

[[https://apmonitor.ath.cx/sandbox/~~index~~.~~html~~|Online Trial: https://apmonitor.ath.cx/sandbox]]

to:

[[https://apmonitor.ath.cx/sandbox/instructions.htm|Online Trial: https://apmonitor.ath.cx/sandbox]]

All other modes are accessable with the command line program or through the %blue%A%red%P%black%Monitor Online interface.

All other modes are accessable with the command line program or through the %blue%A%red%P%black%Monitor Online interface.

Changed lines 7-11 from:

This mode is equivalent to the steady-state simulation, except that additional degrees of freedom are allowed. Degrees of freedom can be allocated with the ''STATUS'' parameter of ''MV'' type variables. Each ''STATUS'' parameter that is set to ''1'' (''ON'') generates an additional degree of freedom. Slack variables are also included as degrees of freedom for handling of equation inequalities. These slack variables effectively inactivate an equation when it is not bounded by the inequality.

to:

This mode is equivalent to the steady-state simulation, except that additional degrees of freedom are allowed. Degrees of freedom can be allocated with the ''STATUS'' parameter of ''MV'' type variables. Each ''STATUS'' parameter that is set to ''1'' (''ON'') generates an additional degree of freedom. Slack variables are also included as degrees of freedom for handling of equation inequalities. These slack variables effectively inactivate an equation when it is not bounded by the inequality.

The optimization mode is available in the free on-line trial of %blue%A%red%P%black%Monitor. The online trial is a web-based offering that allows users to submit an ''APM'' model file.

[[https://apmonitor.ath.cx/sandbox/index.html|Online Trial: https://apmonitor.ath.cx/sandbox]]

The optimization mode is available in the free on-line trial of %blue%A%red%P%black%Monitor. The online trial is a web-based offering that allows users to submit an ''APM'' model file.

[[https://apmonitor.ath.cx/sandbox/index.html|Online Trial: https://apmonitor.ath.cx/sandbox]]

Deleted lines 2-3:

Changed lines 5-7 from:

''NLC.imode = 3''

to:

''NLC.imode = 3''

This mode is equivalent to the steady-state simulation, except that additional degrees of freedom are allowed. Degrees of freedom can be allocated with the ''STATUS'' parameter of ''MV'' type variables. Each ''STATUS'' parameter that is set to ''1'' (''ON'') generates an additional degree of freedom. Slack variables are also included as degrees of freedom for handling of equation inequalities. These slack variables effectively inactivate an equation when it is not bounded by the inequality.

This mode is equivalent to the steady-state simulation, except that additional degrees of freedom are allowed. Degrees of freedom can be allocated with the ''STATUS'' parameter of ''MV'' type variables. Each ''STATUS'' parameter that is set to ''1'' (''ON'') generates an additional degree of freedom. Slack variables are also included as degrees of freedom for handling of equation inequalities. These slack variables effectively inactivate an equation when it is not bounded by the inequality.

Added lines 1-7:

!! Optimization

The DBS file parameter ''imode'' is used to control the simulation mode. This option is set to ''3'' for steady-state optimization.

''NLC.imode = 3''

The DBS file parameter ''imode'' is used to control the simulation mode. This option is set to ''3'' for steady-state optimization.

''NLC.imode = 3''