Line Pack > Configuring Line Pack > Configuring UDC Mappings > Petroleum Liquids UDCs

Petroleum Liquids UDCs

The following tables describe the input and output UDC mappings that the Line Pack driver sets for each pack segment calculation for petroleum liquids. UDCs are configured on the UDC Map page of the device editor and must be configured for every pack segment. Any UDCs not defined for the optional outputs will not be set and will not generate any warnings.

The UDCs listed with the Last Segment Input: prefix indicate the points that are set for each pack segment and used as inputs to the Line Pack calculation. These points will hold the last good value of the specified input. See Calculation Inputs for more information.

See the following subsections for more information:

Required Input UDCs

The following table describes the point record configurations required for Line Pack. These UDCs must be configured for the facility of every pack sub-segment and for any pack segments that have no pack sub-segments.

Point Description Description Point Type Units

Sub-Segment Status

The status of the pack sub-segment. This value is configurable on the System Settings page.

Enum

N/A

Sub-Segment Volume

The pipe volume of the pack sub-segment.

Analog

MCF

Sub-Segment Length

The pipe length of the pack sub-segment.

Analog

mile

Sub-Segment Diameter

The pipe diameter of the pack sub-segment.

Analog

inch

Required Output UDCs

The bulk of the UDCs in the following table are used for writing out the values of inputs used in the Line Pack calculation.

Value Description Point Type Units

Last Segment Input: Inlet Temperature

Indicates the input used in the line pack calculation for the upstream temperature.

Analog

F

Last Segment Input: Outlet Temperature

Indicates the input used in the line pack calculation for the downstream temperature.

Analog

F

Last Segment Input: Temperature (Ordinal)

Indicates the input used in the line pack calculation for the temperature ordinal. See note about ordinalized points.

Analog

F

Last Segment Input: Inlet Press

Indicates the input used in the line pack calculation for the upstream pressure.

Analog

psig

Last Segment Input: Outlet Pressure

Indicates the input used in the line pack calculation for the downstream pressure.

Analog

psig

Last Segment Input: Pressure (Ordinal)

Indicates the input used in the line pack calculation for the pressure ordinal. See note about ordinalized points.

Analog

psig

Last Segment Input: Segment Volume

Indicates the input used in the line pack calculation for the segment volume.

Analog

MCF

Last Segment Input: Standard Temperature

Indicates the input used in the line pack calculation for the standard temperature. See System inputs for more information.

Analog

F

Last Segment Input: Standard Pressure

Indicates the input used in the line pack calculation for the standard pressure. See System inputs for more information.

Analog

psig

Last Segment Input: Commodity Type

Indicates the input used in the line pack calculation for the commodity group type, the type of liquid in the pipeline. Options include:

  • Crude — Crude Oil
  • Refined — Refined Products
  • Lube — Lubricating Oil
  • Special — Specialized Applications

Enum

N/A

Last Segment Input: Observed Density

Indicates the input used in the line pack calculation for the observed density.

Note: For liquids the observed condition is the temperature and pressure at which the density of a liquid is actually measured.

Analog

lb/ft³

All Sub-Segments in Service

Indicates if all sub-segments are in service. Options are NO or YES.

Enum

N/A

Pack: Current

Indicates the current pack volume for the segment.

Analog

MCF

Pack: Mass Imbalance

Indicates the flow rate at which the pipeline material is lost in terms of mass.

Note: Requires that Mass Balance is enabled. See Configuring Mass Balance for more information about how this is calculated.

Analog

lb/S

Last Segment Calc: Total Inlet Flow Mass

Indicates the calculated value for the upstream (inlet) mass flow rate.

Note: Requires that Mass Balance is enabled. See Configuring Mass Balance for more information about how this is calculated.

Analog

lb/S

Last Segment Calc: Total Outlet Flow Mass

Indicates the calculated value for the downstream (outlet) mass flow rate.

Note: Requires that Mass Balance is enabled. See Configuring Mass Balance for more information about how this is calculated.

Analog

lb/S

Pack: Current (Mass)

Indicates the current pack volume converted to mass.

Note: Optional if Mass Balance is not enabled.

Analog

Mlb

Optional Output UDCs

Optional output values will not be calculated if the UDC is not configured (and no warning will be generated).

Value Description Point Type Units

Last Segment Input: Pressure Equilibrium Vapor

Indicates the input used in the line pack calculation for the saturation pressure for the liquid (i.e., its "bubble point" pressure). Also known as equilibrium vapor pressure.

Analog

psig

Last Segment Input: Alpha 60

