Main
~~nlc~~.imode = 2

~~''NLC.imode ~~= 2~~''~~

Parameter estimation with model parameter update(~~MPU~~) ~~is accomplished by solving a number of steady state conditions simultaneously. The MPU cases are selected from a number of steady state operating conditions. The objective is to minimize the difference between measured values and model states.~~

''objective = minimize~~(meas-~~model~~)~~''
~~Measurements are brought into the optimization problem via a Comma Separate Value (CSV) file. The ~~CSV file ~~consists of columns of data for a unique measurement.~~ The rows of the CSV file are the measurement at various times that correspond to steady-state conditions. If the data is not at steady-state, dynamic parameter estimation should be used instead.

There is no limit to the number of data sets that may be included for MPU. The only limitation is the amount of computational resources that are available to run the problem.

!!! Parameters

All parameters are generally set to OFF as a first simulation. This creates a warm-start file ''mpu.t0'' and verifies that there are no spurious degrees of freedom.

Once the base-case is converged, a select number of parameters can be set free for the optimization problem. The parameter is set to be fixed or calculated based on the DBS parameter ''STATUS''. A value of ''1'' indicates that the parameter is to be calculated by the optimizer while a value of ''0'' indicates that the parameter is to remained fixed.
~~The DBS file parameter ''imode'' is used to control the simulation mode.~~ ~~This option is set to ''2'' for model parameter update~~.

''NLC.imode = 2~~''~~

## Parameter Fit

## Main.ParameterFit History

Show minor edits - Show changes to output

Changed lines 5-6 from:

to:

apm.imode = 2

Changed lines 8-9 from:

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

to:

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

Changed line 11 from:

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

to:

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

Changed lines 5-9 from:

Parameter estimation with model parameter update

''objective =

to:

nlc.imode = 2

% MATLAB example

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

# Python example

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

Parameter estimation with model parameter update (MPU) is accomplished by solving a number of steady state conditions simultaneously. The MPU cases are selected from a number of steady state operating conditions. The objective is to minimize the difference between measured values and model states such as a squared error.

''objective = minimize (meas-model)'^2^'''

% MATLAB example

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

# Python example

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

Parameter estimation with model parameter update (MPU) is accomplished by solving a number of steady state conditions simultaneously. The MPU cases are selected from a number of steady state operating conditions. The objective is to minimize the difference between measured values and model states such as a squared error.

''objective = minimize (meas-model)'^2^'''

Changed lines 11-12 from:

to:

!!! CSV File Input

Measurements are brought into the optimization problem via a Comma Separate Value (CSV) file. The file must have the same name as the model file, but with the ''.csv'' extension.

The CSV file consists of columns of data for a unique measurement. The column headings are the global variable names. The rows of the CSV file are the measurement at various times that correspond to steady-state conditions. If the data is not at steady-state, dynamic parameter estimation should be used instead.

Measurements are brought into the optimization problem via a Comma Separate Value (CSV) file. The file must have the same name as the model file, but with the ''.csv'' extension.

The CSV file consists of columns of data for a unique measurement. The column headings are the global variable names. The rows of the CSV file are the measurement at various times that correspond to steady-state conditions. If the data is not at steady-state, dynamic parameter estimation should be used instead.

Added lines 21-28:

There is no limit to the number of data sets that may be included for MPU. The only limitation is the amount of computational resources that are available to run the problem.

!!! Parameters

All parameters are generally set to OFF as a first simulation. This creates a warm-start file ''mpu.t0'' and verifies that there are no spurious degrees of freedom.

Once the base-case is converged, a select number of parameters can be set free for the optimization problem. The parameter is set to be fixed or calculated based on the DBS parameter ''STATUS''. A value of ''1'' indicates that the parameter is to be calculated by the optimizer while a value of ''0'' indicates that the parameter is to remained fixed.

Changed line 13 from:

||border=1 width=~~80~~%

to:

||border=1 width=50%

Added lines 3-6:

The DBS file parameter ''imode'' is used to control the simulation mode. This option is set to ''2'' for model parameter update.

''NLC.imode = 2''

''NLC.imode = 2''

Changed lines 11-13 from:

''NLC.imode =

to:

Measurements are brought into the optimization problem via a Comma Separate Value (CSV) file. The CSV file consists of columns of data for a unique measurement. The rows of the CSV file are the measurement at various times that correspond to steady-state conditions. If the data is not at steady-state, dynamic parameter estimation should be used instead.

||border=1 width=80%

||! Measurement #1 ||! Measurement #2 ||! Measurement #3 ||

|| Time 1, Meas 1 || Time 1, Meas 2 || Time 1, Meas 3 ||

|| Time 2, Meas 1 || Time 2, Meas 2 || Time 2, Meas 3 ||

||border=1 width=80%

||! Measurement #1 ||! Measurement #2 ||! Measurement #3 ||

|| Time 1, Meas 1 || Time 1, Meas 2 || Time 1, Meas 3 ||

|| Time 2, Meas 1 || Time 2, Meas 2 || Time 2, Meas 3 ||

Changed lines 5-9 from:

''objective = minimize(meas-model)''

to:

''objective = minimize(meas-model)''

The DBS file parameter ''imode'' is used to control the simulation mode. This option is set to ''2'' for model parameter update.

''NLC.imode = 2''

The DBS file parameter ''imode'' is used to control the simulation mode. This option is set to ''2'' for model parameter update.

''NLC.imode = 2''

Added lines 1-5:

!! Parameter Estimation

Parameter estimation with model parameter update (MPU) is accomplished by solving a number of steady state conditions simultaneously. The MPU cases are selected from a number of steady state operating conditions. The objective is to minimize the difference between measured values and model states.

''objective = minimize(meas-model)''

Parameter estimation with model parameter update (MPU) is accomplished by solving a number of steady state conditions simultaneously. The MPU cases are selected from a number of steady state operating conditions. The objective is to minimize the difference between measured values and model states.

''objective = minimize(meas-model)''