Main

## Main.MATLAB History

Deleted lines 38-41:
(:html:)
<iframe width="560" height="315" src="http://www.youtube.com/embed/-IDTagajoyA?rel=0" frameborder="0" allowfullscreen></iframe>
(:htmlend:)

!!!! Tutorial on Dynamic Simulation

(:html:)
<iframe width="560" height="315" src="http://www.youtube.com/embed/-IDTagajoyA?rel=0" frameborder="0" allowfullscreen></iframe>
(:htmlend:)
Changed line 20 from:
<iframe width="560" height="315" src="http://www.youtube.com/embed/-IDTagajoyA?rel=0" frameborder="0" allowfullscreen></iframe>
to:
<iframe width="560" height="315" src="https://www.youtube.com/embed/SVOb0yDPJjw" frameborder="0" allowfullscreen></iframe>

(:html:)
<iframe width="560" height="315" src="http://www.youtube.com/embed/-IDTagajoyA?rel=0" frameborder="0" allowfullscreen></iframe>
(:htmlend:)
Changed line 29 from:
%width=350px%Attach:hs71.gif
to:
%width=300px%Attach:hs71.gif
Changed lines 27-29 from:
!!! Example HS71: Nonlinear Programming with MATLAB

Attach:hs71.gif
to:
!!!! Nonlinear Programming with MATLAB

%width=350px%Attach:hs71.gif
Changed lines 32-35 from:
----

!!! Example CSTR: Continuous Stirred Tank Reactor
to:
!!!! CSTR: Continuous Stirred Tank Reactor
Changed lines 37-40 from:
----

!!! Example NLC: Nonlinear Control with MATLAB
to:
!!!! NLC: Nonlinear Control with MATLAB
Deleted lines 42-49:

----

!!! MATLAB Class for APMonitor