Indicates the input used in the line pack calculation for the thermal expansion factor of the liquid at base conditions.

Note: For liquids the base condition is temperature of 60°F and pressure of 0 psig.

Analog

F

Last Segment Input: Observed Temperature

Indicates the input used in the line pack calculation for the observed temperature.

Note: For liquids the observed condition is the temperature at which a liquid is actually measured.

Analog

F

Last Segment Input: Observed Pressure

Indicates the input used in the line pack calculation for the observed pressure.

Note: For liquids the observed condition is the pressure at which a liquid is actually measured.

Analog

psig

Last Segment Input: MAOP

See Last Segment Input: MAOP below.

 

 

Last Segment Calc: CTL * at standard

Indicates the volume correction factor that must be applied due to temperature at standard conditions.

Analog

N/A

Last Segment Calc: CPL * at standard

Indicates the volume correction factor that must be applied due to pressure at standard conditions.

Analog N/A

Last Segment Calc: Compressibility at standard

Indicates the scaled compressibility factor for liquids at standard conditions.

Analog

N/A

Last Segment Calc: CTPL * at standard

Indicates the combined volume correction factor that must be applied due to temperature and pressure at standard conditions.

Analog

N/A

Last Segment Calc: Calculated Base Density

Indicates the calculated intermediate value for density at base conditions.

Note: For liquids the base condition is temperature of 60°F and pressure of 0 psig.

Anal

lb/ft³

Last Segment Calc: Calculated Base Volume

Indicates the calculated intermediate value for volume at base conditions.

Analog

MCF

Last Segment Calc: Calculated Standard Density

See Last Segment Calc: Calculated Standard Density below.

   

Last Segment Calc: Calculated Average Density

See Last Segment Calc: Calculated Average Density below.

   

Last Segment Calc: CTL at pipeline segment

Indicates the volume correction factor that must be applied due to temperature at pipeline segment average conditions.

Analog

N/A

Last Segment Calc: CPL at pipeline segment

Indicates the volume correction factor that must be applied due to pressure at pipeline segment average conditions.

Analog

N/A

Last Segment Calc: Compressibility at pipeline segment

Indicates the scaled compressibility factor for liquids at pipeline segment average conditions.

Analog

N/A

Last Segment Calc: CTPL at pipeline segment

Indicates the combined volume correction factor that must be applied due to temperature and pressure at pipeline segment average conditions.

Analog

N/A

Last Segment Calc: Result CTL Region

Indicates the range in which the temperature correction calculations fall. This is required to indicate to the user whether temperature falls in the standard verified 1980 range, or in non-verified extended ranges, in which case the results must be used with caution.

Enum

N/A

Last Segment Calc: Result CPL Region

Indicates the range in which the pressure correction calculations fall. This is required to indicate to the user whether pressure falls in standard verified 1980 range, or in non-verified extended ranges, in which case the results must be used with caution.

Enum

N/A

Last Segment Calc: Avg Temp

Indicates the calculated intermediate value for average temperature.

Analog

R

Last Segment Calc: Avg Pressure

Indicates the calculated intermediate value for average pressure.

Analog

psia

Last Segment Calc: Total Inlet Flow Volume

Indicates the calculated value for the upstream (inlet) volume flow rate.

Note: Optional if Mass Balance is enabled.

Analog

CFS

Last Segment Calc: Total Outlet Flow Volume

Indicates the calculated value for the downstream (outlet) volume flow rate.

Note: Optional if Mass Balance is enabled.

Analog

CFS

Last Segment Calc: Calculated Standard Density

Indicates the calculated intermediate value for density at standard conditions.

Note: Optional if Mass Balance is enabled.

Analog

lb/ft³

Last Segment Calc: Calculated Average Density

Indicates the calculated intermediate value for density at pipeline segment average conditions.

Note: Optional if Mass Balance is enabled.

Note: This value can be selected as the segment average density when calculating Volume flow rate for Volume Imbalance or Volume Balance.

Analog

lb/ft³

Last Segment Input: MAOP

Indicates the input used in the line pack calculation for the maximum allowed operating pressure (MAOP).

Analog

psig

Pack: Last Hour

Indicates the pack volume for the last hour.

Analog

MCF

Pack: Last Day

Indicates the pack volume for the last day.

Analog

MCF

Pack: Last Month

Indicates the pack volume for the last month.

Analog

MCF

Pack: Delta Last Hour *

Indicates the change in pack volume for the last hour.

Note: Requires UDC Pack: Delta Current Hour to be configured.

Analog

MCF

