0% found this document useful (0 votes)
29 views

TM-SP08-0003 ed14 Inventory Calculations

This document is a specification for the Inventory Calculations within the OPC TankServer of the TankMaster program suite, detailing calculations for volume, weight, and density. It includes a comprehensive table of contents outlining various sections related to observed volume, net volume, density calculations, and custody transfer calculations. The document is proprietary to Rosemount Tank Radar AB and has undergone multiple revisions to update and correct various calculation methods and standards.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

TM-SP08-0003 ed14 Inventory Calculations

This document is a specification for the Inventory Calculations within the OPC TankServer of the TankMaster program suite, detailing calculations for volume, weight, and density. It includes a comprehensive table of contents outlining various sections related to observed volume, net volume, density calculations, and custody transfer calculations. The document is proprietary to Rosemount Tank Radar AB and has undergone multiple revisions to update and correct various calculation methods and standards.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 76

Original media Info class

Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 1(76)
Fördelning/To För Kännedom/Copy

Dept TP, Dept TT, Dept TSe, TM-AR Dept TS, Dept EPc, ESs-VK-P

TankMaster

Inventory Calculations
Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

COPYRIGHT Rosemount Tank Radar AB, Sweden, 2010


This document is proprietary information of Rosemount Tank Radar and must not be given to a third party
prior to the written authorization of Rosemount Tank Radar.

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 2(76)

Table of contents

1 DOCUMENT DEFINITION ..............................................................................6


1.1 Identification .......................................................................................................6
1.2 Revision history ..................................................................................................6
2 GENERAL ..........................................................................................................8
2.1 Introduction .........................................................................................................8
2.2 References ...........................................................................................................11
2.3 Definitions ...........................................................................................................12
2.4 Engineering units ................................................................................................14
2.5 Rounding of Values.............................................................................................14
2.6 Conversion of Values ..........................................................................................15
2.7 System Overview ................................................................................................16
2.8 Volume Calculation Flow Chart .........................................................................17
3 OBSERVED VOLUME CALCULATION ........................................................18
3.1 Introduction .........................................................................................................18
3.2 Tank Capacity Table (TCT) ................................................................................18
3.2.1 Introduction .........................................................................................................18
3.2.2 TCT Volume Calculation ....................................................................................19
3.2.3 Northern TCT ......................................................................................................19
3.2.4 International TCT ................................................................................................20
Issue 3

3.2.5 Raw TCT .............................................................................................................20


3.3 Total Observed Volume (TOV) ..........................................................................21
3.4 Relative Observed Volume (ROV) .....................................................................21
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

3.5 Flow Rate ............................................................................................................21


3.6 Available Volume Room (AVRM) .....................................................................21
3.7 Available Weight Room (AWRM) .....................................................................21
3.8 Pumpable Volume (PV) ......................................................................................22
3.9 Pumpable Weight (PW) ......................................................................................22
3.10 Tank Shell Temperature Correction ....................................................................23
3.11 Floating Roof Correction ....................................................................................24
3.11.1 Roof correction is calculated ...............................................................................25
3.11.2 Roof correction is included in TCT ....................................................................25
3.12 Free Water Volume (FWV) ................................................................................26
3.13 Gross Observed Volume (GOV) .........................................................................26
4 NET VOLUME CALCULATION .....................................................................27
4.1 Introduction .........................................................................................................27
4.2 Gross Standard Volume (GSV) ...........................................................................27
4.3 Net Standard Volume (NSV) ..............................................................................27
4.4 Weight In Air (WIA) ...........................................................................................28
4.4.1 Weight Conversion Factor (WCF) ......................................................................28
4.5 Weight In Vacuum (WIV) ..................................................................................28

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 3(76)

4.6 Liquid and mass calculation of vapor in LPG .....................................................29


4.6.1 ISO 4267 Standard ..............................................................................................29
5 DENSITY CALCULATION ..............................................................................30
5.1 Introduction .........................................................................................................30
5.2 Ambient Air Density ...........................................................................................30
5.3 Vapor Density .....................................................................................................31
5.4 Observed Density ................................................................................................32
5.4.1 Calculation of density below min level ...............................................................34
5.4.2 Calculation of density when reference density is manually entered ...................34
5.5 Reference Density Calculation ............................................................................35
5.5.1 Introduction .........................................................................................................35
5.5.2 API Standard 2540 from 1952 ............................................................................35
5.5.3 API Standard 2540 from 1960 ............................................................................35
5.5.4 API Standard 2540, MPMS Chapter 11.1 from 1980 .........................................36
5.5.5 ASTM Standard D4311 from 1996 .....................................................................36
5.5.6 API Standard 2540, MPMS Ch 11.1 from 2004 .................................................37
5.5.7 API Standard 2540, MPMS Ch 11.2 from 2007 .................................................38
6 VOLUME CORRECTION FACTOR CALCULATION ...................................40
6.1 API Standard 2540 from 1952 ............................................................................40
6.2 API Standard 2540 from 1960 ............................................................................41
6.3 API Standard 2540, MPMS Ch 11.1 from 1980 .................................................42
6.3.1 Introduction .........................................................................................................42
6.3.2 Calculation ..........................................................................................................43
6.3.3 Standard table constants ......................................................................................44
Issue 3

6.4 API Standard 2540, MPMS Ch 11.1 from 2004 .................................................45


6.4.1 Introduction .........................................................................................................45
6.4.2 Calculation ..........................................................................................................46
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

6.4.3 Standard table constants ......................................................................................47


6.5 API Standard 2540, MPMS Ch 11.2 from 2007 .................................................48
6.5.1 Introduction .........................................................................................................48
6.5.2 Calculation ..........................................................................................................48
6.5.3 Reference Fluid Parameters ................................................................................50
6.6 ASTM Standard D4311 from 1996 .....................................................................51
6.7 Standard Table Range .........................................................................................52
6.8 Selection of table based on product ....................................................................54
6.8.1 Introduction .........................................................................................................54
6.8.2 Generalized Crude Oils .......................................................................................54
6.8.3 Generalized Refined Products .............................................................................54
6.8.3.1 Gasoline...............................................................................................................54
6.8.3.2 Jet Fuels ...............................................................................................................55
6.8.3.3 Fuels Oils ............................................................................................................55
6.8.4 Generalized Lubricating Oils ..............................................................................56
6.8.5 Special Applications............................................................................................56
6.8.6 Asphalt ................................................................................................................56
6.8.7 LPG and NGL .....................................................................................................56

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 4(76)

7 CHEMICAL AND LINEAR VOLUME CORRECTION CALCULATION ....57


7.1 Introduction .........................................................................................................57
7.2 Observed density .................................................................................................57
7.3 Calculation of Reference Density .......................................................................58
7.4 Volume Correction Factor...................................................................................58
7.5 Weight In Air (WIA) ...........................................................................................58
8 GOST STANDARD CALCULATIONS ............................................................59
8.1 Introduction .........................................................................................................59
8.2 Observed density .................................................................................................59
9 VOLUME CORRECTION TO OTHER TEMPERATURES ............................60
9.1 Introduction .........................................................................................................60
9.2 Observed Density ................................................................................................60
9.3 Calculation using API MPMS Ch 11.1 (2004) or 11.2 (2007) ...........................61
9.3.1 Reference Density Calculation ............................................................................61
9.3.2 Volume Correction Factor Calculation ...............................................................61
9.4 Calculation using API MPMS Ch 11.1 from 1980 .............................................62
9.4.1 Reference Density Calculation ............................................................................62
9.4.2 Volume Correction Factor Calculation ...............................................................63
10 USER VOLUME CORRECTION CALCULATION ........................................64
10.1 Observed Density ................................................................................................64
10.2 Volume Correction Factor...................................................................................64
10.3 Calculation of Reference Density .......................................................................64
11 CUSTOM VOLUME CORRECTION CALCULATION ..................................65
11.1 Introduction .........................................................................................................65
Issue 3

11.2 Observed Density ................................................................................................65


11.3 Volume Correction Factor...................................................................................65
11.4 Calculation of Reference Density .......................................................................66
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

12 ALCOHOL VOLUME CORRECTION CALCULATION................................67


12.1 Introduction .........................................................................................................67
12.2 Observed Density ................................................................................................67
12.3 Reference Density ...............................................................................................67
12.4 Volume Correction Factor...................................................................................68
13 OTHER VOLUMES ...........................................................................................69
13.1 Pipeline Contents (PC) ........................................................................................69
14 CUSTODY TRANSFER CALCULATIONS .....................................................70
14.1 Introduction .........................................................................................................70
14.2 Custody Transfer Calculations with individual tank samples .............................70
14.2.1 Deliver product from tank ...................................................................................70
14.2.2 Receive product into tank....................................................................................71
14.2.3 Calculation flow chart with individual tank samples ..........................................72
15 OTHER CALCULATIONS ................................................................................73
15.1 Transfer Time Calculation ..................................................................................73
15.2 Settling Date Calculation ....................................................................................75
15.3 Local Gravity Calculation ...................................................................................76

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 5(76)
Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 6(76)

1 DOCUMENT DEFINITION

1.1 Identification
This document describes the Inventory functions (calculation of volume, weight, density, etc.) in
the OPC TankServer included in TankMaster program suit.

This document replaces the use of the old document WinOpi/SP-99.0020.

1.2 Revision history


Issue 1 99-11-18 / GU-HK First issue
Issue 2 00-08-25 / GU-HK Appendix A added and some spelling error corrected.
Issue 3 00-10-16 / GU-HK Corrected errors in formula for calculation of observed density in chapter 5.2.1
and 5.2.2.
Issue 4 02-02-20 / GU-HK Chapter 3 Observed Volume Calculation updated with new calculations: Relative
Volume, Time to full and Time to empty.
The density range is updated in Chapter 5.3.2 and 6.1 API Standard 2540 from
1960.
Chapter 6.2 API Standard 2540 from 1980 is updated.
Chapter 6.2.1 API Standard Table constants and formula is updated.
Chapter 6.4 Standard table range is added.
Issue 5 02-11-12 / GU-HK Chapter 2.5 Rounding of Values added
Issue 3

Chapter 2.6 Conversion of Values added


Chapter 2.8 Volume Calculation Flow Chart added
Chapter 3 Observed Volume Calculation updated according to
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

API MPMS Ch 12.1.1 issue 2, Nov 2001


- Tank Shell Correction chapter added and CTSh calculation changed.
- Floating Roof Correction chapter changed. Added calculation when roof
correction is included in TCT.
- TOV calculation changed, CTSh and FRA corrections removed.
– GOV calculation changed, CTSh and FRA corrections added.
Chapter 6 Volume Correction Factor Calculation rounding of VCF output value
updated according to API MPMS Ch 12.1.1
Chapter 12 Custody Transfer Calculations added.
Chapter 13.1 Transfer Time Calculation added
Chapter 13.2 Settling Date Calculation added
The above changes are implemented in TankMaster ver. 3.F0
Issue 6 03-02-04 / GU-HK Chapter 3.9.2 Roof Correction is included in TCT updated.
Chapter 13.2 Settling Date Calculation updated.
Issue 7 03-03-10 / GU-HK Chapter 4.4 Weight in Air updated, calculation according to Table 11 etc.

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 7(76)

Issue 8 04-02-18 / GU-HK Chapter 5.2 Ambient Air Density added


Chapter 5.3 Vapor Density added
Chapter 7 Chemical and Linear Volume Correction Calculation updated
Chapter 11 Custom Volume Correction Calculation added
Chapter 14.1 Local Gravity Calculation added
The above changes are implemented in TankMaster ver. 4.C0
Chapter 6 updated with Table 54 and Table 6 from 1952 as lookup table.
The above changes are implemented in TankMaster ver. 4.D0
Issue 9 04-09-10 / GU-HK Chapter 4.4 Weight in Air updated with density unit kg/l.
Chapter 7 Chemical and Linear Volume Correction Calculation is updated with
Weight in Air calculation formula.
The above changes are implemented in TankMaster ver. 4.D1
Issue 10 05-05-24 / GU-HK Updated with Alcohol Table.
The above changes are implemented in TankMaster ver. 4.E1
Issue 11 06-05-29 / GU-HK Updated with calculation of Available Weight Room and Pumpable Weight.
Updated chapter 4.4.1 Weight Conversion Factor, the position of parenthesis for
table 56 and 57 was wrong.
Updated chapter 15.1 Transfer Time Calculation, support for WIA and
WIV added.
The above changes are implemented in TankMaster ver. 4.G0

Issue 12 2008-05-09 / EPc-HK This document replaces the use of the old document WinOpi/SP-99.0020.

Chapter 2.6 Conversion of Values, changed the value for water density from
999.012 to 999.016 used in converting density values.

