Beruflich Dokumente
Kultur Dokumente
The parameters for a FLOWCOMP block should be fetched from another function block, by block wiring or
through a parameter connector
At every execution cycle the parameter will be fetched to calculate the compensation term and compensated
flow.
)XQFWLRQ)/2:&203EORFN
The FLOWCOMP block uses the following basic equation to calculate a compensated flow value as its output.
Compensated flow = (uncompensated flow)* COMPTERM
Where:
uncompenated flow = An input
COMPTERM = A calculated compensation term
The FLOWCOMP block offers five different equations for calculating the flow compensation term
(COMPTERM). There is one equation for liquids, one for steam, and three for gases and vapors. Each equation
may require different inputs. For example, depending on which gases and vapors equation you choose, one
requires temperature and pressure measurements, another requires temperature, pressure and specific gravity,
and a third requires temperature, pressure and molecular weight.
601
17 AUXILIARY FUNCTION BLOCKS
&RQILJXUDWLRQSDUDPHWHUV)/2:&203EORFN
The following table provides a summary of the FLOWCOMP specific parameters that you can configure
through the Main tab of the block's properties form in Control Builder. You must have an access level of at least
Engineer to enter or modify values for these parameters. The table does not include descriptions of the common
parameters such as block name and description.
602 www.honeywell.com
17 AUXILIARY FUNCTION BLOCKS
,QSXW)/2:&203EORFN
The PV Equation Type (PVEQN) selection determines the number of inputs that the FLOWCOMP block
requires as outlined in the following table. All inputs must be fetched from other function blocks.
If you need characterization or alarming on individual inputs to the FLOWCOMP block, provide the inputs
through a DATAACQ block.
If you want alarming for the compensated flow output, send the output to a DATAACQ block.
2XWSXW)/2:&203EORFN
This block produces the following outputs:
• PV and its status, PVSTS
You can configure the COMPTERM parameter as an output pin on the FLOWCOMP block for connection to
another block.
(TXDWLRQV)/2:&203EORFN
The FLOWCOMP block uses the following basic equation.
PV = CPV *CF1 / CF2 *F *COMPTERM
603
17 AUXILIARY FUNCTION BLOCKS
Where:
CPV = Overall scale factor for PV
CF1 = Compensation factor
CF2 = Compensation factor
F = Uncompensated flow input
COMPT = A calculated flow compensation term
ERM
• The PVCHAR parameter is the COMPTERM Characterization option. Default value is SQUAREROOT.
Valid options are SQUAREROOT and NONE.
• If COMPTERM is greater than COMPHILM then COMPTERM is clamped to COMPHILM.
• If COMPTERM is less than COMPLOLM then COMPTERM is clamped to COMPLOLM.
• The COMPTERM is calculated differently for each equation as noted in the following sections.
(TXDWLRQ$
Used for mass-flow or volumetric flow compensation of liquids.
• If PVCHAR = SQUAREROOT, then:
•
$GGLWLRQDOFRQVLGHUDWLRQVIRU)/2:&203(TXDWLRQ$
Consider the following when converting uncompensated, standard volumetric-flow to compensated, standard
volumetric-flow.
• If the variation in density caused by fluid-composition changes is not significant, then:
– G = Gravity of the actual fluid at flowing conditions
– RG = Gravity at flowing conditions used in design basis
• If the variations in density caused by fluid-composition changes are significant, C1 and C2 of the
FLOWCOMP should be manipulated as follows:
– C1 is set to the Gravity at reference conditions used in the design basis.
– If the measured value of specific gravity at flow conditions is available, the actual specific gravity,
referenced to standard conditions, is calculated from that measurement by another function block (using
the flowing temperature and expansion formulas) this is pulled by the FLOWCOMP block into the C2
pin.
– If actual specific gravity is measured by a lab, a numeric block could be used to hold the value and can
be pulled by the FLOWCOMP block into the C2 pin. In this case, another function block may use the lab
value and flowing temperature to calculate specific gravity at flowing conditions and the result is used as
the G input.
• For these cases:
– G = Gravity of the actual fluid at flowing conditions
– RG = Gravity at flowing conditions used in design basis
– C1 = Gravity at reference conditions used in design basis
– C2 = Gravity of the actual fluid at reference conditions
604 www.honeywell.com
17 AUXILIARY FUNCTION BLOCKS
(TXDWLRQ%
Used primarily for mass-flow compensation of gases and vapors.
• If PVCHAR = SQUAREROOT, then:
•
(TXDWLRQ&
Used for mass-flow compensation of gases and vapors.
• If PVCHAR = SQUAREROOT, then:
•
(TXDWLRQ&
Used typically for volumetric-flow compensation of gases and vapors.
• If PVCHAR = SQUAREROOT, then:
•
(TXDWLRQ(
Used for mass-flow compensation of steam.
• If PVCHAR = SQUAREROOT, then:
•
605
17 AUXILIARY FUNCTION BLOCKS
6\PEROGHILQLWLRQV
Where:
G = Specific gravity
MW = Molecular weight
P = Pressure (input)
T = Temperature (input)
Q = Steam quality (input)
X = Steam compressibility (input)
RG = Reference specific gravity (configured)
RP = Reference pressure (configured)
RT = Reference temperature (configured)
RQ = Reference steam quality (configured)
RX = Reference steam compressibility (configured)
RMW = Reference molecular weight (configured)
P0 = Zero pressure reference (configured)
T0 = Zero temperature reference (configured)
(UURUKDQGOLQJ)/2:&203EORFN
If the status of any input is bad, the FLOWCOMP block handles the situation as explained in the Alarm
handling section below.
If there are no bad inputs, but the status of one or more inputs is Uncertain, the FLOWCOMP block sets PVSTS
to Uncertain.
If you do not connect the required inputs to the FLOWCOMP block for the selected PV Equation Type
(PVEQN), an error message displaying that “All required Inputs Not Connected” appears while activating the
Control Module.
$ODUPEHKDYLRU)/2:&203EORFN
The logic used for BAD COMPTERM behavior is as follows.
If any of the inputs used in the configured PV Equation Type for computing COMPTERM goes BAD, then:
• If Cycle is less than MAXCYCLE or MAXCYCLE = NaN, then:
– Freeze the COMPTERM to last good value
– Set PVSTS to UNCERTAIN
– Increment Cycle count
• Else, if after MAXCYCLE cycles or if MAXCYCLE equals 0, then:
– Trigger a BAD COMPTERM alarm
– Set COMPTERM to NaN, PVSTS to BAD and PV to NaN.
Where:
606 www.honeywell.com
17 AUXILIARY FUNCTION BLOCKS
MAXCYCLE Is the configured number of alarm filter cycles during which the last good value for the
COMPTERM is to be held before becoming NaN.
MAXCYCLE can take three possible values::
• NaN - In this case:
– COMPTERM will freeze to its last good value
– COMPTERM will never go to bad
– PV status will be set to UNCERTAIN
• 0 - In this case:
– If the COMPTERM is BAD, BAD COMPTERM alarm is raised right away, PV status will
be set to UNCERTAIN.
• Greater than 0 - In this case
– COMPTERM will be frozen at its last good values till the MAXCYCLE cycles.
– After MAXCYCLE cycles, set COMPTERM to NaN, PVSTS to BAD and PV to NaN.
Cycle Is the number of cycles elapsed after freezing the COMPTERM.
You can view the alarm with the highest priority through the HIALM.TYPE parameter on the monitoring
faceplate of the FLOWCOMP block. When the FLOWCOMP block is in BADCOMPTERM alarm, the
HIALM.TYPE indicates BADCOMPTERM. In this case, HIALM.PR and HIALM.SV parameters are updated
with BADCOMPTERM.PR and BADCOMPTERM.SV parameter data, respectively.
$ODUPH[DPSOH)/2:&203EORFN
In case of EQNA, if Specific Gravity (G) is BAD for longer than acceptable number of cycles (MAXCYCLE
cycles) then BADCOMPTERM alarm will be raised.
)DLO6DIHYDOXHV)/2:&203EORFN
If any of the input status signals F Status, X Status, P Status, T Status, Q Status, G Status, and MW Status
become BAD, the corresponding input values are set to NaN. There are no fail-safe values for these variables
)/2:&203SDUDPHWHUV
Refer to Control Builder Components Reference for a complete list of the parameters used with the
FLOWCOMP block.
607