Pack: Delta Last Day *

Indicates the change in pack volume for the last day.

Note: Requires UDC Pack: Delta Current Day to be configured.

Analog

MCF

Pack: Delta Current Hour *

Indicates the change in pack volume for the current hour.

Note: Requires UDC Pack: Last Hour to be configured.

Analog

MCF

Pack: Delta Current Day *

Indicates the change in pack volume for the current day.

Note: Requires UDC Pack: Last Day to be configured.

Analog

MCF

Pack: Avg Delta Last Hour *

Indicates the change in average pack volume since the last hour.

Note: Requires UDC Pack: Last Hour to be configured.

Analog

MCF

Pack: Minimum Current Month

Indicates the minimum pack volume for the current month.

Analog

MCF

Pack: Minimum Current Day

Indicates the minimum pack volume for the current day.

Analog

MCF

Pack: Minimum Current Hour

Indicates the minimum pack volume for the current hour.

Analog

MCF

Pack: Minimum Last Month *

Indicates the minimum pack volume for the last month.

Note: Requires UDC Pack: Minimum Current Month to be configured.

Analog

MCF

Pack: Minimum Last Day *

Indicates the minimum pack volume for the last hour.

Note: Requires UDC Pack: Minimum Current Day to be configured.

Analog

MCF

Pack: Minimum Last Hour *

Indicates the minimum pack volume for the last day.

Note: Requires UDC Pack: Minimum Current Hour to be configured.

Analog

MCF

Pack: Maximum Current Month

Indicates the maximum pack volume for the current month.

Analog

MCF

Pack: Maximum Current Day

Indicates the maximum pack volume for the current day.

Analog

MCF

Pack: Maximum Current Hour

Indicates the maximum pack volume for the current hour.

Analog

MCF

Pack: Maximum Last Month *

Indicates the maximum pack volume for the last month.

Note: Requires UDC Pack: Maximum Current Month to be configured.

Analog

MCF

Pack: Maximum Last Day *

Indicates the maximum pack volume for the last day.

Note: Requires UDC Pack: Maximum Current Day to be configured.

Analog

MCF

Pack: Maximum Last Hour *

Indicates the maximum pack volume for the last hour.

Note: Requires UDC Pack: Maximum Current Hour to be configured.

Analog

MCF

Pack: Average Current Month

Indicates the average pack volume for the current month.

Analog

MCF

Pack: Average Current Day

Indicates the average pack volume for the current day.

Analog

MCF

Pack: Average Current Hour

Indicates the average pack volume for the current hour.

Analog

MCF

Pack: Average Last Month *

Indicates the average pack volume for the last month.

Note: Requires UDC Pack: Average Current Month to be configured.

Analog

MCF

Pack: Average Last Day *

Indicates the average pack volume for the last day.

Note: Requires UDC Pack: Average Current Day to be configured.

Analog

MCF

Pack: Average Last Hour *

Indicates the average pack volume for the last hour.

Note: Requires UDC Pack: Average Current Hour to be configured.

Analog

MCF

Pack: Mass Balance

Indicates the flow rate at which the pipeline material is gained in terms of mass. This is the negative of Pack: Mass Imbalance.

Note: See Configuring Mass Balance for more information about how this is calculated.

Analog

lb/S

Pack: Volume Imbalance

Indicates the flow rate at which the pipeline material is lost in terms of standard volume.

Note: See Configuring Mass Balance for more information about how this is calculated.

Analog

CFS

Pack: Volume Balance

Indicates the flow rate at which the pipeline material is gained in terms of standard volume. This is the negative of Pack: Volume Imbalance.

Note: See Configuring Mass Balance for more information about how this is calculated.

Analog

CFS

Pack: Delta Last Calc

Indicates the change in line pack volume calculated for a segment as a rate over the time period since the previous line pack volume was calculated. This value is useful when viewed alongside the sum of input rates, output rates, and (im)balance values.

Analog

CFS

Pack: Delta Last Calc (Mass)

Indicates the change in line pack mass calculated for a segment as a rate over the time period since the previous line pack mass was calculated. This value is useful when viewed alongside the sum of input rates, output rates, and (im)balance values.

Analog

lb/S

MAOP Pack: Current

Indicates the current pack volume at the maximum allowed operating pressure (MAOP).

Analog

MCF

MAOP Pack: Current (Mass)

Indicates the current pack volume at the maximum allowed operating pressure (MAOP) converted to mass.

Analog

Mlb

* Denotes that the calculation of this UDC is dependent on the configuration of another UDC.

*Notes:

Back to top

Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.