Chapter 5.5 Reference Density Calculation, added subchapter API Standard 2540
from 2004
Issue 3

Chapter 6 Volume Correction Factor Calculation, added sub chapter


- API Standard 2540 from 2004
- Selection of table based on product
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Chapter 9 Volume Correction to other temperatures, updated.

The above changes are implemented in TankMaster ver. 5.A0

Issue 13 2008-10-13 / EPc-HK This document replaces the use of the old document WinOpi/SP-99.0020.

Chapter 5.5 Reference Density Calculation, added subchapter API Standard 2540
from 2007 (5E, 23E, 53E, 59E).

Chapter 6 Volume Correction Factor Calculation,


- added sub chapter API Standard 2540 from 2007 (6E, 24E, 54E, 60E).
- updated sub chapter Selection of table based on product

Chapter 9 Volume Correction to other temperatures, updated.

The above changes are implemented in TankMaster ver. 5.B0

Issue 14 2009-01-20 / EPc-HK Added info about reference temperature for Alcohol table.

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 8(76)

2 GENERAL

2.1 Introduction
TankMaster is a software product that is used in petrochemical process industry, tank terminals,
chemical industry and on ships for tank gauging monitoring and inventory calculation.

The system will provide functions such as


- Tank installation, tank configuration and service functionality,
- Communication with external field devices,
- Operator interface,
- Historical data,
- Alarm handling,
- Inventory calculations,
- Calculation of Draft and Trim List for marine cargo and ballast system see Ref. 10.

The inventory calculations are mainly based on volumes. The main calculation is to find a volume
correction factor (VCF). The VCF is then used to calculate a volume based on a reference
temperature.

The inventory calculation can be divided into four (4) parts.


These are
Issue 3

1. Calculation of observed volumes.


2. Calculation of observed density
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

3. Calculation of reference density and VCF according to the selected volume correction table,
4. Calculation of net volumes with help of VCF.

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 9(76)

The specific calculation methods can be divided into seven categories of correction tables.
# Table Description Reference
1 54A_2004, API Standard 2004 API Standard VCF Calculation
54B_2004, Chapter VOLUME CORRECTION
54C_2004, FACTOR CALCULATION
54D_2004,

6A_2004,
6B_2004,
6C_2004,
6D_2004,

60A_2004,
60B_2004,
60C_2004,
60D_2004

24A_2004,
24B_2004,
24C_2004,
24D_2004
------------------------ -----------------------------------
54E_2007 API Standard 2007
Issue 3

6E_2007
60E_2007
24E_2007
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

------------------------ -----------------------------------
54A, API Standard 1980
54B,
54C,
54D, API Standard 1984

6A, API Standard 1980


6B,
6C,
6D, API Standard 1984

60A, API Standard 1988


60B,
60C,

24A, API Standard 1980


24B,
24C,

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 10(76)

------------------------ -----------------------------------
54 API standard 1960
54 API standard 1952
6 API standard 1952
2 D4311 ASTM D4311 1983/1996 Chapter ASTM Standard D4311 from
Standard Practice for 1996
Determining Asphalt Volume
Correction to a Base
Temperature
3 Chem Chemical Volume Correction Chapter CHEMICAL AND LINEAR
Linear VOLUME CORRECTION
CALCULATION
4 RT_54A_2004, API Standard 2004 with Chapter VOLUME CORRECTION TO
RT_54B_2004, operator entered reference OTHER TEMPERATURES
RT_54C_2004, temperature.
RT_54D_2004,

RT_6A_2004,
RT_6B_2004,
RT_6C_2004,
RT_6D_2004
------------------------ -----------------------------------
RT_54E_2007 API Standard 2007 with
RT_6E_2007 operator entered reference
Issue 3

temperature.
------------------------ -----------------------------------
RT_54A, API standard 1980 with
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

RT_54B, operator entered reference


RT_54C, temperature.
RT_54D,

RT_6A,
RT_6B,
RT_6C,
RT_6D
5 User1-User10 User supplied VCF formulas. Chapter USER VOLUME
CORRECTION CALCULATION
6 Custom Custom Volume Correction Chapter CUSTOM VOLUME
CORRECTION CALCULATION
7 Alcohol Practical Alcohol Table Chapter ALCOHOL VOLUME
(VOLUME 2, Table 1) CORRECTION CALCULATION
Table 1 Supported correction tables

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 11(76)

2.2 References

No Title Reg No Issue


1 WinOpi Requirement Specification WinOpi/SP-97.001 1
2 API std 2540 Ch. 11.1 Volume X 1980/1993
3 API std 2540 Ch. 11.1 Volume XIII 1982/1993
4 API std 2540 Ch. 11.1 Volume XIV 1982/1993
5 Petroleum Measurement Tables (ASTM D 1250; IP 200) 1960
6 ASTM D4311 1983/1996
7 ISO 4267 (VLVR calculations)
8 API standard Chapter 3 and Section 6
9 TankMaster Level Rate Calculation Spec WinOpi\SP-00.002 2
10 SCU/WSU Calculations MARY-SP01-0016 2
11 API Manual of Petroleum Measurement Standard November 2001 2
Chapter 12 Calculation of Petroleum Quantities
Section 1 – Calculation of Static Petroleum Quantities
Part 1 – Upright Cylindrical Tanks and Marine Vessels
12 Commission of the European Communities 1978
Practical Alcohol Tables, VOLUME 2 – Table 1
13 API MPMS Chapter 11.1 (May 2004) Addendum 1,
September 2007
Issue 3

14 API MPMS Chapter 11.2 (September 2007) September 2007 1


15 ISO CD 15169 (Hybrid density calculation) 1998
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 12(76)

2.3 Definitions
Definition Description
API American Petroleum Institute
ASTM American Society for Testing Materials
MPMS Manual of Petroleum Measurement Standard
Derived values Calculated values, e.g. volume of product.
Dongle A piece of hardware connected to the parallel port of the PC. The dongle
will protect our software from software piracy.
Measured Sensor values, manually entered values and configuration data are
values considered to be measured values in contrast to derived values.
OLE Object Linking and Embedding
OPC OLE for Process Control
OPI Operators Interface
TM TankMaster
TR TankRadar

AVRM Available Room


CTL Correction for temperature of the liquid. (included in CTPL)
CPL Correction for pressure of the liquid. (included in CTPL)
CTPL Correction for temperature and pressure of the liquid.
CTSh Correction for temperature of the shell. The correction factor for the effect
Issue 3

of temperature, both ambient and liquid, on the shell of the tank.


FRA Floating Roof Adjustment. The adjustment made to offset the effect of
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

displacement of the floating roof.


FWL Free Water Level
FWV Free Water Volume
GOV Gross Observed Volume
GSV Gross Standard Volume
LNG Liquefied Natural Gas
LPG Liquefied Petroleum Gas
NSV Net Standard Value
ROV Relative Observed Volume, 0-100 % of full tank.
SW Sediment and Water
TEC Thermal Expansion Coefficient. How much the product or tank-wall will
expand due to changes in temperature.
TOV Total Observed Volume
VCF Volume Correction Factor. Corrects a volume at observed temperature and
pressure to a standard temperature and pressure. (same as CTPL)
The pressure correction only supported in API standard 2004.
WCF Weight Conversion Factor

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 13(76)

WIA Weight In Air


WIV Weight In Vacuum

Dref Reference Density in vacuum


Dobsvacuum Observed Density in vacuum
Dobsair Observed Density in air
Dobs Observed Density (in vacuum or in air depending of calculation choice)
Da Ambient air density (calculated or entered by the user)
Dv In tank vapor density (calculated or entered by the user)
IPTS-68 International Practical Temperature Scale 1968
ITS-90 International Temperature Scale 1990
Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 14(76)

2.4 Engineering units


Level values will internally be converted to SI (m) units before further calculations. Weights are
calculated in SI units (e.g. WIV = m³ * kg/m³ ) and converted to the used weight unit (e.g. Long
tons). Density unit kg/m³ is used internally to calculate density and VCF. The system can convert
between density units kg/m³, API gravity, Relative density and Pounds/Gallon(US).
The pressure can be calculated according to Bar, kPa, Pa or Psi.

2.5 Rounding of Values


Units Abbreviation No. of Decimals
Liters l XXX.0
Gallons (U.S., liquid) gal XXX.xx
Barrels (U.S., petroleum) bbl XXX.xx
Cubic meters m³ XXX.xxx

Pounds lb XXX.0
Kilograms kg XXX.0
Short tons ton s XXX.xxx
Metric tons ton m XXX.xxx
Long tons ton l XXX.xxx
Issue 3

Volume Correction Factor VCF X.xxxxx


API Gravity API XXX.x
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Density Pounds/Gallon lb/gal XXX.xxx


Observed Density kg/m³ kg/m³ XXX.5
Reference Density kg/m³ kg/m³ XXX.x
Observed Relative Density 60/60 F X.xxx5
Reference Relative Density 60/60 F X.xxxx

Sediment & Water % XX.xxxx


Ambient Temperature C or F XXX.0
Product Temperature (Celsius) C XXX.xx
Product Temperature (Fahrenheit) F XXX.x
Tank Shell Temperature TSh XXX.0
Tank Shell Temperature Correction CTSh X.xxxxx

In cases where a value is shown with the number 5 in the last decimal place e.g. XXX.x5, then the
last decimal place in the value will be rounded to either 0 or 5.

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 15(76)

2.6 Conversion of Values


Convert Volume To From Formula
m³ l ―l‖ / 1000.0
m³ gal ―gal‖ / 264.1720512
m³ bbl ―bbl‖ / 6.28981057

Convert Weight To From Formula


kg lb ―lb‖ * 0.45359237
kg ton s ―ton s‖ * 907.18474
kg ton m ―ton m‖ * 1000.0
kg ton l ―ton l‖ * 1016.0469

Convert Density To From Formula


kg/m³ kg/l kg/l * 1000.0
kg/m³ API (141.5 * 999.016) / (― API‖ + 131.5)
kg/m³ lb/gal ―lb/gal‖ * 119.8264268
kg/m³ 60/60 F ―60/60 F‖ * 999.016

Convert TEC To From Formula


1/ C 1/ F ―1/ F‖ * 1.8
Convert Temperature To From Formula
Issue 3

C F (― F‖ - 32.0) / 1.8
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Convert Pressure To From Formula


Pa Bar G ―Bar G‖ * 100000
Pa Psi G ―Psi G‖ * 6894.757

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 16(76)

2.7 System Overview

Applications in the Saab TankMaster suite

WinOpi

WinSetup

TankServer
(OPC)

Master
Protocol
Server
(OPC)
Issue 3

The system will run in Windows NT and consist of the programs below.
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Programs Description
OPC Servers There are in fact two types of OPC servers. The Main OPC Server (Tank Server)
is a standalone program, which will collect device data from OPC Master Protocol
server and calculate inventory tank data. The OPC server can provide data to the
WinOpi and WinSetup program as well as Microsoft Office programs as Excel. The
other one is the OPC Master Protocol Server. This program provides services
such as direct device data access via Modbus protocol. It will also be possible to
program devices, change address of device and restart devices via this OPC server.
WinOpi The operators program in the TankMaster suite. This program includes functions
such as alarm handling, automated reports, batch reporting and tank and group
windows with bargraphs.
WinSetup The engineer program in the TankMaster suite. This program includes functions
such as device configuration, tank installation and service functions.

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 17(76)

2.8 Volume Calculation Flow Chart

Calculation input Calculation output

Liquid Level Tank Capacity Table


TOV

Free Water Level Tank Capacity Table FWV

Average Temp
CSTh
Ambient Air Temp

Ambient Air Density FRA

Reference Density GOV


VCF
Average Temp
Issue 3

GSV
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

S&W

NSV
Reference Density

WIV

Volume Calculation Flow Chart

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 18(76)

3 OBSERVED VOLUME CALCULATION

3.1 Introduction
The observed volume calculations form the base of the inventory (or volume) calculations in the
system. Therefore is this part, common for all inventory calculations.

3.2 Tank Capacity Table (TCT)

3.2.1 Introduction

The TCT converts level to volume and is valid for a defined temperature, for example 20 ºC. Tank
Capacity Tables for cylindrical and spherical tanks are supported.

The system can be configured to use TCTs of type:


1- Northern (especially Sweden and Finland)
2- International
3- Raw

The system will store the level, volume and temperature unit at which the TCT was entered.
Issue 3

The following resolution for the selected units is supported.


1- Levels in Meter (3 decimals) or Feet Inch and 1/16ths
2- Volume in m³ (3 decimals), barrels (2 decimals) or US Gallon (no decimals)
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

3- Temperature in C (1 decimal) or F (1 decimal)

For each strapping point, four parameters are used:


