Main.MATLAB History

Hide minor edits - Show changes to markup

May 05, 2014, at 10:35 PM by 23.255.240.62 -
Changed line 15 from:
APM MATLAB (version 0.6.0) - Released 20 January 2014
to:
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:
APM MATLAB (version 0.5.8e) - Released 30 Jan 2013
to:
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:
APM MATLAB (version 0.5.8d) - Released 28 Jan 2013
to:
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:
APM MATLAB (version 0.5.8c) - Released 16 Jan 2013
to:
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:

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:
January 17, 2013, at 12:18 AM by 69.169.188.188 -
Changed line 21 from:
to:
January 17, 2013, at 12:17 AM by 69.169.188.188 -
Changed lines 16-17 from:
to:
Added lines 20-21:
January 17, 2013, at 12:16 AM by 69.169.188.188 -
Added line 16:
January 16, 2013, at 10:57 PM by 69.169.188.188 -
Changed line 15 from:
APM MATLAB (version 0.5.8b) - Released 16 Jan 2013
to:
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:
APM MATLAB (version 0.5.8b) - Released 26 Nov 2012
to:
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:
APM MATLAB (version 0.5.8) - Released 23 Nov 2012
to:
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:
APM MATLAB (version 0.5.7c) - Released 11 Nov 2012
to:
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:
APM MATLAB (version 0.5.7) - Released 16 May 2012
to:
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:
APM MATLAB (version 0.5.7) - Released 20 Apr 2012
to:
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:
APM MATLAB (version 0.5.7) - Released 20 Apr 2012
to:
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:
APM MATLAB (version 0.5.6) - Released 15 Feb 2012
to:
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:
APM MATLAB (version 0.5.5) Δ - Released 9 Jan 2012
to:
APM MATLAB (version 0.5.6) - Released 15 Feb 2012
January 09, 2012, at 06:59 PM by 12.35.58.21 -
Changed line 15 from:
APM MATLAB (version 0.5.5) Δ - Released 5 Dec 2011
to:
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

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

Download APMonitor Historical Data Replay Download APMonitor 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 release notes section.

Prior Versions

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 12: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 05, 2011, at 11:10 PM by 69.169.188.228 -
Changed lines 11-13 from:
to:

Download APM MATLAB Libraries

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

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 release notes section.

Prior Versions

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

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:
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:
September 19, 2011, at 02:51 PM by 128.187.0.181 -
Changed line 13 from:
to:
September 02, 2011, at 04:57 PM by 128.187.0.183 -
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.



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

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:
to:
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:
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 01:10 PM by 158.35.225.229 -
Changed lines 23-25 from:
Download APMonitor Model Replay GUI
Download APMonitor Simulink Interface
to:
Download APMonitor Historical Data Replay Download APMonitor 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:
Deleted lines 13-14:
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.

MATLAB Web-Interface to APMonitor Δ

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

MATLAB Interface to APMonitor (Local Machine)

Deleted lines 21-23:

ModelReplay.m

Added lines 23-24:
Download APMonitor Simulink Interface
April 09, 2009, at 08:13 AM by 158.35.225.228 -
Changed line 10 from:
Download APMonitor Model Replay GUI
to:
Download APMonitor Model Replay GUI
April 09, 2009, at 08:09 AM by 158.35.225.228 -
Changed lines 9-10 from:

Download Model Replay GUI

to:
Download APMonitor Model Replay GUI
April 09, 2009, at 08:08 AM by 158.35.225.228 -
Added lines 8-9:

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.

October 06, 2008, at 11:53 PM by 76.244.76.96 -
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.

October 06, 2008, at 11:52 PM by 76.244.76.96 -
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.
October 06, 2008, at 11:51 PM by 76.244.76.96 -
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.

October 06, 2008, at 11:48 PM by 76.244.76.96 -
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.
October 06, 2008, at 11:45 PM by 76.244.76.96 -
Added line 19:
  • {MV or SV}.MEAS and {MV or SV}.NEWVAL: update the .dbs file with the current measurement.
October 06, 2008, at 11:40 PM by 76.244.76.96 -
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.

October 06, 2008, at 11:40 PM by 76.244.76.96 -
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.

October 06, 2008, at 11:34 PM by 76.244.76.96 -
October 06, 2008, at 11:11 PM by 76.244.76.96 -
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.
October 06, 2008, at 11:06 PM by 76.244.76.96 -
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.
October 06, 2008, at 10:51 PM by 76.244.76.96 -
Added lines 10-11:
October 06, 2008, at 10:50 PM by 76.244.76.96 -
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.

October 06, 2008, at 10:49 PM by 76.244.76.96 -
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.

October 06, 2008, at 10:39 PM by 76.244.76.96 -
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.