APM.FILTER - APMonitor Option

Main.OptionApmFilter History

Show minor edits - Show changes to output

June 09, 2017, at 12:03 AM by 10.5.113.159 -
Changed lines 5-6 from:
%width=50px%Attach:apm.png
to:
%width=50px%Attach:apm.png [[Main/DbsGlobal|Global Options]] | %width=30px%Attach:fv.png %width=30px%Attach:mv.png %width=30px%Attach:sv.png %width=30px%Attach:cv.png[[Main/DbsVariable|Local Options]]
Changed line 21 from:
See also [[https://apmonitor.com/do/index.php/Main/EstimatorObjective|Estimation Objective Tuning]]
to:
See also [[Main/OptionFstatus|FSTATUS]], [[Main/OptionMeas|MEAS]], [[https://apmonitor.com/do/index.php/Main/EstimatorObjective|Estimation Objective Tuning]]
June 05, 2017, at 09:18 PM by 10.5.113.159 -
Changed line 14 from:
 (Model value) = (Model value) * (1-FILTER) + (Measured value) * FILTER
to:
 Model = Model * (1-FILTER) + Measured * FILTER
June 05, 2017, at 09:16 PM by 10.5.113.159 -
Changed lines 11-19 from:
FILTER determines how much of the raw measurement is used to update the value of [[Main/OptionMeas|MEAS]]. A filter of 0 indicates that the measurement should not be used in updating the [[Main/OptionMeas|MEAS]] value. A filter of 1.0 uses all of the measurement and ignores any prior measurement value and 0.5 uses half of each according to the formula: New Input = Current Value * (1-FILTER) + Raw Input * FILTER. The FILTER parameter applies to all inputs into the model from the CSV (data) file but not from the DBS (database) file. The [[Main/OptionFstatus|FSTATUS]] parameter is used to adjust the fractional update from new measurements when using ''apm_meas(s,a,'name',value)'' to input measurements. Both [[Main/OptionFstatus|FSTATUS]] and FILTER are useful to control the flow of information into the model. It is sometimes desirable to set FILTER or FSTATUS to a low value (close to 0) when the solver is not able to find a solution because of big input changes. A drawback of a filter on data is that raw inputs are not used in the application and it takes several cycles to reach true input values.
to:
FILTER determines how much of the raw measurement is used to update the value of [[Main/OptionMeas|MEAS]]. A filter of 0 indicates that the measurement should not be used in updating the [[Main/OptionMeas|MEAS]] value. The FILTER parameter applies to all inputs into the model from the CSV (data) file and also from the DBS (database) file. FILTER at 1.0 uses all of the measurement and ignores any prior measurement value and 0.5 uses half of each.

 CSV (data) file
 (Model value) = (Model value) *
(1-FILTER) + (Measured value) * FILTER

DBS (database) file
 MEAS =  MEAS * FILTER + LSTVAL * (1-FILTER)

The [[Main/OptionFstatus|FSTATUS]] parameter is used to adjust the fractional update from new measurements when using
''apm_meas(s,a,'name',value)'' but this only applies to a single entity at a time. FILTER applies globally to all inputs. Both [[Main/OptionFstatus|FSTATUS]] and FILTER are useful to control the flow of information into the model. It is sometimes desirable to set FILTER or FSTATUS to a low value (close to 0) when the solver is not able to find a solution because of big input changes. A drawback of a filter on data is that raw inputs are not used in the application and it takes several cycles to reach true input values.
June 05, 2017, at 09:10 PM by 10.5.113.159 -
Changed line 11 from:
FILTER determines how much of the raw measurement is used to update the value of [[Main/OptionMeas|MEAS]]. A filter of 0 indicates that the measurement should not be used in updating the [[Main/OptionMeas|MEAS]] value. A filter of 1.0 uses all of the measurement and ignores any prior measurement value and 0.5 uses half of each according to the formula: New Input = Current Value * (1-FILTER) + Raw Input * FILTER. The FILTER parameter applies to all inputs into the model from the CSV (data) file but not from the DBS (database) file. The [[Main/OptionFstatus|FSTATUS]] parameter is used to adjust the fractional update from new measurements when using ''apm_meas(s,a,'name',value)'' to input measurements.
to:
FILTER determines how much of the raw measurement is used to update the value of [[Main/OptionMeas|MEAS]]. A filter of 0 indicates that the measurement should not be used in updating the [[Main/OptionMeas|MEAS]] value. A filter of 1.0 uses all of the measurement and ignores any prior measurement value and 0.5 uses half of each according to the formula: New Input = Current Value * (1-FILTER) + Raw Input * FILTER. The FILTER parameter applies to all inputs into the model from the CSV (data) file but not from the DBS (database) file. The [[Main/OptionFstatus|FSTATUS]] parameter is used to adjust the fractional update from new measurements when using ''apm_meas(s,a,'name',value)'' to input measurements. Both [[Main/OptionFstatus|FSTATUS]] and FILTER are useful to control the flow of information into the model. It is sometimes desirable to set FILTER or FSTATUS to a low value (close to 0) when the solver is not able to find a solution because of big input changes. A drawback of a filter on data is that raw inputs are not used in the application and it takes several cycles to reach true input values.
June 05, 2017, at 08:28 PM by 10.5.113.159 -
Changed lines 1-2 from:
(:title FSTATUS - APMonitor Option:)
(:keywords FSTATUS, Optimization, Estimation, Option, Configure, Default, Description:)
to:
(:title APM.FILTER - APMonitor Option:)
(:keywords APM.FILTER, Optimization, Estimation, Option, Configure, Default, Description:)
June 05, 2017, at 08:27 PM by 10.5.113.159 -
Added lines 1-13:
(:title FSTATUS - APMonitor Option:)
(:keywords FSTATUS, Optimization, Estimation, Option, Configure, Default, Description:)
(:description Measurement first-order filter: (0-1):)

%width=50px%Attach:apm.png

 Type: Floating Point, Input
 Default Value: 1.0
 Description: Measurement first-order filter: (0-1)

FILTER determines how much of the raw measurement is used to update the value of [[Main/OptionMeas|MEAS]]. A filter of 0 indicates that the measurement should not be used in updating the [[Main/OptionMeas|MEAS]] value. A filter of 1.0 uses all of the measurement and ignores any prior measurement value and 0.5 uses half of each according to the formula: New Input = Current Value * (1-FILTER) + Raw Input * FILTER. The FILTER parameter applies to all inputs into the model from the CSV (data) file but not from the DBS (database) file. The [[Main/OptionFstatus|FSTATUS]] parameter is used to adjust the fractional update from new measurements when using ''apm_meas(s,a,'name',value)'' to input measurements.

See also [[https://apmonitor.com/do/index.php/Main/EstimatorObjective|Estimation Objective Tuning]]