Attach:download.jpg [[https://gist.github.com/jckantor/b1678f34c8fd0347e77b | Jeff Kantor's GitHub MATLAB Class for APMonitor]]

January 25, 2017, at 07:32 AM by 173.117.254.58 -
Changed line 17 from:
Attach:download.jpg [[Attach:apm_matlab_v0.7.1.zip | APM MATLAB (version 0.7.1)]] - Released 29 Apr 2015
to:
Attach:download.jpg [[Attach:apm_matlab_v0.7.2.zip | APM MATLAB (version 0.7.2)]] - Released 25 Jan 2017
July 04, 2015, at 06:48 PM by 45.56.3.184 -
July 04, 2015, at 06:48 PM by 45.56.3.184 -

git clone git://github.com/APMonitor/apm_matlab
July 04, 2015, at 06:17 PM by 45.56.3.184 -
Changed line 7 from:
Attach:download.jpg [[https://gist.github.com/jckantor/b1678f34c8fd0347e77b | APM MATLAB with Demo Applications]]
to:
Attach:download.jpg [[https://github.com/APMonitor?tab=repositories | APM MATLAB with Demo Applications on GitHub]]
July 04, 2015, at 06:16 PM by 45.56.3.184 -
Changed line 5 from:
Attach:apm_matlab.png  MATLAB offers a convenient way to access the latest release of APMonitor.  The optimization problem is sent to the APMonitor server and results are returned to MATLAB local variables and a web interface.  Example applications of nonlinear models with differential and algebraic equations are available for download below or from the following GitHub repositories.
to:
Attach:apm_matlab.png  MATLAB offers a convenient way to access the latest release of APMonitor.  The optimization problem is sent to the APMonitor server and results are returned to MATLAB local variables and a web interface.  Example applications of nonlinear models with differential and algebraic equations are available for download below or from the following GitHub repository.
July 04, 2015, at 06:16 PM by 45.56.3.184 -
Changed line 1 from:
(:title Dynamic Optimization Toolbox in MATLAB:)
to:
(:title MATLAB Dynamic Optimization Toolbox:)
July 04, 2015, at 06:15 PM by 45.56.3.184 -
Changed line 1 from:
(:title MATLAB Interface to APMonitor:)
to:
(:title Dynamic Optimization Toolbox in MATLAB:)
July 04, 2015, at 06:14 PM by 45.56.3.184 -
Deleted lines 3-4:

!! Nonlinear Programming in MATLAB
July 04, 2015, at 06:05 PM by 45.56.3.184 -
Changed lines 7-8 from:
Attach:apm_matlab.png  MATLAB offers a convenient way to access the latest release of APMonitor.  The optimization problem is sent to the APMonitor server and results are returned to MATLAB local variables and a web interface.  Example applications of nonlinear models with differential and algebraic equations are available for download below.
to:
Attach:apm_matlab.png  MATLAB offers a convenient way to access the latest release of APMonitor.  The optimization problem is sent to the APMonitor server and results are returned to MATLAB local variables and a web interface.  Example applications of nonlinear models with differential and algebraic equations are available for download below or from the following GitHub repositories.

Attach:download.jpg [[https://gist.github.com/jckantor/b1678f34c8fd0347e77b | APM MATLAB with Demo Applications]]

Changed lines 27-28 from:
!!! Example HS71: Nonlinear Programming with Matlab
to:
!!! Example HS71: Nonlinear Programming with MATLAB

----

!!! MATLAB Class for APMonitor

Attach:download.jpg [[https://gist.github.com/jckantor/b1678f34c8fd0347e77b | Jeff Kantor's GitHub MATLAB Class for APMonitor]]
April 29, 2015, at 01:44 PM by 45.56.3.184 -
Changed line 15 from:
Attach:download.jpg [[Attach:apm_matlab_v0.7.0.zip | APM MATLAB (version 0.7.0)]] - Released 30 Jan 2015
to:
Attach:download.jpg [[Attach:apm_matlab_v0.7.1.zip | APM MATLAB (version 0.7.1)]] - Released 29 Apr 2015
Changed line 15 from:
Attach:download.jpg [[Attach:apm_matlab_v0.6.1.zip | APM MATLAB (version 0.6.1)]] - Released 5 May 2014
to:
Attach:download.jpg [[Attach:apm_matlab_v0.7.0.zip | APM MATLAB (version 0.7.0)]] - Released 30 Jan 2015
May 06, 2014, at 04:35 AM by 23.255.240.62 -
Changed line 15 from:
Attach:download.jpg [[Attach:apm_matlab_v0.6.0.zip | APM MATLAB (version 0.6.0)]] - Released 20 January 2014
to:
Attach:download.jpg [[Attach:apm_matlab_v0.6.1.zip | APM MATLAB (version 0.6.1)]] - Released 5 May 2014
January 20, 2014, at 03:32 PM by 23.255.228.67 -
Changed line 15 from:
Attach:download.jpg [[Attach:apm_matlab_v0.5.8e.zip | APM MATLAB (version 0.5.8e)]] - Released 30 Jan 2013
to:
Attach:download.jpg [[Attach:apm_matlab_v0.6.0.zip | APM MATLAB (version 0.6.0)]] - Released 20 January 2014
January 30, 2013, at 08:46 PM by 128.187.97.21 -
Changed line 15 from:
Attach:download.jpg [[Attach:apm_matlab_v0.5.8d.zip | APM MATLAB (version 0.5.8d)]] - Released 28 Jan 2013
to:
Attach:download.jpg [[Attach:apm_matlab_v0.5.8e.zip | APM MATLAB (version 0.5.8e)]] - Released 30 Jan 2013
January 28, 2013, at 01:45 PM by 69.169.188.188 -
Changed line 15 from:
Attach:download.jpg [[Attach:apm_matlab_v0.5.8c.zip | APM MATLAB (version 0.5.8c)]] - Released 16 Jan 2013
to:
Attach:download.jpg [[Attach:apm_matlab_v0.5.8d.zip | APM MATLAB (version 0.5.8d)]] - Released 28 Jan 2013
January 17, 2013, at 07:18 AM by 69.169.188.188 -
Changed lines 21-23 from:
[[Main/MatlabFunctions | APM MATLAB Source Code Documentation]]

Note: Some older versions of MATLAB cannot run the ''apm_var.m'' or ''apm_web.m'' script.  This script automatically launches the web-viewer for display of the solution results.  If this is the case, comments in the script give instructions on a work-around.  Example applications of the APM Matlab library include nonlinear programming, nonlinear control, and other applications below.
to:
* [[Main/MatlabFunctions | APM MATLAB Source Code Documentation]]
January 17, 2013, at 07:18 AM by 69.169.188.188 -
Changed line 21 from:
[[Main/MatlabFunctions | APM MATLAB Documentation]]
to:
[[Main/MatlabFunctions | APM MATLAB Source Code Documentation]]
January 17, 2013, at 07:17 AM by 69.169.188.188 -
Changed lines 16-17 from:
[[Main/MatlabFunctions | APM MATLAB Documentation]]
to:

[[Main/MatlabFunctions | APM MATLAB Documentation]]
January 17, 2013, at 07:16 AM by 69.169.188.188 -
[[Main/MatlabFunctions | APM MATLAB Documentation]]
January 17, 2013, at 05:57 AM by 69.169.188.188 -
Changed line 15 from:
Attach:download.jpg [[Attach:apm_matlab_v0.5.8c.zip | APM MATLAB (version 0.5.8b)]] - Released 16 Jan 2013
to:
Attach:download.jpg [[Attach:apm_matlab_v0.5.8c.zip | APM MATLAB (version 0.5.8c)]] - Released 16 Jan 2013
January 17, 2013, at 05:56 AM by 69.169.188.188 -
Changed line 15 from:
Attach:download.jpg [[Attach:apm_matlab_v0.5.8b.zip | APM MATLAB (version 0.5.8b)]] - Released 26 Nov 2012
to:
Attach:download.jpg [[Attach:apm_matlab_v0.5.8c.zip | APM MATLAB (version 0.5.8b)]] - Released 16 Jan 2013
January 12, 2013, at 02:01 PM by 69.169.188.188 -
Deleted lines 15-16:

The zipped archives contain a script files such as ''apm.m''.  To use the APM MATLAB functions, copy the script files into the active directory or add the path with the ''addpath'' command.
November 26, 2012, at 07:01 PM by 69.169.188.188 -
Changed line 15 from:
Attach:download.jpg [[Attach:apm_matlab_v0.5.8.zip | APM MATLAB (version 0.5.8)]] - Released 23 Nov 2012
to:
Attach:download.jpg [[Attach:apm_matlab_v0.5.8b.zip | APM MATLAB (version 0.5.8b)]] - Released 26 Nov 2012
November 24, 2012, at 05:56 AM by 69.169.188.188 -
Changed line 15 from:
Attach:download.jpg [[Attach:apm_matlab_v0.5.7c.zip | APM MATLAB (version 0.5.7c)]] - Released 11 Nov 2012
to:
Attach:download.jpg [[Attach:apm_matlab_v0.5.8.zip | APM MATLAB (version 0.5.8)]] - Released 23 Nov 2012
November 13, 2012, at 03:15 AM by 69.169.188.228 -
(:html:)
<iframe width="560" height="315" src="http://www.youtube.com/embed/-IDTagajoyA?rel=0" frameborder="0" allowfullscreen></iframe>
(:htmlend:)

Deleted line 46:
November 12, 2012, at 01:48 PM by 69.169.188.188 -
Changed line 15 from:
Attach:download.jpg [[Attach:apm_matlab_v0.5.7b.zip | APM MATLAB (version 0.5.7)]] - Released 16 May 2012
to:
Attach:download.jpg [[Attach:apm_matlab_v0.5.7c.zip | APM MATLAB (version 0.5.7c)]] - Released 11 Nov 2012
May 17, 2012, at 05:12 AM by 69.169.131.76 -
Changed line 15 from:
Attach:download.jpg [[Attach:apm_matlab_v0.5.7a.zip | APM MATLAB (version 0.5.7)]] - Released 20 Apr 2012
to:
Attach:download.jpg [[Attach:apm_matlab_v0.5.7b.zip | APM MATLAB (version 0.5.7)]] - Released 16 May 2012
May 14, 2012, at 04:12 PM by 128.187.149.240 -
Changed line 15 from:
Attach:download.jpg [[Attach:apm_matlab_v0.5.7.zip | APM MATLAB (version 0.5.7)]] - Released 20 Apr 2012
to:
Attach:download.jpg [[Attach:apm_matlab_v0.5.7a.zip | APM MATLAB (version 0.5.7)]] - Released 20 Apr 2012
April 20, 2012, at 03:20 PM by 69.169.131.76 -
Changed line 15 from:
Attach:download.jpg [[Attach:apm_matlab_v0.5.6.zip | APM MATLAB (version 0.5.6)]] - Released 15 Feb 2012
to:
Attach:download.jpg [[Attach:apm_matlab_v0.5.7.zip | APM MATLAB (version 0.5.7)]] - Released 20 Apr 2012
February 16, 2012, at 03:33 AM by 69.169.188.228 -
Changed line 15 from:
Attach:download.jpg [[Attach:apm_matlab_v0.5.5a.zip | APM MATLAB (version 0.5.5)]] - Released 9 Jan 2012
to:
Attach:download.jpg [[Attach:apm_matlab_v0.5.6.zip | APM MATLAB (version 0.5.6)]] - Released 15 Feb 2012
Changed line 15 from:
Attach:download.jpg [[Attach:apm_matlab_v0.5.5.zip | APM MATLAB (version 0.5.5)]] - Released 5 Dec 2011
to:
Attach:download.jpg [[Attach:apm_matlab_v0.5.5a.zip | APM MATLAB (version 0.5.5)]] - Released 9 Jan 2012
December 23, 2011, at 06:47 PM by 69.169.188.228 -

----

!!! Example HS71: Nonlinear Programming with Matlab

Attach:hs71.gif
Hock-Schittkowsky Test Suite #71
December 23, 2011, at 06:45 PM by 69.169.188.228 -
Changed lines 17-19 from:
The zipped archives contain a script files such as '''apm.m'''.  To use the APM MATLAB functions, copy the script files into the active directory or add the path with the '''addpath''' command.

Note: Some older versions of MATLAB cannot run the ''apm_var.m'' or ''apm_web.m'' script.  This script automatically launches the web-viewer for display of the solution results.  If this is the case, comments in the script give instructions on a work-around.  Example applications of the APM Python library include nonlinear programming, nonlinear control, and other applications below.
to:
The zipped archives contain a script files such as ''apm.m''.  To use the APM MATLAB functions, copy the script files into the active directory or add the path with the ''addpath'' command.

Note: Some older versions of MATLAB cannot run the ''apm_var.m'' or ''apm_web.m'' script.  This script automatically launches the web-viewer for display of the solution results.  If this is the case, comments in the script give instructions on a work-around.  Example applications of the APM Matlab library include nonlinear programming, nonlinear control, and other applications below.
December 23, 2011, at 06:44 PM by 69.169.188.228 -
Changed line 15 from:
Attach:download.jpg [[Attach:apm_matlab_v0.5.5.zip | APM MATLAB (version 0.5.5) Released 5 Dec 2011]]
to:
Attach:download.jpg [[Attach:apm_matlab_v0.5.5.zip | APM MATLAB (version 0.5.5)]] - Released 5 Dec 2011
December 23, 2011, at 06:44 PM by 69.169.188.228 -
Deleted lines 33-34:
Deleted lines 36-63:
----

!!! Simulink Interface to APMonitor

MATLAB offers an attractive interface for sequential simulation.  Amoung other activities, sequential simulation can be used for replay of historical data or studies for controller tuning.  The file parsing and trending capabilities allow results to be visualized in a flexible computing environment.

Sequential simulation refers to the method of data access.  Instead of a single simulation, the sequential approach takes a set of new information and re-runs the calculation.  Model replay also allows application behavior to be investigated before placing it on-line.  Model changes can be investigated over the same data period with this approach.

ModelReplay is a user-built MATLAB script that acts as a user interface to handle sequential runs of the command-line version of APMonitor. The latest script file is designed only for moving horizon estimation but may be extended for dynamic simulation or nonlinear control in future versions. Primary actions performed by the script file at each time step are APMonitor.exe execution, file/folder management, Database File (dbs) updates, and presentation of results.

Attach:modelreplay.png

Several built-in MATLAB functions were used to facilitate string, file and folder handling: copyfile, dlmread, importdata, num2str, rmdir, strcat, strcmp, strmatch, strrep,  strtrim, textscan. Cellwrite.m is a user-built function that allows MATLAB to convert textscan output back into a text file and can be found on the MathWorks website.

Key configuration parameters to set in any user-built APMonitor interface:
* NLC.DIAGLEVEL : specifies type and number of files output by APMonitor into the local directory.  Diaglevel = 0 outputs the minimum essential files while DIAGLEVEL = 5 performs the greatest number of diagnostic checks.
* NLC.COLDSTART : should be set equal to 1 when starting from a cold start and set equal to zero afterwards to 0 for a warmstart. A cold start is the first run of past measurements. A warm start assumes more than one past time-step of measurements are available.
* NLC.DBSREAD and NLC.DBSWRITE : should both be set equal to 1 to interface with DBS files.
* NLC.IMODE : sets the analysis mode.
* {MV or SV}.MEAS and {MV or SV}.NEWVAL: update the .dbs file with the current measurement.

ModelReplay may be applied in an industry setting to predict the response of an estimation or fault detection algorithm with varying unknown model parameters over a variety of past operating conditions.

!!!! File/Folder Management

Essential files such as est.t0, est.meas, est.dxdt, and .dbs files are copied into the new run directory prior to APMonitor execution.  New folders are created and older folders are deleted based on setting found in ModelReplay.m.
December 23, 2011, at 06:36 PM by 69.169.188.228 -
Changed lines 30-31 from:
!! Example NLC: Nonlinear Control with MATLAB
to:
!!! Example NLC: Nonlinear Control with MATLAB
Changed line 41 from:
!! Simulink Interface to APMonitor
to:
!!! Simulink Interface to APMonitor
December 23, 2011, at 06:35 PM by 69.169.188.228 -
Changed lines 17-26 from:
The zipped archives contain a script files such as '''apm.m'''.  To use the APM MATLAB library, copy the script files into the active directory.

Previous versions of
the APM MATLAB libraries are available below in the prior versions section.  In general, it is best to use the most current version as it supports the most advanced server features.  The product roadmap for this and other libraries are detailed in the [[Main/ProductRoadmap | release notes]] section.

''Prior Versions''

* [[Attach:matlab_ifc2.zip | APM MATLAB (version 0.5.4) Released 15 Sept 2011]]

Some older versions of MATLAB cannot run the
''apm_web.m'' script.  This script automatically launches the web-viewer for display of the solution results.  If this is the case, comments in the script give instructions on a work-around.  Example applications of the APM Python library include nonlinear programming, nonlinear control, and other applications below.
to:
The zipped archives contain a script files such as '''apm.m'''.  To use the APM MATLAB functions, copy the script files into the active directory or add the path with the '''addpath''' command.

Note: Some older versions of MATLAB cannot run the ''apm_var.m'' or
''apm_web.m'' script.  This script automatically launches the web-viewer for display of the solution results.  If this is the case, comments in the script give instructions on a work-around.  Example applications of the APM Python library include nonlinear programming, nonlinear control, and other applications below.
Changed lines 23-24 from:
to:
!!! Example CSTR: Continuous Stirred Tank Reactor
Changed line 30 from:
!! Nonlinear Control with MATLAB
to:
!! Example NLC: Nonlinear Control with MATLAB
December 06, 2011, at 07:13 AM by 69.169.188.228 -
Changed lines 29-30 from:
to:
Changed line 36 from:
!! Nonlinear Control with MATLAB / GNU Octave
to:
!! Nonlinear Control with MATLAB
December 06, 2011, at 06:10 AM by 69.169.188.228 -
Changed lines 11-13 from:

APM MATLAB Interface Source Code]]
to:

The latest
APM MATLAB libraries are attached below.  Functionality has been tested with the latest release of MATLAB.

Attach:download.jpg [[Attach:apm_matlab_v0.5.5.zip | APM MATLAB (version 0.5.5) Released 5 Dec 2011
]]

The zipped archives contain a script files such as '''apm.m'''.  To use the APM MATLAB library, copy the script files into the active directory.

Previous versions of the APM MATLAB libraries are available below in the prior versions section.  In general, it is best to use the most current version as it supports the most advanced server features.  The product roadmap for this and other libraries are detailed in the [[Main/ProductRoadmap | release notes]] section.

''Prior Versions''

* [[Attach:matlab_ifc2.zip | APM MATLAB (version 0.5.4) Released 15 Sept 2011]]

Some older versions of MATLAB cannot run the ''apm_web.m'' script.  This script automatically launches the web-viewer for display of the solution results.  If this is the case, comments in the script give instructions on a work-around.  Example applications of the APM Python library include nonlinear programming, nonlinear control, and other applications below.
November 10, 2011, at 04:58 AM by 69.169.187.114 -
Changed line 2 from:
(:keywords nonlinear, MATLAB, GNU Octave, model, predictive control, APMonitor, differential, algebraic, modeling language:)
to:
(:keywords nonlinear, MATLAB, GNU Octave, model, predictive control, APMonitor, differential, algebraic, modeling language, Nonlinear MPC Toolbox:)
Changed line 5 from:
!! MATLAB Interface to APMonitor
to:
!! Nonlinear Programming in MATLAB
November 08, 2011, at 11:00 AM by 69.169.188.228 -
Changed line 7 from:
Attach:apm_matlab.png  MATLAB offers a convenient way to access the latest release of APMonitor directly from a powerful scripting language.  The optimization problem is sent to the APMonitor server and results are returned to a web interface.  Example applications of nonlinear models with differential and algebraic equations are available for download below.
to:
Attach:apm_matlab.png  MATLAB offers a convenient way to access the latest release of APMonitor.  The optimization problem is sent to the APMonitor server and results are returned to MATLAB local variables and a web interface.  Example applications of nonlinear models with differential and algebraic equations are available for download below.
November 08, 2011, at 10:59 AM by 69.169.188.228 -
Changed lines 7-9 from:
Attach:apm_matlab.png

The web-interface
offers a convenient way to access the latest release of APMonitor directly from a MATLAB script. The optimization problem is sent to the APMonitor server and results are returned to your web interface.  Example applications of nonlinear models with differential and algebraic equations are available for download below.
to:
Attach:apm_matlab.png  MATLAB offers a convenient way to access the latest release of APMonitor directly from a powerful scripting language.  The optimization problem is sent to the APMonitor server and results are returned to a web interface.  Example applications of nonlinear models with differential and algebraic equations are available for download below.
November 08, 2011, at 10:57 AM by 69.169.188.228 -

Attach:apm_matlab.png
Changed line 13 from:
to:

July 10, 2011, at 07:41 PM by 89.144.73.196 -
Changed line 1 from:
(:title MATLAB & GNU Octave Interface to APMonitor:)
to:
(:title MATLAB Interface to APMonitor:)
Changed lines 5-7 from:
!! MATLAB / GNU Octave Interface to APMonitor

The web-interface offers a convenient way to access the latest release of APMonitor directly from a MATLAB or Octave
script.  The optimization problem is sent to the APMonitor server and results are returned to your web interface.  Example applications of nonlinear models with differential and algebraic equations are available for download below.
to:
!! MATLAB Interface to APMonitor

The web-interface offers a convenient way to access the latest release of APMonitor directly from a MATLAB
script.  The optimization problem is sent to the APMonitor server and results are returned to your web interface.  Example applications of nonlinear models with differential and algebraic equations are available for download below.
July 04, 2011, at 09:21 PM by 89.144.73.227 -
Changed line 7 from:
The web-interface offers a convenient way to access the latest release of APMonitor directly from a MATLAB or Octave script.  The optimization problem is sent to the APMonitor server and results are returned to the console.  Example applications of nonlinear models with differential and algebraic equations are available for download below.
to:
The web-interface offers a convenient way to access the latest release of APMonitor directly from a MATLAB or Octave script.  The optimization problem is sent to the APMonitor server and results are returned to your web interface.  Example applications of nonlinear models with differential and algebraic equations are available for download below.
July 04, 2011, at 09:11 PM by 89.144.73.227 -
Changed lines 7-13 from:
The web-interface offers a convenient way to access the latest release of APMonitor directly from a MATLAB or Octave script.  The optimization problem is sent to the APMonitor server and results are returned to the console.  An example application of a nonlinear model with differential and algebraic equations is available for download below.
to:
The web-interface offers a convenient way to access the latest release of APMonitor directly from a MATLAB or Octave script.  The optimization problem is sent to the APMonitor server and results are returned to the console.  Example applications of nonlinear models with differential and algebraic equations are available for download below.

----

----
February 15, 2011, at 05:53 PM by 158.35.225.229 -
Changed line 18 from:
In another example, the dynamic simulation and control technologies are demonstrated with a simple lag model.
to:
In another example, the dynamic simulation and control technologies are demonstrated with a simple lag model.  The model is composed of one differential equation and one algebraic equation.  This model is used as a tutorial to demonstrate the control technology features.
February 15, 2011, at 05:50 PM by 158.35.225.229 -
Changed lines 9-10 from:
to:

----

!! Nonlinear Control with MATLAB / GNU Octave

In another example, the dynamic simulation and control technologies are demonstrated with a simple lag model.

Attach:matlab_ctrl.png
This model demonstrates a simulated step change and two controlled step changes.  Two different controlled variable error models are compared.  At the end of the simulation, a browser window opens to allow the user to view the solution through the web-interface.
February 11, 2011, at 08:23 PM by 158.35.225.229 -
Changed line 12 from:
The APM solution is compared to the ODE15s built-in integrator in MATLAB.  Unlike ODE15s, APMonitor allows higher-index DAEs and open-equation format.  APMonitor is also a simultaneous equation solver that transforms the differential equations into a Nonlinear Programming form.  This allows efficient optimization, even for large-scale models.
to:
The APM solution is compared to the ODE15s built-in integrator in MATLAB.  Unlike ODE15s, APMonitor allows higher-index DAEs and open-equation format.  APMonitor is also a simultaneous equation solver that transforms the differential equations into a Nonlinear Programming (NLP) form.  This allows efficient optimization, even for large-scale models.
February 11, 2011, at 08:23 PM by 158.35.225.229 -
Changed line 1 from:
(:title MATLAB Interface to APMonitor:)
to:
(:title MATLAB & GNU Octave Interface to APMonitor:)
Changed lines 5-8 from:
!! MATLAB Interface to APMonitor (Web-Interface)

The web-interface offers a convenient way to access the latest release of APMonitor directly from a MATLAB script.  The optimization problem is sent to the APMonitor server and results are returned to MATLAB
console.  An example application of a nonlinear model with differential and algebraic equations is available for download below.
to:
!! MATLAB / GNU Octave Interface to APMonitor

The web-interface offers a convenient way to access the latest release of APMonitor directly from a MATLAB or Octave script.  The optimization problem is sent to the APMonitor server and results are returned to the
console.  An example application of a nonlinear model with differential and algebraic equations is available for download below.
Changed line 16 from:
!! MATLAB Interface to APMonitor (Local Machine)
to:
!! Simulink Interface to APMonitor
February 11, 2011, at 08:20 PM by 158.35.225.229 -
Changed line 9 from:
to:
February 11, 2011, at 08:16 PM by 158.35.225.229 -
Changed line 7 from:
The web-interface offers a convenient way to access the latest release of APMonitor directly from MATLAB.  The optimization problem is sent to the APMonitor server and results are returned to MATLAB console.  An example application of a nonlinear model with differential and algebraic equations is available for download below.
to:
The web-interface offers a convenient way to access the latest release of APMonitor directly from a MATLAB script.  The optimization problem is sent to the APMonitor server and results are returned to MATLAB console.  An example application of a nonlinear model with differential and algebraic equations is available for download below.
February 11, 2011, at 08:15 PM by 158.35.225.229 -
Changed line 7 from:
For Linux, Windows, MAC, or other platform users the Web-Interface offers a convenient way to access the latest release of APMonitor.  The optimization problem is sent to the APMonitor server and results are returned to MATLAB console.  An example application of a nonlinear model with differential and algebraic equations is available for download below.
to:
The web-interface offers a convenient way to access the latest release of APMonitor directly from MATLAB.  The optimization problem is sent to the APMonitor server and results are returned to MATLAB console.  An example application of a nonlinear model with differential and algebraic equations is available for download below.
February 11, 2011, at 08:14 PM by 158.35.225.229 -
Changed line 7 from:
For Linux, Windows, MAC, or other platform users the Web-Interface offers a convenient way to access the latest release of APMonitor.  The optimization problem is sent to the APMonitor server and results are returned to MATLAB console.  An example application of a nonlinear model with differential and algebraic equations has been created and is available for download below.
to:
For Linux, Windows, MAC, or other platform users the Web-Interface offers a convenient way to access the latest release of APMonitor.  The optimization problem is sent to the APMonitor server and results are returned to MATLAB console.  An example application of a nonlinear model with differential and algebraic equations is available for download below.
February 11, 2011, at 08:13 PM by 158.35.225.229 -
Changed lines 9-11 from:
[[Attach:apm_matlab.zip | MATLAB Web-Interface to APMonitor]]
to:
Changed line 12 from:
The APM solution is compared to the ODE15s built-in integrator in MATLAB.  Unlike ODE15s, APMonitor allows higher-index DAEs and open-equation format.  APMonitor is also a simultaneous equation solver to allow more efficient optimization.
to:
The APM solution is compared to the ODE15s built-in integrator in MATLAB.  Unlike ODE15s, APMonitor allows higher-index DAEs and open-equation format.  APMonitor is also a simultaneous equation solver that transforms the differential equations into a Nonlinear Programming form.  This allows efficient optimization, even for large-scale models.
February 11, 2011, at 08:10 PM by 158.35.225.229 -
Changed lines 23-25 from:

to:
February 11, 2011, at 08:04 PM by 158.35.225.229 -

----
February 11, 2011, at 08:01 PM by 158.35.225.229 -
Changed line 13 from:
The APM solution is compared to the ODE15s built-in integrator in MATLAB.
to:
The APM solution is compared to the ODE15s built-in integrator in MATLAB.  Unlike ODE15s, APMonitor allows higher-index DAEs and open-equation format.  APMonitor is also a simultaneous equation solver to allow more efficient optimization.
February 11, 2011, at 08:00 PM by 158.35.225.229 -
Attach:matlab_results.png
Deleted lines 13-14:

Attach:matlab_results.png
February 11, 2011, at 07:55 PM by 158.35.225.229 -
Changed lines 1-2 from:
!! Sequential Simulation with MATLAB
to:
(:title MATLAB Interface to APMonitor:)
(:keywords nonlinear,
MATLAB, GNU Octave, model, predictive control, APMonitor, differential, algebraic, modeling language:)
(:description Download the MATLAB version of APMonitor, for use through the Web-Interface or on a Local Computer:)

!! MATLAB Interface to APMonitor (Web-Interface)

For Linux, Windows, MAC, or other platform users the Web-Interface offers a convenient way to access the latest release of APMonitor.  The optimization problem is sent to the APMonitor server and results are returned to MATLAB console.  An example application of a nonlinear model with differential and algebraic equations has been created and is available for download below.

[[Attach:apm_matlab.zip | MATLAB Web-Interface to APMonitor]]

The APM solution is compared to the ODE15s built-in integrator in MATLAB.

Attach:matlab_results.png

!! MATLAB Interface to APMonitor (Local Machine)

Deleted lines 21-23:
!!! ModelReplay.m

April 09, 2009, at 02:13 PM by 158.35.225.228 -
Changed line 10 from:
->[[http://www.mathworks.com/matlabcentral/fileexchange/22895 | Download %blue%A%red%P%black%Monitor Model Replay GUI]]
to:
April 09, 2009, at 02:09 PM by 158.35.225.228 -
Changed lines 9-10 from:
to:

->[[http://www.mathworks.com/matlabcentral/fileexchange/22895 | Download %blue%A%red%P%black%Monitor Model Replay GUI]]
April 09, 2009, at 02:08 PM by 158.35.225.228 -

October 07, 2008, at 02:42 PM by 158.35.225.229 -
Changed line 16 from:
* NLC.DIAGLEVEL : specifies type and number of files output by APMonitor into the local directory. For instance in MHE mode with DIAGLEVEL equal to 1, the est.t0, est.meas, est.dxdt, and .dbs files need to be copied into the new run directory prior to APMonitor execution.
to:
* NLC.DIAGLEVEL : specifies type and number of files output by APMonitor into the local directory.  Diaglevel = 0 outputs the minimum essential files while DIAGLEVEL = 5 performs the greatest number of diagnostic checks.
!!!! File/Folder Management

Essential files such as est.t0, est.meas, est.dxdt, and .dbs files are copied into the new run directory prior to APMonitor execution.  New folders are created and older folders are deleted based on setting found in ModelReplay.m.
Changed line 22 from:
ModelReplay may be applied in an industry setting to predict the response of an estimation or fault detection algorithm with varying unknown model parameters.
to:
ModelReplay may be applied in an industry setting to predict the response of an estimation or fault detection algorithm with varying unknown model parameters over a variety of past operating conditions.
Changed line 17 from:
* NLC.COLDSTART : should be set equal to 1 when starting from a cold start and set equal to zero afterwards to 0 for a warmstart. A cold start is the very first run of past measurements.
to:
* NLC.COLDSTART : should be set equal to 1 when starting from a cold start and set equal to zero afterwards to 0 for a warmstart. A cold start is the first run of past measurements. A warm start assumes more than one past time-step of measurements are available.

ModelReplay may be applied in an industry setting to predict the response of an estimation or fault detection algorithm with varying unknown model parameters.
* NLC.COLDSTART : should be set equal to 1 when starting from a cold start and set equal to zero afterwards to 0 for a warmstart. A cold start is the very first run of past measurements.
* {MV or SV}.MEAS and {MV or SV}.NEWVAL: update the .dbs file with the current measurement.
Changed lines 7-9 from:
!!! ModelReplay

ModelReplay is a user-built MATLAB script that acts as a user interface to handle sequential runs of the command-line version of APMonitor. The current script file is designed for moving horizon estimation but may be extended for dynamic simulation or nonlinear control in future versions. Primary actions performed by the script file at each time step are APMonitor.exe execution, file/folder management, Database File (dbs) updates, and presentation of results.
to:
!!! ModelReplay.m

ModelReplay is a user-built MATLAB script that acts as a user interface to handle sequential runs of the command-line version of APMonitor. The latest script file is designed only for moving horizon estimation but may be extended for dynamic simulation or nonlinear control in future versions. Primary actions performed by the script file at each time step are APMonitor.exe execution, file/folder management, Database File (dbs) updates, and presentation of results.
Changed line 9 from:
ModelReplay is a user-built MATLAB script that acts as an interface for APMonitor to handle sequential model runs.  The current version is designed for moving horizon estimation but will be extended for dynamic simulation or nonlinear control in future versions. Primary actions performed by the script file at each time step are APMonitor.exe execution, file/folder management, Database File (dbs) updates, and presentation of results.
to:
ModelReplay is a user-built MATLAB script that acts as a user interface to handle sequential runs of the command-line version of APMonitor. The current script file is designed for moving horizon estimation but may be extended for dynamic simulation or nonlinear control in future versions. Primary actions performed by the script file at each time step are APMonitor.exe execution, file/folder management, Database File (dbs) updates, and presentation of results.
Changed lines 13-14 from:
Several built-in MATLAB functions were used to facilitate string, file and folder handling: copyfile, dlmread, importdata, num2str, rmdir, strcat, strcmp, strmatch, strrep,  strtrim, textscan.
to:
Several built-in MATLAB functions were used to facilitate string, file and folder handling: copyfile, dlmread, importdata, num2str, rmdir, strcat, strcmp, strmatch, strrep,  strtrim, textscan. Cellwrite.m is a user-built function that allows MATLAB to convert textscan output back into a text file and can be found on the MathWorks website.
Changed line 16 from:
* NLC.DIAGLEVEL : specifies type and number of files output by APMonitor into the local directory. For instance in MHE mode with DIAGLEVEL = 1, the est.t0, est.meas, and est.dxdt files need to be copied into the new run directory prior to APMonitor execution.
to:
* NLC.DIAGLEVEL : specifies type and number of files output by APMonitor into the local directory. For instance in MHE mode with DIAGLEVEL equal to 1, the est.t0, est.meas, est.dxdt, and .dbs files need to be copied into the new run directory prior to APMonitor execution.
Changed lines 9-10 from:
ModelReplay is a user-built MATLAB script that acts as an interface for APMonitor to handle sequential model runs.  The current version is designed for moving horizon estimation but could be extended for dynamic simulation or nonlinear control. Primary actions performed by the script file at each time step are APMonitor.exe execution, file/folder management, Database File updates, and output of results.
to:
ModelReplay is a user-built MATLAB script that acts as an interface for APMonitor to handle sequential model runs.  The current version is designed for moving horizon estimation but will be extended for dynamic simulation or nonlinear control in future versions. Primary actions performed by the script file at each time step are APMonitor.exe execution, file/folder management, Database File (dbs) updates, and presentation of results.

Several built-in MATLAB functions were used to facilitate string, file and folder handling: copyfile, dlmread, importdata, num2str, rmdir, strcat, strcmp, strmatch, strrep,  strtrim, textscan.

Key configuration parameters to set in any user-built APMonitor interface:
* NLC.DIAGLEVEL : specifies type and number of files output by APMonitor into the local directory. For instance in MHE mode with DIAGLEVEL = 1, the est.t0, est.meas, and est.dxdt files need to be copied into the new run directory prior to APMonitor execution.
* NLC.DBSREAD and NLC.DBSWRITE : should both be set equal to 1 to interface with DBS files.
* NLC.IMODE : sets the analysis mode.

Attach:modelreplay.png
Changed lines 9-11 from:
ModelReplay is a user-built MATLAB script that acts as an interface for APMonitor to handle sequential model runs.  The current version is designed for moving horizon estimation but could be extended for dynamic simulation or nonlinear control. Primary actions performed by the script file at each time step are APMonitor.exe execution, file/folder management, Database File updates, and output of results.  The user can specify how many run folders to store in memory.
to:
ModelReplay is a user-built MATLAB script that acts as an interface for APMonitor to handle sequential model runs.  The current version is designed for moving horizon estimation but could be extended for dynamic simulation or nonlinear control. Primary actions performed by the script file at each time step are APMonitor.exe execution, file/folder management, Database File updates, and output of results.

Changed lines 7-9 from:
!!! ModelReplay.m

ModelReplay.m is a user-built MATLAB script that acts as an interface for APMonitor to handle sequential model runs.  The current version is designed for moving horizon estimation but can be extended for other APMonitor .  The script file manages
to:
!!! ModelReplay

ModelReplay is a user-built MATLAB script that acts as an interface for APMonitor to handle sequential model runs.  The current version is designed for moving horizon estimation but could be extended for dynamic simulation or nonlinear control. Primary actions performed by the script file at each time step are APMonitor.exe execution, file/folder management, Database File updates, and output of results.  The user can specify how many run folders to store in memory.
Changed lines 7-9 from:
!!!
to:
!!! ModelReplay.m

ModelReplay.m is a user-built MATLAB script that acts as an interface for APMonitor to handle sequential model runs.  The current version is designed for moving horizon estimation but can be extended for other APMonitor .  The script file manages
October 02, 2008, at 04:34 PM by 158.35.225.228 -
Changed line 5 from:
Sequential simulation refers to the method of data access.  Instead of a single simulation, the sequential approach takes a set of new information and re-runs the calculation.  This is commonly known as a Baysian approach for estimation.  Model replay also allows application behavior to be investigated before placing it on-line.  Model changes can be investigated over the same data period with this approach.
to:
Sequential simulation refers to the method of data access.  Instead of a single simulation, the sequential approach takes a set of new information and re-runs the calculation.  Model replay also allows application behavior to be investigated before placing it on-line.  Model changes can be investigated over the same data period with this approach.
October 02, 2008, at 04:32 PM by 158.35.225.228 -