1- Level at the beginning of the interval.
2- Level at the end of the interval (optional for Raw).
3- Base Volume( volume at zero level or volume at beginning of level interval)
4- Area Coefficient

The system will also store TCT information as:


1- Max volume
2- Min volume (volume below the outlet)
3- Sump volume
4- Type of tank shell (insulated or noninsulated).
5- TEC for tank shell (TECsh, see table below).
6- Base temperature (TB) for the tank (the temperature at which the tank capacity was computed).

All these data are stored in the database and used in the calculation.

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 19(76)

Tank shell expansion coefficient (TECsh).


TECsh = 2 *

Where is the linear thermal expansion factor for the shell material.

Shell Material ( / C) TECsh ( / C) ( / F) TECsh ( / F)


Mild carbon steel 0.0000112 0.0000224 0.00000620 0.00001240
304 Stainless steel 0.0000173 0.0000346 0.00000960 0.00001920
316 Stainless steel 0.0000159 0.0000318 0.00000883 0.00001766
17-4PH Stainless steel 0.0000108 0.0000216 0.00000600 0.00001200

3.2.2 TCT Volume Calculation

The TCT volume is calculated as:

VTCT = Sump volume + V


V is calculated different for the selected TCT type see below.
Issue 3

3.2.3 Northern TCT


Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

TCTs calculates the volume within an interval as:

V = Volume at zero level + Coeff * level

for example:
Level From Level To Base Volume Area Coeff V = BV + AC * level
(m) (m) (m³) (m³/m)
0.000 2.036 32.618 332.801 V = 32.618 + 332.801 * level
2.036 3.979 30.676 333.755 V = 30.678 + 333.755 * level
3.979 6.026 32.572 333.279
6.026 7.904 28.503 333.954
7.904 9.902 31.321 333.597
9.902 11.693 24.247 334.312
Note: The volume at zero level varies due to expansion in tank material

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 20(76)

3.2.4 International TCT

TCTs calculates the volume within an interval as:

V = Volume at beginning of level interval + Coeff * (level - level at the beginning of the interval)

for example:
Level From Level To Base Volume Area Coeff V = BV + AC * ( level – LF )
(m) (m) (m³) (m³/m)
0.000 0.050 3.156 0.000 3.156 + 0.000 * (level – 0.000)
0.050 0.100 74.199 1420.860 74.199 + 1420.860 * (level – 0.050)
0.100 0.150 156.274 1641.500
0.150 0.180 238.348 1641.480
0.180 0.190 287.606 1641.930

1.070 2.427 1747.846 1640.580


2.427 4.842 3973.714 1640.290
4.842 7.262 7935.890 1640.650 7935.890 + 1640.650 * (level – 4.842)
7.262 9.685 11906.595 1640.79

3.2.5 Raw TCT


Issue 3

The TCT volume is obtained from the table with linear interpolation except for spherical tanks
where quadratic interpolation is used. TCTs calculates the volume within an interval as:
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

V = Volume at beginning of level interval + Coeff * (level - level at the beginning of the interval)

where the area coefficient (Coeff) is calculate as:

Area Coefficient = (Base Volume for next interval – Base Volume) / ( Level To – Level From)

for example:
Level From Level To Base Volume V = BV + AC * ( level – LF )
(m) (m) (m³)
0.000 1.000 0.000
1.000 2.000 1000.000 1000.0 + ((2000.0 – 1000.0)/(2.0-1.0)) * (level – 1.0)
2.000 3.000 2000.000
3.000 4.000 3000.000
4.000 5.000 4000.000

Note: ―Level To‖ = ―Level From‖ for next interval. ―Level To‖ is redundant information and not
necessary to enter into the system.

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 21(76)

3.3 Total Observed Volume (TOV)


Total Observed Volume is obtained from TCT with liquid level as input.
TOV = VTCT

3.4 Relative Observed Volume (ROV)


Relative Observed Volume (ROV) is calculated as below. ROV will get the unit percent (%).
Max volume is manually entered in the TCT for the tank.

ROV = (TOV / Max Volume) * 100

3.5 Flow Rate


The Flow Rate calculated as Level Rate multiplied by the surface area found in the TCT table.
The Level Rate value is received from the level gauge or calculated according to Ref. 9.

Flow Rate = Level Rate * Area Coefficient

3.6 Available Volume Room (AVRM)


Issue 3

Available Room (AVRM) is calculated by subtracting the total observed volume (TOV) from the
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

tanks max volume (Max Vol). Max volume is manually entered in the TCT for the tank.

AVRM = Max Volume - TOV.

3.7 Available Weight Room (AWRM)


Available Weight Room (AWRM) is calculated as available volume room multiplied by the
observed density

AWRM = AVRM * Observed Density

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 22(76)

3.8 Pumpable Volume (PV)


Pumpable Volume is calculated by subtracting the tanks minimum volume (Min Vol) from the
Total Observed Volume (TOV). Min volume is manually entered in the TCT for the tank.

PV = TOV – Min Volume

3.9 Pumpable Weight (PW)


Pumpable Weight is calculated as pumpable volume (PV) multiplied by the observed density

PW = PV * Observed Density
Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 23(76)

3.10 Tank Shell Temperature Correction


Both the tank shell and gauging equipment will expand and contract with changes in temperature.
The effect will be interactive in terms of the measurement of volume of liquid contained within a
tank. If, for example, the temperature of the tank shell is higher than the reference temperature of
the tank calibration table, the circumference and height of the tank will be larger than registered in
the calibration table. Hence the capacity of the tank and the volume of product it contains at any
level will be understated unless a correction is applied.

Variable Description
TECsh Tank shell expansion coefficient. ( TECsh = 2 * where is the linear thermal
expansion factor for the shell material see table in chapter Introduction. )
TA Ambient air temperature (rounded to nearest degree)
TL Temperature of the liquid in the tank.
Tsh Temperature of the tank shell.
TB Base shell temperature (the temperature at which the tank capacity was computed).
T T = Tsh – TB
VTCT The volume obtained from the tank calibration table.

For noninsulated tanks, the current shell temperature will be given by the equation.

7*TL TA
Issue 3

Tsh = —— + —— (Tsh rounded to nearest degree)


8 8
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

For insulated tanks, the current shell temperature will be given by the equation.

Tsh = TL (Tsh rounded to nearest degree)

Formula for temperature wall compensation:

CTSh = 1 + (TECsh * T) + ((TECsh / 2)*(TECsh / 2) * T* T)

Can also be expressed as:


CTSh = 1 + (2* * T) + ( * * T* T)

CTSh rounded to five decimals.

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 24(76)

3.11 Floating Roof Correction


Depending of the level in the tank corrections is made for the displacement of the floating roof.
This correction can be done in one of two ways; correction is included in TCT or correction is
calculated.
The system will store the following roof information:
- Roof weight
- Upper limits
- Lower limits
- Base density (DB)
- Volume Adjustment Factor (VAF)

In the calculations the variables and units below are used.


Variable Description Unit used in
calculation
Roof weight Weight of floating roof (apparent mass) kg
Dref Reference Density in vacuum (entered by the user or calculated) kg/ m³
Dair Ambient air density (entered by the user) kg/ m³
Dobsair Observed Density in air calculated from the reference density. kg/ m³
Reference density is corrected for actual temperature and ambient
air density is used to convert from vacuum to air.
Dobsair = (Dref * VCF) – Dair
Dobs Observed Density in vacuum Dobs = Dref * VCF kg/ m³
DB Base density (the density at which the tank capacity table (TCT) kg/ m³
Issue 3

was computed).
D Density difference, D = Dobsair – DB kg/ m³
VAF Volume Adjustment Factor (from tank capacity table) m³
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

The volume compensation depends on the position of the roof and is separated into three intervals:
Roof factor Description
0 Below lower limit (below critical zone), when the roof is resting on its leg no
compensation is made (roof factor = 0).
1 Above upper limits (above critical zone), when the roof is freely floating, the
‗volume‘ of the roof reduces the volume value from the TCTs. In this case
compensation is made with roof factor = 1
x Between lower and upper limits (critical zone), when the roof is partly floating
compensation is made with:
roof factor = (Level – lower limit) / (upper limit - lower limit)

All volume and weight values are indicated by a @ or a * in front of the value when needed.
The @ indication is used when the roof is partly floating i.e. within the limits of roof positions.
The * indication is used when the roof is resting on the legs.

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 25(76)

3.11.1 Roof correction is calculated

Roof correction is calculated with help of roof weight and observed density.

FRA = - (roof factor * roof weight / Dobsair).

Note: FRA is always negative.

3.11.2 Roof correction is included in TCT

If the roof correction is calculated into the TCT using a base density, a secondary correction must
be calculated for any difference between the base density and the observed density.
On these TCT the following or similar note can be found:
A total of 39543 liters has been deducted from this table between 110 cm and 146 cm for floating
roof displacement based on a floating weight of 29266 kg and an observed liquid density of 740.1
kg/m³. Gauged levels above 146 cm reflects this deduction, but should be adjusted for varying
observed density according to the following.

Observed density 740.1 kg/m³: no adjustment


For each 1.0 below 740.1 kg/ m³: subtract 53 liter
For each 1.0 above 740.1 kg/ m³: add 53 liter
In the example above
Issue 3

- Base density (DB) = 740.1 kg/m³


- Volume Adjustment Factor (VAF) = 0.053 m³.
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

- Roof weight = 29.266 ton (metric)


- Upper limits = 1.460 m
- Lower limits = 1.100 m

Secondary correction is calculated as:


1. Calculate observed density (Dobs) as above.
2. The density difference ( D) between observed density (Dobs) and the base density (DB).
3. If the level is below or in the critical zone (below upper limits) FRA will be set to 0.0.
4. If the level is above the critical zone (above upper limits) calculate FRA as below.

FRA = D * VAF

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 26(76)

3.12 Free Water Volume (FWV)


Free Water Volume is calculated from the TCT when the Free Water Level is not equal to zero and
less than the actual level in the tank.
The Free Water Volume is calculated in the same way as the Total Observed Volume above, except
that it uses Free Water Level (FWL) instead of the liquid level.

3.13 Gross Observed Volume (GOV)


Gross Observed Volume is calculated by subtracting the free water volume (FWV) from the Total
Observed Volume (TOV) and multiply the result by the tank shell temperature correction factor
(CTSh). For floating roof tanks FRA is added.

GOV = ((TOV – FWV) * CTSh) + FRA


Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 27(76)

4 NET VOLUME CALCULATION

4.1 Introduction
This chapter includes the calculations for Net volume and Weight. These calculations are valid for
API Standard 2540, ASTM D1250, IP200 and other standards described in this document if no
other calculation is described for the standard. In the calculations below VCF and Reference density
is used, these variables are described in separate chapters below and will be calculated differently
according to the selected volume correction table.

4.2 Gross Standard Volume (GSV)


Gross Standard Volume is Gross Observed Volume compensated to reference temperature
according to API calculations.

GSV = GOV * VCF

4.3 Net Standard Volume (NSV)


Net Standard Volume is calculated as GSV minus volume of dissolved sediment and water. The
sediment and water percentage is only available as manually entered. For LPG/LNG tanks Vg
Issue 3

(liquid equivalent of vapor) is added, see chapter Liquid and mass calculation of vapor in LPG.

NSV = ( GSV + Vg ) * ( 1 - SW/100 )


Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 28(76)

4.4 Weight In Air (WIA)


Weight in air is calculated as WIA:

WIA = NSV * WCF ( Note: NSV converted to bbl or m3 depending of the used table. )

4.4.1 Weight Conversion Factor (WCF)

Weight Conversion Factor is calculated according to the used weight and density unit see table
below. (Note: lb/gal (US) is converted to API before calculation of WCF.)

Density unit Weight unit Volume unit


metric tons, kg long tons short tons, pounds
kg/m3 Table 56 Table 57_l Table 57_s m3
( kg/l )
API, Table 13 Table 11 Table 9 bbl
( lb/gal (US) )
60/60 F Table 29_m Table 29 Table 27 bbl

Table Output (WCF) Calculated as


(the result below is rounded to 5 decimals)
Issue 3

Table 9 short tons / bbl ((589.9438 / (Dref + 131.5)) – 0.0050789) * 0.042


Table 11 long tons / bbl ((589.9438 / (Dref + 131.5)) – 0.0050789) * (42.0 / 1120.0)
Table 13 metric tons / bbl ((535.1911 / (Dref + 131.5)) – 0.0046189) * 0.042
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

(the result below is rounded to 5 decimals)


