Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Production Accounting

Composition Unit functions

  • Last UpdatedNov 10, 2025
  • 3 minute read

  • Main Composition Unit: When you run tracking, if two different composition units are tracked, this is main composition unit.

  • Use alternative composition unit: If this checkbox is selected, two different composition units are calculated and vice versa. The product composition is tracked with the alternative composition unit as well as the main composition unit as shown in the example.

    185.UnderstandingCompositionUnits4

Product composition

You can calculate the mass inventory and volume inventory of product or product group by using "ProductComposition" product function or "ProductGroupComposition" product group function as shown in the example below.

If you want to calculate "CKC" product mass inventory in crude tanks, define the following function for mass inventory equation.

PRODUCTCOMPOSITION(PT_OFFSITE;CRUDE;CKC;MASSVOLUME)

185.UnderstandingCompositionUnits

If you want to calculate "CKC" product volume inventory in crude tanks, define the following function for volume inventory equation.

PRODUCTCOMPOSITION(PT_OFFSITE;CRUDE;CKC;VOLVOLUME)

185.UnderstandingCompositionUnits1

For "ProductGroupComposition" product group function, the syntax is the same with "ProductComposition" product function.

  • Heating Value or Specific Energy

    "cal/g", "cal/kg", "kcal/kg", "J/g", "kJ/kg", "Btu/lb"

  • FOE (Fuel Oil Equivalent) Value

    "l/Nm3", "l/scf", "bbl/Nm3", "bbl/scf", "m3/Nm3", "m3/scf"

  • Length

    "m, "cm", "mm%", "ft", "in"

The default length unit can be chosen in this dropdown menu.

In case the type of the tag is "T"(Tank), these length units are added the possible Eng. unit of the tag.

Comp_unit_functions(4)

The strapping table is defined at the Design Info tab of Tank window with the default length and volume engineering unit for each tank as follows:

185.UnderstandingCompositionUnits2

185.UnderstandingCompositionUnits3

The volume is calculated by interpolating the two height data closing at the height reading by the following equation.

V = V1 + (V2-V1) / (H2-H1) * (H-H1)

Where:

H: Height reading

H1: Strapping table reading, the last entry where H1 < H

H2: Strapping table reading, the next entry after H1

V1: Volume from strapping table corresponding to H1

V2: Volume from strapping table corresponding to H2

V: Volume calculated from height reading

For example, if the height reading is 3.3 m, the volume is calculated as follows:

V = 38.4 + (45.8-38.4) / (3.5-3.0)*(3.3-3.0) = 42.84 m3

If the engineering unit of import tag in tank object is length unit, the volume is automatically calculated from the strapping table which is already defined at the tank. But, if there is no strapping table of the corresponding tank, the volume cannot be calculated from the height reading from the tag.

Keep in mind that the height and volume engineering units of the strapping table should be equal to the default length and volume engineering units.

Related Links
TitleResults for “How to create a CRG?”Also Available in