Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%EcoAve function


Old name
%EcoAveR
Function
The function returns the average of the specified object's values in an elapsed time period (given by the parameter ResetTrigger) according to the methodology based on flags of individual values entering the calculation. The result is a real value. Eval tag  An eval tag must be evaluated on a change (Evaluation method parameter set to On change parameter value). Function value occurrence evaluation time is rounded to a minute, i.e. second seconds and milliseconds = 0.
Declaration


Blok kódu
languageesl
themeConfluence
REAL %EcoAve(
   REAL in Arg, 
   REAL in ValidCriterion, 
   BOOL in ResetTrigger
 )
Parameters


ArgParameter which average is to be calculated.
ValidCriterionValidation criterion value [%].
ImpulseChange of the parameter into the TRUE state causes evaluating the average, that is to be assigned to the eval tag value. At the same time, input values for next period of time (Arg) are to be processed.
Note


Flag type Flag name

Meaning

Description for ESC Datalogger

CFAMeasurement invalidity<
BUnsteady operationF

VF

CCalibrationC
DMalfunctionB
EMaintenanceM
FPower supply failureP
GDisabled – disable (switching stopped)D
HMissing measurement
 

TFILayoffF
JStart
 

KPutting out of operation
 

LFuel change (unsteady process)
 

MDesulphurization failure
 

NReserve
 

IF

OReserve - fuel type - coal
 

PReserve
 

Types of flags for Automated measurement system:

  • CF - complex flags (input attributes of value validity)
  • VF- validated flags (input attributes for measurement validity) - they condition A flag
  • TF- technological flags (input attributes of operation status) - they condition B flag
  • IF- informative flags

The value is valid if the A flag is not set, i.e. A=FALSE. The operation is stabilized if the B flag is not set, i.e. B=FALSE.

The following validation criteria are applied on CF flags of processed values:

  • Flag A  Resultant value of flag is TRUE, if sample count containing at least one of VF flags (with TRUE value), is bigger than 100 - ValidKriterium (%) of all measurements in specific time period.
  • Flag B  Resultant value of flag is TRUE, if sample count containing at least one of TF flags (with TRUE value), is bigger than 100 - ValidKriterium (%) of all measurements in specific time period.

Condition of flags processing:

  • Value with set at least one of VF flags is not included into average but a flag counter is added into it.
  • The processed values should have time with step of maximum 10 sec. If the value is missed during more than 10 seconds, the flag count „D“ - the counter for invalid measurements, is incremented.
  • If the resultant flag is „A“ TRUE, all flags that appeared in time period, are included in VF flags of calculated average.
  • If the resultant flag is „A“ FALSE, all VF flags are FALSE, even if some of them appeared in the processed data.
  • If the resultant flag is „B“ TRUE, all flags that appeared in time period, are included TF flags of calculated average.
  • If the resultant flag is „B“ FALSE, all TF flags are FALSE, even if some of them appeared in the processed data.