Table 27 short tons / bbl ((4.169215 * Dref) - 0.0050789) * 0.042
Table 29 long tons / bbl ((4.169215 * Dref) - 0.0050789) * (42.0 / 1120.0)
Table 29_m metric tons / bbl ((4.169215 * Dref) - 0.0050789) * 0.042 * 0.90718474
(the result below is rounded to 4 decimals)
Table 56 metric tons / m3 1.0001506 * ((Dref / 1000.0) - 0.0012202)
Table 57_s short tons / m3 1.1024713 * ((Dref / 1000.0) - 0.0013444)
Table 57_l long tons / m3 0.9843545 * ((Dref / 1000.0) - 0.0012049)

4.5 Weight In Vacuum (WIV)


Weight in vacuum is calculated as WIV:

WIV = NSV * Dref ( Note: calculated internally in SI units (m³ * kg/m³) )

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 29(76)

4.6 Liquid and mass calculation of vapor in LPG

4.6.1 ISO 4267 Standard

This calculation will only be performed if the tank is of the types sphere or horizontal and the
product for the tank is included in the product table. Products are available to select for this
purpose. Attributes on the products are product name, product description, VLVR and Molecular
Mass. The terms used in the calculation are defined as follows.
Variable Description Unit
AVRM Available room above liquid level. m³
Pv Vapor Pressure (gauge pressure) kPa
TA Vapor temperature in Kelvin (Observed vapor temperature + 273.15). Kelvin
101,325 Standard pressure kPa
TB Base Temperature in Kelvin (273.15 + 15.0). Kelvin
Mv Vapor mass kg
Mm Molecular mass kg/kmol
VLVR Vapor liquid volume ratio
Vg Equivalent Liquid Volume m³

The calculations performed are:


Issue 3

1. Pressure is converted to kPa.


2. Volume of vapor normalized to temperature and pressure.
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

AVRM * (Pv + 101,325) * TB


V = ---------------------------------------------------
TA * 101,325

3. Mass of the vapor.

V * Mm
Mv = ----------
23,6451

23,6451 = ideal gas

4. Equivalent liquid volume.

Vg = V / VLVR

The Equivalent Liquid Volume is added to the NSV.

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 30(76)

5 DENSITY CALCULATION

5.1 Introduction
This chapter includes the calculations for Observed Density and Reference density.
Calculations according to ISO Standard CD 15169

Bar to Psi, kPa and Pa


Bar Psi kPa MPa
1 14.5038 100 0.1

Psi to Bar, kPa and Pa


Psi Bar kPa Pa
1 0.06894757 6.894757 6894.757
Table 2 Pressure Conversion table

5.2 Ambient Air Density


Ambient air density have only second-order effects on the calculated variables and can either be
Issue 3

considered constant or calculated based on base density and ambient air temperature.
Manual default value is 1.21 kg/m3.
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Variable Description
DB Density Base in unit kg/m3 (user entered, default value 1.21 kg/m3 based on 15.0 °C , 1
bar and 50% relative air humidity).
TB Temperature Base (15.0 °C, 288.15 Kelvin).
PB Pressure Base (absolute pressure, 100000 Pa).
Da Ambient Air Density in unit kg/m3 (rounded to 2 decimals).
Ta Ambient Air Temperature in unit °C (rounded to 2 decimals).
Pa Ambient Air Pressure (absolute pressure).

Air density calculation:

Da = DB * ( TB / Ta ) * ( Pa / PB )

Assuming that ambient air pressure (Pa) is constant (absolute pressure 100000 Pa) air density can be
calculated as:

Da = DB * ( 288.15 / (Ta + 273.15) )

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 31(76)

5.3 Vapor Density


In-tank vapor density have only second-order effects on the calculated variables and can either be
considered constant or calculated based on vapor base density, vapor temperature and vapor
pressure as below. Manual default value is 1.21 kg/m3.
If the tank is ventilated, it is possible to configure the system to use the Ambient Air Density value
as Vapor Density value.
Variable Description
DVB Vapor Density Base in unit kg/m3 (user entered).
TVB Vapor Density Temperature Base (15.0 °C, 288.15 Kelvin).
PVB Vapor Pressure Base (absolute pressure, 100000 Pa).
TV Vapor Temperature (or product temperature) in unit °C.
P3 Vapor Pressure (gauge pressure, measured or user entered) in unit Pa.
Dv Vapor density in unit kg/m3.

Vapor density calculation:

Dv = DVB * ( TVB / TV ) * ( PV / PVB )

Dv = DVB * ( 288.15 / (TV + 273.15)) * ( (P3 + 100000) / 100000 )


Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 32(76)

5.4 Observed Density


The observed density calculations are valid for all API calculations.
The observed density can be calculated when the liquid and vapor pressure is measured. All
calculations shall be done using SI units.
The terms used in the calculation of observed density are defined as follows
Variable Description Unit used in
calculation
Dobsvacuum Observed liquid density in vacuum. kg/m³
L Liquid Level m
Lmin The lowest level when density calculation shall be performed m
Z Distance from datum plate to mid of membrane of pressure sensor m
P1
P1 Liquid pressure above ambient air pressure (gauge pressure). Pa
P3 Vapor pressure above ambient air pressure (gauge pressure). If not Pa
available set P3 = 0.
g Local gravity constant. m/s2
Ht Distance between pressure sensor P1 and P3 m
Dv Vapor density in tank. Default value 1.21 kg/m³
Da Ambient air density. Default value 1.21 kg/m³
Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 33(76)

Observed density in vacuum calculation:


The basis of the hybrid density calculation is pressure balance.

RTG P3

Ht

P1
L

Z (can be < 0)

Datum plate
Thus:
Issue 3

P1- P3 = Total liquid product head (above P1) + in-tank vapor head – ambient air head between P1
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

and P3

The value of Dobsvacuum shall therefore be calculated as

Dobsvacuum = Dv + ( P1- P3 ) – ( g·* (Dv – Da) * Ht )


( ( L – Z ) *·g )

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 34(76)

5.4.1 Calculation of density below min level

When the level (L) is below the minimum level for density measurement (Lmin), the last approved
reference density (Dref) value is used to calculate the observed density (Dobsvacuum).

Dobsvacuum = Dref * VCF

The observed density and all values derived from it are then marked with a'=' (except when floating
roof correction is used).

5.4.2 Calculation of density when reference density is manually entered

When the reference density in vacuum (Dref) is manually entered by the user and valid value for
VCF are available observed density in vacuum (Dobsvacuum) is calculated as below.

Dobsvacuum = Dref * VCF


Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 35(76)

5.5 Reference Density Calculation

5.5.1 Introduction

The reference density can be calculated when an observed density is measured with one or more
pressure sensors (the reference density is not calculated if it‘s manually entered by the user).
The density will be calculated differently according to the selected volume correction table.

Note: API standard 2540 is equivalent to IP200 and ASTM 1250.

5.5.2 API Standard 2540 from 1952

Tables 53 and 5.
Lookup table 53/5 from 1952 is not implemented, the algorithm for table 53A/5A from 1980 is
used. See chapter API Standard 2540, MPMS Chapter 11.1 from 1980

The above listed tables are only used when calculating the reference density.
The reference density can be calculated according to API tables 53A/5A if the observed density is
available.
Issue 3

5.5.3 API Standard 2540 from 1960


Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

ASTM table 53.


The reference density can be calculated according to ASTM table 53 if observed density is
available. Values of the below mentioned parameters P1, P2, P3 and P4 for each interval of density
are listed in TABLE X, see Ref. 5.

Numbers of density intervals are 19 and the total defined range of density is 500.0 - 1200.0 kg/m³.

Input: Observed Density (Dobsvacuum)


Average temperature-15 °C (ΔT)
Output: Reference density (Dref)

Calculation:

Dref = (Dobsvacuum + P1*ΔT + P3*ΔT²) / (1 + P2*ΔT + P4*ΔT²)

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 36(76)

5.5.4 API Standard 2540, MPMS Chapter 11.1 from 1980

API tables 53A and 53B (and 5/23A, 5/23B).


The above listed tables are only used when calculating the reference density.
The reference density can be calculated according to API tables 53A or 53B if the observed density
is available.

Input: Observed Density (Dobsvacuum)


Observed gravity
Observed relative density
Average Temperature (TL)
Output: Reference Density (Dref)
API gravity 60 ºF
Relative density 60/60 ºF

Calculation procedure:
1. Round Observed Density (Dobsvacuum) to nearest 0.5 kg/m³
2. Check input values.
3. Calculate ΔT = TL - 15.0 °C
4. Initialize Dref = Dobsvacuum
5. Calculate VCF according to used table (e.g. 54A).
6. Calculate new Dref = Dobsvacuum / VCF
7. If the new value Dref differs, more than 0.05 kg/m³ from the old one go back to step 5.
Issue 3

8. Check and round output value.


Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

This calculation procedure is used also for obtaining API tables 5A, 23A, 5B and 23B. Only
temperature and density units and ranges are different as well as the coefficients used in step 5 as
shown in chapter API Standard 2540, MPMS Ch 11.1 from 1980.

5.5.5 ASTM Standard D4311 from 1996

API tables 53A.


The above listed tables are only used when calculating the reference density.
The reference density can be calculated according to API tables 53A if the observed density is
available, or it can be entered manually.

See chapter API Standard 2540, MPMS Chapter 11.1 from 1980

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 37(76)

5.5.6 API Standard 2540, MPMS Ch 11.1 from 2004

API tables 5A, 5B, 5C, 5D, 23A, 23B, 23C, 23D, 53A, 53B, 53C, 53D, 59A, 59B, 59C and 59D.
The above listed tables are only used when calculating the reference density. The reference density
can be calculated according to MPMS chapter 11.1.6.2 if the observed density is available.

Input: Observed Density (DObsvacuum, in used unit kg/m³ or ºAPI or 60/60 ºF)
Thermal expansion factor (TEC Liquid)
Average Temperature (TL)
Pressure (Liquid Pressure – Vapor Pressure)

Output: Reference Density (DRef , in used unit kg/m³ or ºAPI or 60/60 ºF)

Calculation procedure:
1. Convert Observed Density (DObsvacuum) to kg/m³.
2. Convert Average Temperature to ºF.
3. Convert the pre-calculated thermal expansion factor (TEC Liquid) to ºF base.
4. Convert Pressure to PsiG.
5. Check input values to determine if they are in range of this standard.
Temperature range: -58.0 ºF to 302.0 ºF
Pressure range: 0.0 PsiG to 1500.0 PsiG
Observed Density range: 470.4 kg/m³ to 1208.3 kg/m³ depending on table se below.
Thermal expansion factor (TEC Liquid) range: 0.000230 1/ºF to 0.000930 1/ºF.
Issue 3

6. Initialize DRef = DObsvacuum


7. Limit the DRef value to be within the range of the standard (see table below).
8. Calculate CTPL according to used table (5A-2004, 5B–2004, …)
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

9. Calculate new DObs = DRef * CTPL (Note: used CTPL is not rounded)
10. If the difference between DObs and DObsvacuum is more than 0.000001 kg/m³ then calculate
the density delta with Newtons itaration method and add this to the ref density that will be
used in next itaration. New DRef = DRef + NewtonDelta and go back to step 8.
11. Check output value DRef to determine if it is in range of this standard.
12. Convert the DRef value in kg/m³ to used density unit.
13. Round the converted DRef value.

Commodity Type Table Min DObs Max DObs Min DRef Max DRef
Crude Oil 5A, 23A, 470.5 kg/m³ 1201.8 kg/m³ 610.6 kg/m³ 1163.5 kg/m³
53A, 59A
Refined Product 5B, 23B, 470.4 kg/m³ 1209.5 kg/m³ 610.6 kg/m³ 1163.5 kg/m³
53B, 59B
Lubricating Oil 5D, 23D, 714.3 kg/m³ 1208.3 kg/m³ 800.9 kg/m³ 1163.5 kg/m³
53D, 59D

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 38(76)

5.5.7 API Standard 2540, MPMS Ch 11.2 from 2007

Note: API MPMS 11.2 from 2007 is equivalent to GPA T-27 and ASTM T-27.

API tables 5E, 23E, 53E and 59E for NGL and LPG products.
The above listed tables are only used when calculating the reference density. The reference density
can be calculated according to MPMS chapter 11.2.4.5 if the observed density is available.

Input: Observed Density (DObsvacuum, in used unit kg/m³ or ºAPI or 60/60 ºF)
Average Temperature (TL)
Pressure (Liquid Pressure – Vapor Pressure)

Output: Reference Density (DRef , in used unit kg/m³ or ºAPI or 60/60 ºF)

Calculation procedure:

1. Convert Observed Density (DObsvacuum) to relative density 60/60 ºF.


2. Convert Average Temperature to ºF.
3. Convert Pressure to PsiG.
4. Check input values to determine if they are in range of this standard.
Temperature range: -50.8 ºF to 199.4 ºF
Pressure range: 0.0 PsiG to 1500.0 PsiG
Observed Density range: 0.2100 60/60 ºF to 0.7400 60/60 ºF.
Issue 3

