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