Flow-X─ Function Reference
4-173
Flow-X General functions - fxBatchFWA
fxBatchFWA
Description
The function calculates a flow-weighted average (FWA) for a batch.
A batch can be any batch type of process, such as product loading, meter proving or transmitter
validation.
The function weights the input value with a flow increment and updates the average accordingly. The
flow increment is provided by either a ‘fxTotalizerDelta’ or a ‘xTotalizerRate’ function.
Inputs and outputs
Function
inputs
Remark
EU
SW tag
Range
Default
Name
Name used for tag-prefix and
retentive storage.
Input value
Value to be averaged
Same as
linked cell
-1e11..1e11
Enabled
0: Disabled
1: Enabled
EN
Increment
Flow increment with which the
input value is weighed.
Must refer to the
corresponding output from a
'TotalizerRate' or
'TotalizerDelta' function
Negative values will be
ignored.
Same as
linked cell
0..1e11
Reset
command
Trigger to reset the batch.
At a batch reset the current
average is stored in the
previous value and the current
value is reset to 0
Identification
Batch identification.
Can be any string of maximum
255 characters long.
If multiple identifications need
to be stored for future referral,
e.g. the batch number, the ship
name and the nomination
number, then the individual
strings should be concatenated
with an "." character in-
between.
ID
Function
outputs
Remark
EU
SW tag
Alarm
Fallback
Current average
Average calculated over
the current batch.
Same as input
‘Input value’
CB
0
Previous
average
Average of the previous
batch.
Same as input
‘Input value’
PB
0
Summary of Contents for flow-x
Page 1: ...Function Reference Certified flow calculations Flow and batch calculations Worksheet functions...
Page 331: ...Flow X Function Reference 5 331 Flow X IO Functions fxPT100Table...
Page 349: ...Flow X Function Reference 6 349 This page is intentionally left blank for user notes...
Page 350: ...6 350 Flow X Function Reference This page is intentionally left blank for user notes...