5. Round density and temp input values.


6. Determine two adjacent reference fluids to be used in the calculation.
7. Initialize the upper and lower boundaries for the iteration based on the reference fluid‘s
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

relative density at 60 ºF.


8. Calculate the mid density (DRefMid) based on the upper and lower bounds.
9. Calculate CTPL , using DRefMid, Avg Temp and Pressure according to used table (6E-2007,
24E–2007, 54E-2007, 60E-2007).
10. Calculate new DObs = DRefMid * CTPL (Note: used CTPL is not rounded)
11. Check for convergence of the relative density at 60 ºF.
If the difference between DObs and lower or upper bound is less than 0.00000001 60/60 ºF
then DRef = DRefMid and jump to step 17.
12. Calculate a new trail density value (DRefTrail) with help of quadratic equation and upper and
lower bounds values.
13. Calculate CTPL , using DRefTrail, Avg Temp and Pressure according to used table (6E-2007,
24E–2007, 54E-2007, 60E-2007).
14. Calculate new DObs = DRefTrail * CTPL (Note: used CTPL is not rounded)
15. Check for convergence of the relative density at 60 ºF.
If the difference between DObs and DObsvacuum is less than 0.00000001 60/60 ºF then
DRef = DRefTrail and jump to step 17.

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 39(76)

16. If the calculation has not yet converged set new upper and lower bounds based on DRefTrail
and DRefMid and go back to step 8.
17. Check output value DRef to determine if it is in range of this standard.
18. Convert the DRef value in relative density 60/60 ºF to used density unit.
19. Round the converted DRef value.
Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 40(76)

6 VOLUME CORRECTION FACTOR CALCULATION


Note: API standard 2540 is equivalent to IP200 and ASTM 1250.

6.1 API Standard 2540 from 1952


Table 54 and 6 from 1952 are implemented as lookup tables.

Table 54 uses reference density, in kg/m³, at 15 ºC to obtain volume correction factor. The inputs to
the lookup table are limited to the following ranges (see also chapter 6.7 Standard Table Range):
Reference density range 500.0 kg/m³ to 1105.0 kg/m³ (in steps of 5.0 kg/m³).
Observed temperature range -46.0 ºC to 150.0 ºC (in steps of 0.5 ºC).

Table 6 uses reference API gravity, in ºAPI, at 60 ºF to obtain volume correction factor. The inputs
to the lookup table are limited to the following ranges (see also chapter 6.7 Standard Table Range):
API gravity range 20.0 ºAPI to 90.0 ºAPI (in steps of 1.0 ºAPI).
Observed temperature range 50.0 ºF to 160.0 ºF (in steps of 1.0 ºF).

Input:
Reference Density (in unit kg/m³ or ºAPI) and Observed Temperature.

Calculation procedure:
Issue 3

Round the Observed Temperature to the nearest temperature value in the table.
If the Reference Density is between two table values interpolation will be done.
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Output:
VCF (rounded to 4 decimals).

E.g.
What is the VCF for a product with observed temperature 1.2 ºC and reference density 723.7 kg/m³?
1. Enter the table with 1.0 ºC and 720.0 kg/m³. The VCF is 1.0165.
2. Enter the table with 1.0 ºC and 725.0 kg/m³. The VCF is 1.0162
3. Calculate the VCF at 1.0 ºC and 723.7 kg/m³ as
VCF = 1.0165 – [((1.0165 - 1.0162) * (723.7 - 720.0)) / (725.0 - 720.0)]
VCF = 1.0163

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 41(76)

6.2 API Standard 2540 from 1960


Table 54, which is independent of products.

Values of the below mentioned parameters P1, P2, P3 and P4 for each interval of density are listed
in TABLE X, see Ref. 5.

Numbers of density intervals are 19 and the total defined range of density is 500.0 - 1200.0 kg/m³.
Table 54 uses density, in kg/m³, at 15 ºC to obtain volume correction factor.

Input: Reference Density and Average Temperature.


Output: VCF (rounded to 4 significant digits).

Three equations form the basis for VCF. The density is not rounded when table 54 is used.

VCF = 1 + Q1*ΔT + Q2*ΔT² (1)


Q1 = -P1 / Dref + P2 (2)
Q2 = -P3 / Dref + P4 (3)

P1, P2, P3, P4 parameters in TABLE X

Choice of constants (P1, P2, P3, P4) depends on the products density value.
Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 42(76)

6.3 API Standard 2540, MPMS Ch 11.1 from 1980

6.3.1 Introduction

The Volume Correction Factor is calculated according to API Standard 2540, which defines tables
for volume correction factors.
Table 6/54/24/60A for generalized crude oils,
table 6/54/24/60B for generalized products,
table 6/54/24/60C for individual and special applications (when product data is unknown)
and 6/54D are used for generalized lubricating oils.

Tables 54A, 54B and 54D use density in kg/m³ at 15 °C to obtain VCF.
Tables 6A, 6B and 6D use density in API degrees at 60 °F to obtain VCF.
Tables 24A and 24B use Relative Density at 60 °F to obtain VCF.
Tables 60A and 60B use density in kg/m³ at 20 °C to obtain VCF.

Table 6C, 54C, 24C and 60C uses experimentally determined thermal expansion coefficients (TEC)
to obtain volume correction factors. When 6C, 54C, 24C or 60C are chosen for a tank the operator
must supply the thermal expansion coefficient (TEC) for the product.
Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 43(76)

6.3.2 Calculation

Unit Description
TL Temperature (average) of the liquid in the tank.
Tref Reference temperature of the volume, 15 ºC or 60 ºF
ΔT TL – Tref
DRef Density at reference temperature, Tref
TecTref Liquid thermal expansion coefficient, TEC, at reference temperature, Tref
K0,K1,A,B Constants depending on density range and used in formula 2 and 3.

Formula no: Output Calculated as


1. VCF EXP[ - TecTref*ΔT*(1.0 + 0.8*TecTref*ΔT) ]
2. TecTref (K0 + K1* DRef)/ DRef ²
3. TecTref A + B/ DRef ²
4. (Table 60 only) VCF EXP[ - TecTref*ΔT*(1.0 + (8.0*TecTref) + (0.8*TecTref*ΔT) ) ]

Input: Reference Density (in unit kg/m³ or ºAPI or 60/60 ºF)


Average Temperature
Thermal expansion factor

Output: VCF (rounded to 5 decimals when avg. temp is above standard temp,
rounded to 4 decimals when avg. temp is below standard temp).
Issue 3

When table 60A or 60B is used, the reference density is converted to reference density at 15 °C.
When table 6 or table 24 is used, the reference density is converted to kg/m³.
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Reference density (DRef ) in unit kg/m³ will be rounded to the nearest 0.5 kg/m³ before used in
calculation.
For the table 6C, 54C, 60C and 24C, the thermal expansion coefficient TecTref is manually entered,
for other tables TecTref is calculated. Choice of formula 2 or 3 and constants (K0, K1, A and B)
depends on the density value (or ºAPI) of the product (see chapter Standard table constants).
For the table 6, 54 and 24 VCF is calculated from formula (1) above.
For the table 60 VCF is calculated from formula (4) above.

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 44(76)

6.3.3 Standard table constants

Table Product Density range , kg/m³ Constants TecTref Formula no.


54A Crude Oils 610.0 – 1075.0 K0 = 613.9723 2
60A K1 = 0.0
54B Fuel Oils 839.0 – 1075.0 K0 = 186.9696 2
60B K1 = 0.4862
54B Jet group 788.0 – 838.5 K0 = 594.5418 2
60B K1 = 0.0
54B Kerosene 770.5 – 787.5 A = -0.00336312 3
60B B = 2680.3206
54B Gasoline‘s 653.0 – 770.0 K0 = 346.4228 2
60B K1 = 0.4388
54D Lubricating 800.0 – 1164.0 K0 = 0.0 2
Oils K1 = 0.62780

Table Product Density range, °API Constants TecTref Formula no.


6A Crude Oils -20.0 – 100.0 K0 = 341.0957 2
K1 = 0.0
6B Fuel Oils -20.0 – 37.0 K0 = 103.8720 2
K1 = 0.2701
6B Jet group 37.1 – 48.0 K0 = 330.3010 2
Issue 3

K1 = 0.0
6B Kerosene 48.1 – 52.0 A = -0.00186840 3
B = 1489.0670
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

6B Gasoline's 52.1 – 85.0 K0 = 192.4571 2


K1 = 0.2438
6D Lubricating -10.1 – 45.2 K0 = 0.0 2
Oils K1 = 0.3488

Table Product Relative Density Constants TecTref Formula no.


range, 60/60°F
24A Crude Oils 0.6110 – 1.0760 K0 = 341.0957 2
K1 = 0.0
24B Fuel Oils 0.8400 – 1.0760 K0 = 103.8720 2
K1 = 0.2701
24B Jet group 0.7890 – 0.8395 K0 = 330.3010 2
K1 = 0.0
24B Kerosene 0.7710 – 0.7885 A = -0.00186840 3
B = 1489.0670
24B Gasoline's 0.6535 – 0.7705 K0 = 192.4571 2
K1 = 0.2438

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 45(76)

6.4 API Standard 2540, MPMS Ch 11.1 from 2004

6.4.1 Introduction

Changes in the 2004 standard:


- Input temperature and density corrected to IPTS-68 temperature scale before calculation.
- The standard density of water at 60 °F is changed slightly (from 0.999012 to 0.999016).
- Table 60 uses same calculation procedure as table 6, 24 and 54. The new procedure will make it
possible to use other reference temperatures than 15°C, 20°C and 60°F, TankMaster will use
this to implement the RT_X_X tables.
- The calculation procedure use reference density kg/m³ at 60 °F for all tables.
- Table range has been extended to lower temperature (-50.0°C to 150.0°C.)
- Table range has been extended to higher density (see table below)
- Pressure compensation is included in the calculation procedure.
- Rounding and truncation of initial and intermediate values have been eliminated. Only the final
VCF (CTPL) value that will be rounded to 5 decimals.

The Volume Correction Factor (VCF) is calculated according to API Standard 2540 chapter 11.1.
Different tables are used depending on product and reference temperature.
Table 6/54/24/60 A for generalized crude oils.
Table 6/54/24/60 B for generalized products.
Issue 3

Table 6/54/24/60 C for individual and special applications.


Table 6/54/24/60 D for generalized lubricating oils.
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Table 54A/B/D use density in kg/m³ at reference temperature 15 °C.


Table 6A/B/D use density in API gravity at reference temperature 60 °F.
Table 24A/B/D use density in Relative Density at reference temperature 60 °F.
Table 60A/B/D use density in kg/m³ at reference temperature 20 °C.
Table 6/54/24/60 C use experimentally determined thermal expansion coefficients (TEC).
When table 6/54/24/60 C is chosen for a tank the operator must supply the thermal
expansion coefficient (TEC) for the product.

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 46(76)

6.4.2 Calculation

Commodity Type Table Min Max


Crude Oil 6A, 24A, 54A, 60A 610.6 kg/m³ 1163.5 kg/m³
Refined Product 6B, 24B, 54B, 60B 610.6 kg/m³ 1163.5 kg/m³
Lubricating Oil 6D, 24D,54D, 60D 800.9 kg/m³ 1163.5 kg/m³
Special applications 6C, 24C,54C, 60C 0.000230 1/ºF 0.000930 1/ºF

Unit Description
TL Temperature (average) of the liquid in the tank.
TRef Reference temperature 60 ºF
ΔT TL68 – 60.0068749
TCorr Temperature correction constant = 0.01374979547
DRef Density at reference temperature, TRef
TecTref Liquid thermal expansion coefficient at reference temperature, TRef
K0,K1,K2 Constants depending on density range and used in formula 1.
P P = Liquid Pressure – Vapor Pressure
CTL Correction factor due to temperature
FP Compressibility factor
CPL Correction factor due to pressure
CTPL Correction factor due to temperature and pressure
Issue 3

Formula Output Calculated as


Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

1. TecTref ( (K0 + (K1* DRef68)) / DRef68 ² ) + K2


