Main

MATLAB Interface to APMonitor

Main.MATLAB History

Hide minor edits - Show changes to output

April 29, 2015, at 07:44 AM 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 05, 2014, at 10:35 PM 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 08:32 AM 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 01: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 06:45 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.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 12: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 12: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 12:17 AM by 69.169.188.188 -
Changed lines 16-17 from:
[[Main/MatlabFunctions | APM MATLAB Documentation]]
to:
Added lines 20-21:

[[Main/MatlabFunctions | APM MATLAB Documentation]]
January 17, 2013, at 12:16 AM by 69.169.188.188 -
Added line 16:
[[Main/MatlabFunctions | APM MATLAB Documentation]]
January 16, 2013, at 10:57 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.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 16, 2013, at 10:56 PM 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 07:01 AM 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 12: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 23, 2012, at 10:56 PM 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 12, 2012, at 08:15 PM by 69.169.188.228 -
Added lines 19-22:
(: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 06:48 AM 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 16, 2012, at 11:12 PM 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 10:12 AM 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 09:20 AM 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 15, 2012, at 08:33 PM 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 11:47 AM by 69.169.188.228 -
Added lines 20-26:

----

!!! Example HS71: Nonlinear Programming with Matlab

Attach:hs71.gif
Hock-Schittkowsky Test Suite #71
December 23, 2011, at 11:45 AM 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 11:44 AM 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 11:44 AM by 69.169.188.228 -
Deleted lines 33-34:
Attach:download.jpg [[Attach:matlab_ctrl.zip | Download Nonlinear Control Example]] 
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.

Attach:download.jpg [[http://www.mathworks.com/matlabcentral/fileexchange/22895 | Download %blue%A%red%P%black%Monitor Historical Data Replay]] Attach:download.jpg [[http://www.mathworks.com/matlabcentral/fileexchange/29862-simulink-interface-for-apmonitor | Download %blue%A%red%P%black%Monitor Simulink Interface]]

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 11:36 AM 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 11:35 AM 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:
Attach:download.jpg [[Attach:apm_matlab.zip | Download MATLAB CSTR Example]] 
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 12:13 AM by 69.169.188.228 -
Changed lines 29-30 from:
Attach:download.jpg [[Attach:apm_matlab.zip | Download MATLAB CSTR Example]]  Attach:download.jpg [[Attach:apm_octave.zip | Download GNU Octave Example]]
to:
Attach:download.jpg [[Attach:apm_matlab.zip | Download MATLAB CSTR Example]] 
Changed line 36 from:
!! Nonlinear Control with MATLAB / GNU Octave
to:
!! Nonlinear Control with MATLAB
December 05, 2011, at 11:10 PM by 69.169.188.228 -
Changed lines 11-13 from:
!!!! Latest Version

Attach:download.jpg [[Attach:matlab_ifc2.zip | Download
APM MATLAB Interface Source Code]]
to:
!!! Download APM MATLAB Libraries

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 09, 2011, at 09:58 PM 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 04: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 03: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 03:57 AM by 69.169.188.228 -
Added lines 6-7:

Attach:apm_matlab.png
Changed line 13 from:
Attach:download.jpg [[Attach:matlab_ifc.zip | Download APM MATLAB Interface Source Code]]
to:
Attach:download.jpg [[Attach:matlab_ifc2.zip | Download APM MATLAB Interface Source Code]]
Added lines 10-11:

!!!! Latest Version
July 10, 2011, at 01: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 03: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 03: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.

----

Attach:download.jpg [[Attach:matlab_ifc.zip | Download APM MATLAB Interface Source Code]]

----
February 15, 2011, at 10:53 AM 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 10:50 AM by 158.35.225.229 -
Changed lines 9-10 from:
Attach:download.jpg [[Attach:apm_matlab.zip | Download MATLAB Web-Interface]]  Attach:download.jpg [[Attach:apm_octave.zip | Download GNU Octave Web-Interface]]
to:
Attach:download.jpg [[Attach:apm_matlab.zip | Download MATLAB CSTR Example]]  Attach:download.jpg [[Attach:apm_octave.zip | Download GNU Octave Example]]
Added lines 13-23:

----

!! Nonlinear Control with MATLAB / GNU Octave

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

Attach:download.jpg [[Attach:matlab_ctrl.zip | Download Nonlinear Control Example]] 

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 01: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 01: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 01:20 PM by 158.35.225.229 -
Changed line 9 from:
Attach:download.jpg [[Attach:apm_matlab.zip | Download MATLAB Web-Interface to APMonitor]]
to:
Attach:download.jpg [[Attach:apm_matlab.zip | Download MATLAB Web-Interface]]  Attach:download.jpg [[Attach:apm_octave.zip | Download GNU Octave Web-Interface]]
February 11, 2011, at 01: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 01: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 01: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 01:13 PM by 158.35.225.229 -
Changed lines 9-11 from:
Attach:download.jpg
[[Attach:apm_matlab.zip | MATLAB Web-Interface to APMonitor]]
to:
Attach:download.jpg [[Attach:apm_matlab.zip | Download MATLAB Web-Interface to APMonitor]]
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 01:10 PM by 158.35.225.229 -
Changed lines 23-25 from:
Attach:download.jpg [[http://www.mathworks.com/matlabcentral/fileexchange/22895 | Download %blue%A%red%P%black%Monitor Model Replay GUI]]

Attach:download.jpg [[http://www.mathworks.com/matlabcentral/fileexchange/29862-simulink-interface-for-apmonitor | Download %blue%A%red%P%black%Monitor Simulink Interface]]
to:
Attach:download.jpg [[http://www.mathworks.com/matlabcentral/fileexchange/22895 | Download %blue%A%red%P%black%Monitor Historical Data Replay]] Attach:download.jpg [[http://www.mathworks.com/matlabcentral/fileexchange/29862-simulink-interface-for-apmonitor | Download %blue%A%red%P%black%Monitor Simulink Interface]]
February 11, 2011, at 01:04 PM by 158.35.225.229 -
Added lines 14-15:

----
February 11, 2011, at 01: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 01:00 PM by 158.35.225.229 -
Added line 12:
Attach:matlab_results.png
Deleted lines 13-14:

Attach:matlab_results.png
February 11, 2011, at 12: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:download.jpg
[[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

Added lines 23-24:

Attach:download.jpg [[http://www.mathworks.com/matlabcentral/fileexchange/29862-simulink-interface-for-apmonitor | Download %blue%A%red%P%black%Monitor Simulink Interface]]
April 09, 2009, at 08:13 AM 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:
Attach:download.jpg [[http://www.mathworks.com/matlabcentral/fileexchange/22895 | Download %blue%A%red%P%black%Monitor Model Replay GUI]]
April 09, 2009, at 08:09 AM by 158.35.225.228 -
Changed lines 9-10 from:
[[http://www.mathworks.com/matlabcentral/fileexchange/22895 | Download Model Replay GUI]]
to:

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

[[http://www.mathworks.com/matlabcentral/fileexchange/22895 | Download Model Replay GUI]]
October 07, 2008, at 08:42 AM 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.
Added lines 24-26:
!!!! 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.
Added lines 21-22:

ModelReplay may be applied in an industry setting to predict the response of an estimation or fault detection algorithm with varying unknown model parameters.
Added line 17:
* 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.
Added line 19:
* {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.
Added lines 12-19:

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.

Added lines 10-11:

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 10:34 AM 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 10:32 AM by 158.35.225.228 -
Added lines 1-7:
!! Sequential Simulation with MATLAB

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.  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.

!!!