2. CTL EXP[ - TecTref*ΔT*(1.0 + 0.8*TecTref*(ΔT + TCorr) ]
3. FP EXP[ -1.9947 + (0.00013427*TL68) + ( (793920 + (2326*TL68)) / DRef68 ² ) ]
4. CPL 1 / ( 1 – (0.00001 * FP P) )
5. CTPL CTL * CPL

Input: Reference Density (DRef , in unit kg/m³ or ºAPI or 60/60 ºF)


Average Temperature (TL)
Liquid Pressure
Vapor Pressure
Thermal expansion factor (TEC Liquid)

Output: VCF (rounded to 5 decimals).

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 47(76)

Calculation procedure:
1. Convert Reference Density to kg/m³ at 60 ºF.
2. Convert Average Temperature to ºF.
3. Convert the pre-calculated thermal expansion factor (TEC Liquid) to ºF base.
4. Convert Pressure to PsiG.
5. Check input values to determine if they are in range of this standard.
Temperature range: -58.0 ºF to 302.0 ºF
Pressure range: 0.0 PsiG to 1500.0 PsiG
Density range: 610.6 kg/m3 to 1163.5 kg/m3 depending on table se above.
Thermal expansion factor (TEC Liquid) range: 0.000230 1/ºF to 0.000930 1/ºF.
6. Shift the Average Temperature to IPTS-68 base (TL68)
7. Shift the Reference Density to IPTS-68 base (DRef68)
8. Calculate thermal expansion coefficient at 60 ºF, TecTref according to formula 1.
(For the C tables the thermal expansion coefficient is manually entered.)
9. Calculate the correction factor due to temperature, CTL according to formula 2.
10. Calculate the compressibility factor, FP according to formula 3.
11. Calculate the correction factor due to pressure, CPL according to formula 4.
12. Calculate volume correction factor, VCF (correction factor due to temperature and pressure,
CTPL) according to formula 5.

6.4.3 Standard table constants

Table Product Density range , kg/m³ Constants


Issue 3

6A, 24A, 54A, 60A Crude Oils 610.6 – 1163.5 K0 = 341.0957


K1 = 0.0
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

K2 = 0.0
6B, 24B, 54B, 60B Fuel Oils 838.3127 – 1163.50 K0 = 103.8720
K1 = 0.2701
K2 = 0.0
6B, 24B, 54B, 60B Jet group 787.5195 – 838.3126 K0 = 330.3010
K1 = 0.0
K2 = 0.0
6B, 24B, 54B, 60B Kerosene 770.3520 – 787.5194 K0 = 1489.0670
K1 = 0.0
K2 = -0.00186840
6B, 24B, 54B, 60B Gasoline‘s 610.6 – 770.3519 K0 = 192.4571
K1 = 0.2438
K2 = 0.0
6D, 24D, 54D, 60D Lubricating Oils 800.9 – 1163.5 K0 = 0.0
K1 = 0.34878
K2 = 0.0

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 48(76)

6.5 API Standard 2540, MPMS Ch 11.2 from 2007

6.5.1 Introduction

Note: API MPMS Chapter 11.2 is equivalent to GPA T-27 and ASTM T-27.

For custody transfer purposes, natural gas liquid (NGL) and liquefied petroleum gas (LPG) volumes
are generally stated at a fixed base temperature and saturation pressure. Most volume transfers
occur at temperatures and pressure other than the standard conditions, these volumes are adjusted to
standard conditions through the use of correction factors. Separate factors for temperature (CTL)
and pressure (CPL) are used. The MPMS Chapter 11.2 describes how to calculate the temperature
correction factor (CTL) to calculate the pressure correction factor (CPL) the method described in
MPMS Chapter 11.1 - 2004 is used.

Different tables are used depending on density unit and reference temperature.
Table 54E use density in kg/m³ at reference temperature 15 °C.
Table 6E use density in API gravity at reference temperature 60 °F.
Table 24E use density in Relative Density at reference temperature 60 °F.
Table 60E use density in kg/m³ at reference temperature 20 °C.

6.5.2 Calculation
Issue 3

Unit Description
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

TL Temperature (average) of the liquid in the tank in ºF.


TRef Reference temperature 60 ºF
Tx Observed (average) temperature in unit Kelvin
Tc Critical temperature in unit Kelvin
Trx Reduced observed temperature in unit Kelvin
Tr60 Reduced reference temperature (60 ºF) in unit Kelvin
δ Interpolation variable
h2 Scaling factor
DSat_60 Saturation density at reference temperature for reference fluid
DSat_x Saturation density at reduced observed temperature for reference fluid
X Interpolation factor
DRef Density at reference temperature, TRef
K1, K2, K3, K4 Constants depending on used reference fluid.
CTL Correction factor due to temperature
CPL Correction factor due to pressure
CTPL Correction factor due to temperature and pressure

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 49(76)

Formula Output Calculated as


1. δ ( (DRef - DRef_1) / (DRef_2 - DRef_2) )
2. Tc Tc_1 + ( δ * (Tc_2 - Tc_1) )
3. Trx Tx / Tc
4. Tr60 519.67 / (1.8 * Tc)
5. h2 (Zc_1 * Dc_1) / (Zc_2 * Dc_2)
6. τ 1 – Tr
7. DSat Dc * ( 1 + ( ( (K1* τ0.35) + (K3* τ2) + (K4* τ3) ) / ( 1 + (K2* τ0.65) ) )
8. X DSat_60_1 / ( 1 + ( δ * ( ( DSat_60_1 / ( h2 * DSat_60_2 ) ) - 1 ) )
9. CTL DSat_x_1 / ( X * ( 1 + ( δ * ( ( DSat_x_1 / ( h2 * DSat_x_2 ) ) - 1 ) ) )
12. CTPL CTL * CPL

Input: Reference Density (DRef , in unit kg/m³ or ºAPI or 60/60 ºF)


Average Temperature (TL, in unit ºC or ºF)
Liquid Pressure
Vapor Pressure

Output: VCF (CTPL rounded to 5 decimals).


Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 50(76)

Calculation procedure:
1. Convert Reference Density to Relative Density at 60 ºF (DRef) and round density.
2. Convert Average Temperature to ºF (TL) and round temperature.
3. Convert Pressure to PsiG.
4. Check input values to determine if they are in range of this standard.
Temperature range: -50.8 ºF to 199.4 ºF
Pressure range: 0.0 PsiG to 1500.0 PsiG
Density range: 0.3500 60/60 ºF to 0.6880 60/60 ºF.
5. Convert Average Temperature to ºK (Tx).
6. Determine two adjacent reference fluids to be used in the calculation.
7. Calculate the interpolation variable (δ) based on the products ref. density and the reference
fluid‘s ref. density.
8. Calculate the products critical temperature (Tc) based on the reference fluid‘s critical
temperature.
9. Calculate the products reduced observed temperature (Trx).
10. Calculate the reduced temperature at 60 ºF (Tr60).
11. Calculate the scaling factor (h2) based on reference fluid‘s critical compressibility factors
(Zc) and critical densities (Dc).
12. Calculate the saturation density (DSat_60_1 and DSat_60_2) for both reference fluids at 60 ºF using
the reduced temperature (Tr60).
13. Calculate the interpolation factor X.
14. Calculate the saturation density (DSat_x_1 and DSat_x_2) for both reference fluids at reduced
observed temperature (Trx).
Issue 3

15. Calculate the correction factor due to temperature, CTL according to formula 9.
16. Calculate the correction factor due to pressure, CPL according to MPMS 11.1.
17. Calculate volume correction factor, VCF (correction factor due to temperature and pressure,
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

CTPL) according to formula 12.


18. Round the VCF (CTPL) to 5 decimals.

6.5.3 Reference Fluid Parameters


Relative
Fluid
Density Tc Zc Dc K1 K2 K3 K4
Name
at 60 ºF
EE(68/32) 0.325022 298.11 0.27998 6.250 2.54616855327 -0.058244177754 0.803398090807 -0.745720314137
Ethane 0.355994 305.33 0.28220 6.870 1.89113042610 -0.370305782347 -0.544867288720 0.337876634952
EP(65/35) 0.429277 333.67 0.28060 5.615 2.20970078464 -0.294253708172 -0.405754420098 0.319443433421
EP(35/65) 0.470381 352.46 0.27930 5.110 2.25341981320 -0.266542138024 -0.372756711655 0.384734185665
Propane 0.507025 369.78 0.27626 5.000 1.96568366933 -0.327662435541 -0.417979702538 0.303271602831
i-Butane 0.562827 407.85 0.28326 3.860 2.04748034410 -0.289734363425 -0.330345036434 0.291757103132
n-Butane 0.584127 425.16 0.27536 3.920 2.03734743118 -0.299059145695 -0.418883095671 0.380367738748
i-Pentane 0.624285 460.44 0.27026 3.247 2.06541640707 -0.238366208840 -0.161440492247 0.258681568613
n-Pentane 0.631054 469.65 0.27235 3.200 2.11263474494 -0.261269413560 -0.291923445075 0.308344290017
i-Hexane 0.657167 498.05 0.26706 2.727 2.02382197871 -0.423550090067 -1.152810982570 0.950139001678
n-Hexane 0.664064 507.35 0.26762 2.704 2.17134547773 -0.232997313405 -0.267019794036 0.378629524102
n-Heptane 0.688039 540.15 0.26312 2.315 2.19773533433 -0.275056764147 -0.447144095029 0.493770995799

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 51(76)

6.6 ASTM Standard D4311 from 1996


When the table D4311 is selected the VCF is calculated according to ASTM D4311 1996.
The Volume Correction Factor is calculated according to ASTM Standard D4311 for asphalt,
which defines two formulas for calculation of volume correction factors.

Input: Reference Density (Will be rounded to the nearest 0.5 kg/m³)


or
Reference API gravity
or
Relative Density
and
Average Temperature ( ºC ).

Output: VCF (rounded to 5 decimals when avg. temp is above standard temp,
. rounded to 4 decimals when avg. temp is below standard temp).

When density in API gravity or Relative density is used, the density is converted to kg/m³ using
formula 3 or formula 4 and rounded to nearest 0.5 kg/m³.
The temperatures are converted to °C before calculation.

Two equations form the basis of the calculations of VCF.


Issue 3

No. 1 is used with density value of 966.0 kg/m³ or higher.


No. 2 is used with density value of 850.0 to 965.0 kg/m³.
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

No: Output Calculated as


1. VCF 1.0094684142 - (6.33413410744 * TL * 10-4) + (1.45710416212 * TL² * 10-7)
2. VCF 1.0108020095 - (7.23435153190 * TL * 10-4) + (2.19965983460 * TL² * 10-7)
3. Dref 141.5 * 999.012 / (API60 + 131.5)
4. Dref (Rel) Dref / 999.012

Unit Description
TL Temperature (average) of the liquid in the tank (ºC).
Dref Reference Density in vacuum at 15 ºC

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 52(76)

6.7 Standard Table Range

Table Density, kg/m³ TecTref, 106 C-1 Temperature, C


54 (1952) 500.0 – 600.0 -46.0 – 60.0
600.0 – 840.0 -25.0 – 70.0
840.0 – 870.0 -25.0 – 100.0
870.0 – 960.0 -25.0 – 125.0
960.0 – 1105.0 -25.0 – 150.0
54 (1960) 500.0 – 1200.0 0.0 – 200.0
54A (1980) 610.0 – 778.0 -18.0 – 95.0
54B (1980) 778.0 – 824.0 -18.0 – 125.0
60A (1980) 824.0 – 1075.0 -18.0 – 150.0
60B (1980)
54C (1980) 486.0 – 918.0 -18.0 – 150.0
60C (1980) 918.0 – 954.0 -18.0 – 125.0
954.0 – 1674.0 -18.0 – 95.0
54D (1980) 800.0 – 1164.0 -20.0 – 150.0
54A (2004) 611.16 – 1163.79 -50.0 – 150.0
54B (2004) 611.16 – 1163.86 -50.0 – 150.0
60A (2004) 606.12 – 1161.15 -50.0 – 150.0
60B (2004) 606.12 – 1160.62 -50.0 – 150.0
Issue 3

54C (2004) 414.0 – 1674.0 -50.0 – 150.0


60C (2004)
801.25 – 1163.85 -50.0 – 150.0
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

54D (2004)
60D (2004) 798.11 – 1160.71 -50.0 – 150.0
54E (2007) 351.7 – 687.8 -46.0 – 93.0
60E (2007) 331.7 – 683.6 -46.0 – 93.0
D4311 850.0 – 1600.0 -25.0 – 275.0

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 53(76)

Table Density, °API TecTref, 106 F-1 Temperature, F


6 (1952) 20.0 – 39.0 50.0 – 160.0
39.0 – 89.0 50.0 – 150.0
89.0 – 50.0 – 100.0
6A (1980) 0.0 – 40.0 0.0 – 300.0
6B (1980) 40.0 – 50.0 0.0 – 250.0
50.0 – 100.0 0.0 – 200.0
6C (1980) 270.0 – 510.0 0.0 – 300.0
510.0 – 530.0 0.0 – 250.0
530.0 – 930.0 0.0 – 200.0
6D (1980) -10.0 – 45.0 -4.0 – 300.0
6A (2004) -10.0 – 100.0 -58.0 – 302.0
6B (2004)
6C (2004) 230.0 – 930.0 -58.0 – 302.0
6D (2004) -10.0 – 45.0 -58.0 – 302.0
6E (2007) 272.8 – 74.2 -50.8 – 199.4

Table Relative Density, 60/60°F TecTref, 106 F-1 Temperature, F


24A (1980) 0.6110 – 0.7795 0.0 – 200.0
0.7795 – 0.8250 0.0 – 250.0
0.8250 – 1.0760 0.0 – 300.0
Issue 3

24B (1980) 0.6535 – 0.7795 0.0 – 200.0


0.7795 – 0.8250 0.0 – 250.0
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

0.8250 – 1.0760 0.0 – 300.0


24C (1980) 270.0 – 510.0 0.0 – 300.0
510.0 – 530.0 0.0 – 250.0
530.0 – 930.0 0.0 – 200.0
24A (2004) 0.61120 – 1.16464 -58.0 – 302.0
24B (2004)
24C (2004) 230.0 – 930.0 -58.0 – 302.0
24D (2004) 0.80168 – 1.1646 -58.0 – 302.0
24E (2007) 0.3500 – 0.6880 -50.8 – 199.4

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 54(76)

6.8 Selection of table based on product

6.8.1 Introduction

The relationship between product and table listed below is illustrative and is not meant to be all-
inclusive. Selection of table depends on product reference density, reference temperature and used
density unit.
Table Density Unit Reference Temperature
6A, 6B, 6C, 6D, 6E °API 60 °F
24A, 24B, 24C, 24D, 24E 60/60 °F 60 °F
54A, 54B, 54C, 54D, 54E kg/m³ 15 °C
60A, 60B, 60C, 60D, 60E kg/m³ 20 °C

6.8.2 Generalized Crude Oils

Select table: 6A (2004), 24A (2004), 54A (2004) or 60A (2004)


Products:
crude oil
waxy crude oil
natural gasoline
Issue 3

drip gasoline
JP-4
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

6.8.3 Generalized Refined Products

6.8.3.1 Gasoline
Select table: 6B (2004), 24B (2004), 54B (2004) or 60B (2004)
Products:
alkylate
aromatic natural gasoline
aviation gasoline
catalytic cracked gasoline
catalyst gas
clear gasoline
gasoline
low lead gas
motor gasoline

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 55(76)

motor spirit
naphta
premium gasoline
reformulated gasoline
unleaded gasoline

6.8.3.2 Jet Fuels


Select table: 6B (2004), 24B (2004), 54B (2004) or 60B (2004)
Products:
aviation jet A
aviation turbine fuel
jet fuel A
jet kerosene
JP-2
JP-8
kerosene
stoddard solvent
wite kerosene

6.8.3.3 Fuels Oils


Select table: 6B (2004), 24B (2004), 54B (2004) or 60B (2004)
Products:
Issue 3

auto diesel
diesel fuel
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

fuel oil
fuel oil PA
fuel oil LLS (light low sulfur)
furnace oil
gas oil
heating fuel
low sulfur fuel
LT (low temperature) fuel oil
No. 6 fuel oil
No. 2 furnace oil
No. 2 burner fuel
premium fuel

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 56(76)

6.8.4 Generalized Lubricating Oils

Select table: 6D (2004), 24D (2004), 54D (2004) or 60D (2004)


Products:
lubricating oil

6.8.5 Special Applications

Select table: 6C (2004), 24C (2004), 54C (2004) or 60D (2004)

Products:
MTBE ( 789.000*10-6 F-1 or 1420.000*10-6 C-1 )
gasohol ( 714.340*10-6 F-1 or 1285.812*10-6 C-1 )

6.8.6 Asphalt

Select table: D4311


Products:
asphalt
Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

6.8.7 LPG and NGL

Select table: 6E (2007), 24E (2007), 54E (2007) or 60E (2007)


Products:
EE (68/32) (68% ethane + 32% ethylene)
Ethane
EP (65/35) (65% ethane + 35% propane)
EP (35/65) (35% ethane + 65% propane)
Propane
i-Butane
n-Butane
i-Pentane
n-Pentane
i-Hexane
n-Hexane
n-Heptane

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 57(76)

7 CHEMICAL AND LINEAR VOLUME CORRECTION CALCULATION

7.1 Introduction
This calculation method, uses product data Dref, Tref and Dcorr. The reference density, Dref, is
entered at a reference temperature, Tref, (this temperature can vary from product to product,
compare for example the API calculations) and a density correction factor, Dcorr.
The definition of Dref in this calculation method might be a little bit diffuse since it differs from
Dref as defined elsewhere in the document. But, for convenience reasons is the reference density
used in this chapter also called Dref.

Example of an entry in the product table.


Product Reference Density (Dref) Reference Temperature (Tref) Linear density correction (Dcorr)
SO-1144 987.1 35.00 0.00100

To utilize this method the user must select volume correction table Chem or Linear.
Table Chem will use product data stored in System Product Table.
Table Linear will use product data unique for the tank.

Special calculation for the table is listed below, all other calculations are done as in chapter NET
VOLUME CALCULATION
Issue 3

7.2 Observed density


Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

The observed density will always be calculated from product data and observed product
temperature. The terms used in the calculation of observed density are defined as follows
Variable Description Unit
Tref Temperature for the product for defined Dref (product data). C
TP Temperature of the product in the tank. C
Dref Reference density in vacuum for the product (product data) at Tref. kg/m³
Dcorr How much the products density will be corrected per 1 C (product data). kg/m³/ C
Note: If other units are used in the product table conversion will be done before calculation.

T = Tref – TP

Dobs = Dref + ( T * Dcorr).

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 58(76)

7.3 Calculation of Reference Density


Not applicable. The reference density from product data will be used.

7.4 Volume Correction Factor


The Volume correction factor is calculated as:
VCF = Dobs / Dref.

7.5 Weight In Air (WIA)


Weight in air (WIA) is calculated as:

Variable Description Unit


Dref Reference density in vacuum for the product (product data). kg/m³
Dair Ambient air density (system data). kg/m³
NSV Net Standard Volume m³

WIA = NSV * (Dref – Dair)


Issue 3

( Note: calculated internally in SI units (m³ * kg/m³) )


Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 59(76)

8 GOST STANDARD CALCULATIONS

8.1 Introduction
Gost standard calculation is equivalent to API Standard 2540 from 1980.
Table 60A, 60B or 60C should be used.
Tables 60A and 60B use density in kg/m³ at 20 °C to obtain VCF.
The reference density in vacuum can be entered manually, and 20 °C is assumed, or calculated
according to API tables 53A or 53B if the observed density is available.

8.2 Observed density


The observed density in vacuum will be calculated according to chapter Observed Density.
Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 60(76)

9 VOLUME CORRECTION TO OTHER TEMPERATURES

9.1 Introduction
Volume corrections to other reference temperature then 15ºC or 60ºF are described in this chapter.
Correction tables User entered Reference Density
RT_54A (1980) kg/m³ at 15ºC
RT_54B (1980) kg/m³ at 15ºC
RT_54C (1980) -
RT_54D (1980) kg/m³ at 15ºC
RT_6A (1980) °API at 60ºF
RT_6B (1980) °API at 60ºF
RT_6C (1980) -
RT_6D (1980) °API at 60ºF
RT_54A (2004) kg/m³ at reference temperature
RT_54B (2004) kg/m³ at reference temperature
RT_54C (2004) -
RT_54D (2004) kg/m³ at reference temperature
RT_54E (2007) kg/m³ at reference temperature
RT_6A (2004) °API at reference temperature
RT_6B (2004) °API at reference temperature
Issue 3

RT_6C (2004) -
RT_6D (2004) °API at reference temperature
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

RT_6E (2007) °API at reference temperature


Table 3 Correction tables for temperatures other than 15°C or 60°F

9.2 Observed Density


See chapter Observed Density.

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 61(76)

9.3 Calculation using API MPMS Ch 11.1 (2004) or 11.2 (2007)

9.3.1 Reference Density Calculation

See chapter 5.5.6 API Standard 2540, MPMS Ch 11.1 from 2004
or chapter 5.5.7 API Standard 2540, MPMS Ch 11.2 from 2007.

9.3.2 Volume Correction Factor Calculation

See chapter 6.4 API Standard 2540, MPMS Ch 11.1 from 2004
or chapter 6.5 API Standard 2540, MPMS Ch 11.2 from 2007.
Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 62(76)

9.4 Calculation using API MPMS Ch 11.1 from 1980

9.4.1 Reference Density Calculation

The following calculations are done if the operator has selected one of the
volume correction tables in Table 3 for the tank.

The reference density can be calculated according to API tables 53A (1980) or 53B (1980) and
converted to reference density at entered reference temperature, if observed density is available.
If not the observed density is available the Reference Density at 15 °C (or °API at 60 °F) must be
entered manually and then converted to reference density at entered reference temperature.

Input: Observed Density (Dobsvacuum)


Average Temperature (TL)

Calculate: Calculate VCF_TL according to the API table:


VCF_ TL = Correction factor to correct observed volume
to equivalent volume at 15°C.
Dref = Dobsvacuum / VCF_ TL

Output: Reference Density at 15 °C (Dref)


Issue 3

Converting
Input: Reference Density at 15 °C (Dref)
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

VCF_RefTemp = Correction factor to correct volume measured at


reference temperature to equivalent volume at 15 °C.

Calculate: Dref_rt = Dref * VCF_RefTemp

Output: Reference Density at Ref. Temp °C (Dref_rt)

Calculation procedure:
1. Round Observed Density (Dobsvacuum) to nearest 0.5 kg/m³
2. Check input values
3. Calculate ΔT = TL – 15.0 °C
4. Initialize Dref = Dobsvacuum
5. Calculate VCF_TL according to table 54A (1980) or 54B (1980)
6. Calculate new Dref = Dobsvacuum / VCF_TL
7. If the new Dref differs more than 0.05 kg/m³ from the old one go back to step 5
8. Check output value and round to one (1) decimal
9. Convert Reference Density at 15 °C to Reference Density at Ref Temp °C

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 63(76)

9.4.2 Volume Correction Factor Calculation

The Volume Correction Factor is used to convert observed volume to equivalent volume at "Ref.
Temp" (user entered) in °C or in °F.
The Volume Correction Factor is calculated according to API Standard 2540 from 1980.
For more detailed information see chapter API Standard 2540, MPMS Ch 11.1 from 1980.

Tables 54A, 54B and 54D use density at 15 °C to obtain volume correction factors.
Tables 6A, 6B and 6D use density at 60 °F to obtain volume correction factors.
The Tables 54C and 6C uses experimentally determined thermal expansion coefficients (TEC) to
obtain the volume correction factor (VCF).
When either 54C or 6C is selected as volume correction table the operator must supply the thermal
expansion coefficient at 15°C or 60 °F.

Input: Reference Density at 15 °C or 60 °F


Average Temperature.
Ref. Temp

Calculate: Calculate following according to the API table:


VCF_AvgTemp = Correction factor to correct observed volume
to equivalent volume at 15 °C or 60 °F.
VCF_RefTemp = Correction factor to correct volume measured at
reference temperature to equivalent volume at 15 °C or 60 °F.
Issue 3

Output: VCF at 15 °C or 60 °F (VCF_AvgTemp)


Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

VCF at Ref. Temp (VCF_RefTemp)

Converting

Input: VCF at 15 °C or 60 °F (VCF_AvgTemp)


VCF at Ref. Temp (VCF_RefTemp)

Calculate: VCF = VCF_AvgTemp / VCF_RefTemp.

Output: VCF (rounded to 5 decimals when avg. temp is above reference temp,
rounded to 4 decimals when avg. temp is below reference temp).

VCF = Correction factor to correct observed volume to equivalent volume


at reference temperature (Ref. Temp).

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 64(76)

10 USER VOLUME CORRECTION CALCULATION


Non-standardized volume calculations.
Valid correction tables are USER1-USER10.

10.1 Observed Density


See chapter Observed Density.

10.2 Volume Correction Factor


Ten different custom designed VCF formulas can be used (User1-User10) at the same time by the
system. Possible inputs to the formula are Average temperature, Reference Density and TEC for the
product.

10.3 Calculation of Reference Density


The reference density can be calculated according to USER table if the observed density is
available, or it can be entered manually.

Input: Observed Density (Dobsvacuum)


Issue 3

Observed gravity
Observed relative density
Average Temperature (TL)
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Output: Reference Density (Dref)

Calculation procedure:
1. Observed Density (Dobsvacuum) is convert to kg/m³ and rounded to two (2) decimals.
2. Check input values.
3. Initialize Dref = Dobsvacuum
4. Calculate VCF according to table USER
5. Calculate new Dref = Dobsvacuum / VCF
6. If the new value Dref differs, more than 0.07 kg/m³ from the old one go back to step 4.
7. Check output value and round to one (1) decimal

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 65(76)

11 CUSTOM VOLUME CORRECTION CALCULATION

11.1 Introduction
This calculation method is used for non petroleum products with known product coefficients.
To utilize this method the user must select volume correction table Custom.
Special calculation for the table is listed below, all other calculations are done as in chapter NET
VOLUME CALCULATION

11.2 Observed Density


See chapter Observed Density.

11.3 Volume Correction Factor


The Volume Correction Factor is calculated according to formula below.

Input: Product Average Temperature (°C)


Reference Temperature (°C)
Issue 3

Constants

Output: VCF (rounded to 5 decimals when product temp is above reference temp,
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

rounded to 4 decimals when product temp is below reference temp).

Variables Description
TP Average Temperature of the product in the tank.
Tref Reference temperature (user entered system parameter e.g. 15 ºC).
ΔT TP – Tref
K0,K1,K2,K3,K4 Coefficients for product (user entered)

VCF = K4*ΔT4 + K3*ΔT3 + K2*ΔT2 + K1*ΔT + K0

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 66(76)

11.4 Calculation of Reference Density


The reference density can be calculated according to CUSTOM table if the observed density is
available, or it can be entered manually.

Input:
Coefficients for product (user entered)
Average Temperature (TL)

Calculation procedure:
1. Calculate VCF according to table CUSTOM
2. Calculate Dref = Dobsvacuum / VCF
3. Round density value to one (1) decimal

Output:
Reference Density (Dref)
Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 67(76)

12 ALCOHOL VOLUME CORRECTION CALCULATION

12.1 Introduction
Practical Alcohol Tables, Volume 2 - Table 1 from 1978
This calculation method is used for alcohol products.
The Alcohol Table use reference temperature 20 °C.
To utilize this method the user must select volume correction table ALCOHOL.
Special calculation for the table is listed below, all other calculations are done as in chapter NET
VOLUME CALCULATION

12.2 Observed Density


See calculation of observed density from Reference Density and VCF in chapter Observed Density.

12.3 Reference Density


The reference density can only be entered manually.
Entered reference density will only be used in weight calculation for the product.
Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 68(76)

12.4 Volume Correction Factor


Alcohol Table is implemented as lookup table.

Alcohol Table uses strength, in % to obtain volume correction factor. The inputs to the lookup table
are limited to the following ranges:
Strength range 0.0 % to 100.0 % (in steps of 1.0 %).
Observed temperature range -20.0 ºC to 40.0 ºC (in steps of 1.0 ºC).

The Volume Correction Factor is calculated according to formula below.

Input: Strength (%)


Observed Temperature (°C)

Calculation procedure:
Round the Strength and Observed Temperature to 2 decimals.
If the Strength or Temperature is between two table values interpolation will be done.

Output: VCF (rounded to 5 decimals).

Variables Description
Issue 3

VCFS93 VCF at 93.0 % and 33.5 ºC


VCFS94 VCF at 94.0 % and 33.5 ºC
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

E.g.
What is the VCF for a product with observed temperature 33.5 ºC and strength 93.5 %?
1. Enter the table with 33.0 ºC and 93.0 %. The VCF is 0.987.
2. Enter the table with 34.0 ºC and 93.0 %. The VCF is 0.985
3. Calculate the VCF at 93.0 % and 33.5 ºC as
VCFS93 = 0.987 – [(0.987 - 0.985) * (33.5 – 33.0)]
VCFS93 = 0.986
4. Calculate the VCF at 94.0 % and 33.5 ºC as
VCFS94 = 0.986 – [(0.986 - 0.985) * (33.5 – 33.0)]
VCFS94 = 0.9855
5. Calculate the VCF at 93.5 % and 33.5 ºC as
VCF = 0.986 – [(0.986 - 0.9855) * (93.5 – 93.0)]
VCF = 0.98575

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 69(76)

13 OTHER VOLUMES
These volumes and values are common for all calculations, i.e. volume correction tables.

13.1 Pipeline Contents (PC)


Pipeline contents (manually entered only).
Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 70(76)

14 CUSTODY TRANSFER CALCULATIONS

14.1 Introduction
The following are the procedures when using calculated values from TankMaster as input to
calculations of transferred volumes and weight for single tank. Fore multiple tank movements add
each tank‘s delivered or received quantity to get the total sum of volume.

Suffix Description
og Opening Gauge value
cg Closing Gauge value

14.2 Custody Transfer Calculations with individual tank samples

14.2.1 Deliver product from tank

Before start of transfer the following data must be entered into the system to calculate correct open
gauge values.
- Individual tank samples for Ref. Density must be taken and analyzed.
- Individual tank samples for S&W must be taken and analyzed.
Issue 3

- Free water level (FWL) must be gauged.

Delivered TOV = TOVog - TOVcg


Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Delivered GOV = GOVog - GOVcg


Delivered GSV = GSVog - GSVcg
Delivered NSV = NSVog - NSVcg
Delivered WIV = WIVog - WIVcg

See chapter Calculation flow chart with individual tank samples.

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 71(76)

14.2.2 Receive product into tank

Before start of transfer the following data must be entered into the system to calculate correct open
gauge values.
- Individual tank samples for Ref. Density must be taken and analyzed.
- Individual tank samples for S&W must be taken and analyzed.
- Free water level (FWL) must be gauged.

After stop of transfer the following data must be entered into the system to calculate correct close
gauge values.
- Individual tank samples for Ref. Density must be taken and analyzed.
- Individual tank samples for S&W must be taken and analyzed.
- Free water level (FWL) must be gauged.

Received TOV = TOVcg - TOVog


Received GOV = GOVcg - GOVog
Received GSV = GSVcg - GSVog
Received NSV = NSVcg - NSVog
Received WIV = WIVcg - WIVog

See chapter Calculation flow chart with individual tank samples.


Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 72(76)

14.2.3 Calculation flow chart with individual tank samples

Single Tank Calculation

TOV
Level(og) TOV(og) Delivered / TOV(cg) Level(cg)
Received

FWL(og) FWV(og) FWV(cg) FWL(cg)

Avg Temp(og) Avg Temp(cg)


CSTh(og) CSTh(cg)

Air Temp(og) Air Temp(cg)

FRA(og) FRA(cg)
Air Density (og) Air Density (cg)
GOV
GOV(og) Delivered / GOV(cg)
Ref Density(og) Received Ref Density(cg)

VCF(og) VCF(cg)
Avg Temp(og) Avg Temp(cg)
Issue 3

GSV
GSV(og) Delivered / GSV(cg)
Received
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

S&W(cg)
S&W(og)

NSV
NSV(og) Delivered / NSV(cg)
Received

Ref Density(og) Ref Density(cg)

WIV
WIV(og) Delivered / WIV(cg)
Received

Custody Transfer Calculation Flow Chart – Individual Tank Samples.

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 73(76)

15 OTHER CALCULATIONS

15.1 Transfer Time Calculation


If the tank is in movement then:
1- Estimated times until full or empty tank is calculate from Available Room, Pumpable Volume
and flow rate (will always be done, always based on observed volume).
2- Estimated times until transfer close gauge value is reached, calculate from current value, close
gauge value and flow rate (based on configured parameter type).
3- Elapsed transfer time is calculate from current time and open gauge time.
4- Transferred value since open gauge (based on configured parameter type).

Calculation 2, 3 and 4 will only be performed if parameter type, open value and close value
are configured (done by client program).
In the calculations the variables and units below are used.

Variable Description Unit used in


calculation
ValueOG Value at opening gauge (configuration data).
ValueCG Value at closing gauge (configuration data).
ParType Type of parameter used as current value in calculation
(configuration data).
Issue 3

Possible selections are TOV, GOV, GSV, NSV, WIA and WIV
(default TOV). If parameter type WIA or WIV the weight values
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

ValueOG, ValueCG, Current Weight value is converted to volume


values (NSV) that is used in calculation.
Volume OG Volume value at opening gauge. m³
Volume CG Volume value at closing gauge. m³
Current Current value depending of configured parameter type. m³
Volume
ΔVolume Difference between current and close volume. m³
TrVolume Transferred Volume, difference between current and opened m³
volume.
FeVolume Volume to Full or Empty, depending of flow rate sign. m³
FR Flow Rate (absolute value used in calculation) m³/h
TimeCG Time to Close Gauge, number of days until the close gauge days
(seconds as time resolution).
DateCG Date to Close Gauge, estimated date when the pumping is closed. yy-mm-dd, h:m:s
DateOG Open Gauge Date, date when the pumping was started, when yy-mm-dd, h:m:s
current volume is equal to open gauge volume (VolumeOG).
TrTime Transfer Time, elapsed time from open gauge date (DateOG) days
(number of days with seconds as time resolution).

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 74(76)

Input:
New Flow Rate value.

Calculation:

If Current Volume equal to VolumeOG and transfer state completed


Save current time as DateOG.
Set transfer state to open (new transfer).
If Current Volume equal to VolumeCG and DateOG stored
Set transfer state to completed.

If the Flow Rate value is grater than zero (receiving product into tank):
FeVolume = AVRM
ΔVolume = VolumeCG – Current Volume
TrVolume = Current Volume - VolumeOG

If the Flow Rate value is smaller than zero (deliver product from tank):
FeVolume = Pumpable Volume
ΔVolume = Current Volume - VolumeCG
TrVolume = VolumeOG - Current Volume

FeTime = ( FeVolume / FR ) / 24 (number of days with seconds as time resolution)


TrTime = Current Date - DateOG (number of days with seconds as time resolution)
TimeCG = ( ΔVolume / FR ) / 24
Issue 3

(number of days with seconds as time resolution)


DateCG = Current Date + TimeCG
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Output:
Estimated Close time (TimeCG and DateCG)
Transfer time (TrTime)
Transferred Volume (TrVolume)
Time to Full / Empty tank (FeTime)

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 75(76)

15.2 Settling Date Calculation


This calculation will only be performed if the tank product is included in the product table.
Attributes on the products are product name, product description, product settling factor (hour /
meter level change), product max settling time.
In the calculations the variables and units below are used.
Variable Description Unit used in
calculation
LLOG Liquid Level value at opening gauge. m
LLCG Liquid Level value at closing gauge. m
FR Flow Rate (absolute value) m³/h
AST Actual Settling Time h
ST Settling Time (number of hours until the tank is settled) h
SD Settling Date, date when the tank is settled. yy-mm-dd, h:m:s
MSD Movement Stop Date, date when the last significant movement was yy-mm-dd, h:m:s
registered in the tank.
FRStart Flow Rate start limit m³/h
(configurable limit, absolute value, FRStart > FRStop )
FRStop Flow Rate stop limit m³/h
(configurable limit, absolute value, FRStart > FRStop)
SF Product Settling Factor (configurable value, e.g. 1 h / meter level) h/m
Max Max Settling Time (configurable value, e.g. 24 h) h
Issue 3

Input:
New Flow Rate value (FR)
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Calculation:
if FR > FRStart and LLOG not saved
Save current level value as LLOG .
Set SD = Current Date + Max
if FR < FRStop and LLOG saved
Save current level value as LLCG.
Save current date and time as MSD.
Calculate AST = (absolute value of (LLOG – LLCG)) * SF
If saved SD > current date (MSD) then AST = AST + remaining time.
Calculate ST = minimum of AST and Max
Calculate settling date SD = Current Date + ST
Save settling date SD
Clear saved values for LLOG.
Output:
Settling Date (SD)
Movement Stop Date (MSD)

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc
Original media Info class
Elektroniskt/Electronic I
Document type
Specifikation/Specification
Approved by Reg. No.
EPc-HK TM-SP08-0003
Issued by Date Issue Page
EPc-HK Håkan Kjellström 2009-01-20 14 76(76)

15.3 Local Gravity Calculation


Local gravity can either be considered constant or calculated based on local latitude and local
elevation as below. Manual default value is 9.8067 m/s2.

Local gravity is calculated as below.

Variable Description
Z1 Local elevation in unit meter.
L1 Local latitude in unit degree (rounded to nearest half degree).
g Local gravity in unit m/s2 (rounded to 4 decimals).

g = 9.7803185*( 1 + 0.00527889*(sin L1)2 + 0.00023462*(sin L1)4 ) – (3.09*10-6 * Z1)


Issue 3
Document template: C:\Documents and Settings\hkjellstrom\Application Data\Microsoft\Templates\Normal.dotm

Rosemount Tank Radar AB


Stored at
L:\TankMaster\Doc\SP08\TM-SP08-0003.doc

You might also like