Oilcalcs for iPhone iOS 14 – version 1.4.2 released

Oilcalcs for iPhone iOS 14 version 1.4.2 has been approved by Apple and is now available for download here.

download in the appstore

We are happy to report that the new version of Oilcalcs is now in the App store. This is a major update which is available for all iPhones with a minimum iOS version of 12.

The new version of OilCalcs comes with a slate of additions and improvements and is now fully in sync with its Android counter part:

A new module ‘Aromatic Calculations’ has been added, enabling the calculation of VCF, weights and volumes for products such as Benzene, Toluene, Cumene, CycloHexane, ParaXylene etc. Selecting a product and entering density and temperature will give the VCF. If a volume is also entered, GSV and weights are also calculated:

Aromatic Calculations can be performed both in SI Metric and Imperial mode, in accordance with ASTM D1555M and ASTM D1555. When selecting an aromatic product, an initial density is automatically entered, but this can be overridden and the user can fill in the density as required. In SI Metric mode density can be entered as either density at 15°C or density at 20°C and volume is entered in M³. When in Imperial mode, the density is entered as density at 60°F, while either Gallons or Barrels can be used to enter volume:

In the Oil Conversion screen the following tables (calculations as per API MPMS 2004 using the old table numbers as reference) have been added to the existing list of tables: table 4, 8, 9, 10, 11, 12, 13, 14, 52, 56, 57, 58:

In the main calculator screen a new field has been added for density correction. This field is only visible when ‘Special Applic’ is selected as oil type. The user can opt to use either a thermal expansion coefficient (alpha), or a density correction. When one is entered, the other is automatically cleared. This is a very suitable solution for calculating products such as MTBE or FAME. In various ports around the world (in for example Brazil) density of the product is given as density at 20°C in vac, and a density correction (in /deg Celsius) is provided instead of alpha. When dealing with FAME, if no standard density is given but only a measured density and density correction, this can be converted to a standard density in vac at either 15 or 20ºC. The method can be used both in SI Metric and Imperial mode. In Imperial mode GSV will be shown as M³ at 60°F whereas in SI Metric mode the GSV will be shown as M³ at 15°C or 20°C depending on the density format used:

 

The changes made in the main calculator screen have also been reflected in the Quantity Editor, which has been redesigned for better ease of use. The Quantity Editor is used for editing entries that were saved from the main calculator screen using the ‘Export’ button:

 

The user manual has been updated to reflect all changes and additions, and is available for download on this blog, please use the button ‘User manuals for oil calculators and other apps’ in the top of this page.

 

Oilcalcs for iPhone can be downloaded from the App Store here:

download in the appstore

OilCalcsPro version 1.4.1 for Android adds additional capability!

Today a new version of OilCalcsPro for Android (version 1.4.1) was published.

The new version contains additional functionality as requested by some of our users, as well some improvements and bugfixes:

– Added the ability to choose between entering a thermal expansion coefficient (alpha) and a density correction factor when working with ‘Special applications’ such as MTBE, if for example no thermal expansion coefficient is known: in various ports around the world when dealing with products such as MTBE, a density correction factor (in /deg C) is provided instead of a thermal expansion coefficient. To enable calculating VCF, volumes and weights in that case, an additional field ‘density correction’ is now provided when selecting ‘Special applic’ as cargo type:

Using density correction to calculate weights & volume.

Using density correction to calculate weights & volume.

– Reverse calculation, for example from MTons in vacuum to all other units is also possible. In the main calculator screen the various calculations differ depending on whether density at 20°C or 15°C is used. In SI Metric mode when using relative density, observed density or API, the density value is internally converted to density at 15ºC and a GSV in M³ at 15ºC; when using density at 20ºC, the resulting GSV is at 20ºC. When in Imperial mode, all densities are converted internally to relative density and a GSV in M³ at 60°F. For the calculation of ‘Special applications’ the calculation methods are also split between using density at 15 and density at 20°C.

Reverse calculation

Calculating all weights * volume from MTV

– Updated the Quantity Editor to reflect the changes made in the main calculator screen:

Editing loaded report in the quantity editor

– The oil conversion screen has been updated to include calculations for ‘Special applications’ wherever possible: this was not yet the case for all conversion tables. The following tables are available: 5, 6, 23, 24, 53, 54, 59, 60, 4, 8, 9, 10, 11, 12, 13, 14, 52, 56, 57, 58. The calculations used are all basis API MPMS 2004 version (with 2007 amendments).

Table 6 all values

Table 6 all values

table58

tables5-8

tables9-14

tables52-58

In the Aromatics calculator a bug prevented displaying the two groups of Aromatic HydroCarbons using the temperature in °F when using Imperial mode: this has now been corrected.

The instruction manual has been updated and can be downloaded from the page in this blog with the title ‘User Manuals for Oil Calculators’.

The latest version can be downloaded from Google Play here:

google-play-badge

OilCalcsPro version 1.4.0 for Android published!

Today a new version of OilCalcsPro for Android (version 1.4.0) was published.

The new version contains various updates and improvements:

– Added a new module, for calculating aromatics in accordance with ASTM D1555 and D1555M.

– Changed the way Bbls at 60°F are calculated when using density at 20°C to more accurately match the conversion from M³ at 20°C to Bbls at 60°F.

– Updated the Quantity Editor to reflect the changes made in the main calculator screen.

The calculation of aromatics uses ASTM D1555 to calculate VCF as well as weights and volumes using Imperial Standards, while D1555M uses SI Metric standards. To use this module, simply follow these steps:

1:Set SI Metric or Imperial Standards using the button ‘Metric’: by default the aromatics calculator uses the SI Metric Standard. When you press the ‘Metric’ button, the button title changes to ‘Imperial’, indicating that calculations are performed using the Imperial Standard:

 

2:Select the aromatic product you wish to calculate for, using the drop down (showing ‘Benzene’ by default):

3:When using the SI Metric Standard, select either ‘density 15C’ or ‘density 20C’:

4:When using the Imperial Standard, select either ‘Gallons’ or ‘Bbls’ as volume unit:

5:When you select an aromatics product, a default density corresponding to the selected product is automatically entered in the density field. If your density is different, simply update the density field.

6:VCF is calculated using either 4 or 5 decimals, depending on whether you have chosen to use 1980 tables or 2004 tables in ‘Settings’.

The instruction manual has been updated and can be downloaded from the page in this blog with the title ‘User Manuals for Oil Calculators’.

The latest version can be downloaded from Google Play here:

google-play-badge

Oil Calculator Pro for Android – now available outside of Google Play

As of today Oil Calculator Pro for Android is also available for download outside of Google Play!

The download link for the app can be found here:

                                Download Oil Calculator Pro

In order to use the app, you need to buy a license code, which can be bought on our PayPal payment page here:

                                Buy at PayPal

After downloading the app, in order to install in your Android device, do the following:

  1. Depending on your version of Android (if prior to Android 8), you may need to find the setting “Unknown sources” in “Security / Device Administration”. In newer versions, use the following steps when you’re being asked if you want to install the app:

  2. Go to Settings

  3. Go to Passwords & Security

  4. Go to Special App Access

  5. Go to Install unknown apps

Do you want to install this app?

System asks if you want to install

After installing the app and running it for the first time, the following screen will be shown. A window with the serial number of the phone and the text “Please enter your license code for serial number: ##############”. At this time access to other parts of the app are blocked. (Note: the serial number is not the actual serial number of the phone but a modified number to suit the registration purpose):

Serial number automatically copied to clipboard

Serial number automatically copied to clipboard

The serial number is automatically copied to the clipboard, so you can conveniently paste it into an email. You will also automatically receive an email from MMC advising you to send us your serial number, if you have made payment.

Once we receive your serial number, we will issue the license code which will be sent to you by email (upon completion of payment). The license code can be copied from the email and pasted straight into the register window.

As soon as you copy the license code into the registration window, the app will verify it and a small message will briefly appear “thank you for registering”.

Thank you for registering

Successfully registered

 

Now close the app, and open it again. The app will open and show the first page (the main calculator page). From this moment on all areas in the app are accessible.

App fully available

App unlocked

The app can also be downloaded in Google Play here.

The user manual is the same as for the Google Play version, and can be downloaded from the page “user manuals for Oil Calculators” (please see the links in the top of this page).

google-play-badge

Oilcalcs for iPhone iOS 13 and higher – version 1.4.1 released

Oilcalcs for iPhone iOS 13 version 1.4.1 has been approved by Apple and is now available for download here.

download in the appstore

The new version of OilCalcs has been improved for viewing in dark mode, for iPhones that have iOS 13.0 or higher installed.

Various minor bugs have also been fixed. See below for a view of the various screens in dark mode:

 

Oilcalcs for iPhone can be downloaded from the App Store here:

download in the appstore

Oilcalcs for iPhone iOS 10 and higher – version 1.3.0 released

Oilcalcs for iPhone iOS 10 version 1.3.0 has been approved by Apple and is now available for download here.

download in the appstore

The new version of OilCalcs comes with several improvements, and is the most comprehensive, flexible and versatile oil and gas calculator in the market:

Newly added tools /features:

  • LPG Table 54 (1952 version) has been added, and both in the main calculator screen and in the Gas (liquid) calculator the user can choose whether to use the 2007 version or the 1952 version by selecting V2007 or V1980 in the settings screen:
Settings 1980 version

Settings 1980 version

Settings 2007 version

Settings 2007 version

As can be seen in the screen shot below, if in the settings screen version 1980 is selected, the version button in the calculator screen will show ‘1952’ if LPG/NGL is selected as product. Please note that when using Imperial units for LPG/NGL, only the 2007 version table (54E) is available. If the user has selected LPG/NGL as cargo type and 1952 table version with SI Metric settings, the app will automatically switch to the 2007 version if the user then changes from SI Metric to Imperial units.

Using table 54 (1952) for LPG / NGL

Using table 54 (1952) for LPG / NGL

Improvements:

  • The formula for calculating the gas density in the Gas (vapor) calculator has been modified to yield more accurate results.
  • In the Gas (vapor) calculator the tank pressure (in kPa) can now be entered either in Gauge or Absolute pressure:
Gas vapor calculation

Gas vapor calculation

  • In both liquid and vapor Gas calculations, MTons in vac are now used for the weight instead of kilograms:
Gas liquid calculation

Gas liquid calculation

Gas vapor calculation

Gas vapor calculation

  • All algorithms for oil and gas calculations have been improved in order to match with calculations done when using Microsoft Excel.
  • In the calculator screen GSV M³ now indicates whether M³ at 15°C or M³ at 60°F are used.

With the latest version, Oilcalcs for iPhone is completely in sync with OilcalcsPro for desktop and Oil Calculator Pro for Android. An updated instruction manual will be published within the next couple of weeks.

Oilcalcs for iPhone can be downloaded from the App  Store here:

download in the appstore

New version of OilCalcsPro for Android launched!

Today a new version of OilCalcsPro for Android (version 1.2.1) was launched.

The new version contains various updates and improvements:

– Added three buttons in the calculator screen in order to change settings without having to go to the settings screen.

– Optimized various calculations to make the app respond faster.

– Revamped the user interface, with a new color theme.

– Added LPG table 54 (1952) as requested by users.

– Added both LPG table 54 (1952) and 54E (2007) in the LPG/NGL conversion screen.

– Added informative warning messages in calculator screen for temperature or density out of range.

New buttons in the calculator screen: these can be used to change between:

– Imperial and Metric units

– 1980 (1952 for LPG table 54) and 2004/2007 table versions

– Using table 56 or density – 11 points

Three buttons added in calculator screen

Three buttons added in calculator screen

Using LPG table 54 (1952)

Using LPG table 54 (1952)

Table 54 and 54E added to LPG/NGL conversion screen

Table 54 and 54E added to LPG/NGL conversion screen

Out of range warning for density

Out of range warning for density

Out of range warning for temperature

Out of range warning for temperature

The instruction manual has been updated and can be downloaded from the page in this blog with the title ‘User Manuals for Oil Calculators’.

The latest version can be downloaded from Google Play here:

google-play-badge

OilcalcsPro for desktop 101 – Part 5

In our last post concerning OilcalcsPro for desktop 101 we discussed the visco – temperature converter.

We also talked about the liquid calculations for LPG and NGL, and finally we briefly discussed the vapor calculations for LPG and NGL.

In today’s tutorial we are going to talk about the following topics:

  • LNG liquid density calculation

Initially we were planning to discuss more topics in part 5 but because the LNG liquid density calculation is a lengthy topic in itself, we decided to dedicate this post only to that.

If you are interested in following the examples on your own machine, the latest version of OilcalcsPro For Desktop can be downloaded here.

If you want to convert the demo version to the permanent pro version, buy a license code voucher here: Goto Paypal

Alternatively, you can use Android Oil Calculator Pro to follow the example.

google-play-badgeThe latest version of Oil Calculator Pro on Android can be downloaded here.

So let’s get started with the LNG liquid density calculation: to get to it click ‘Tools’ in the main screen, then click ‘LNG Density Calculation’ in the tools screen.

The LNG Density calculator (as shown in below screenshot) requires three things:

  • The names of the constituent components.

  • The fraction (quantity) of each constituent, as a number between 0 and 1.

  • The liquid temperature in degrees Celsius.

LNG density calculator

LNG density calculator

As you can see in the above screen shot, there are nine text boxes on the left with the text ‘Click to select constituent’, and nine text boxes on the right with the text ‘Enter value’. When you click a box on the left, a new window comes up with the available constituents:

Choose constituent

Choose constituent

When you double click an entry in this new window (or select an entry and click the ‘Return’ button), the text will automatically be copied into the calculator. After selecting the desired constituent for each text box in the calculator, you can enter the quantity for each constituent (as a value between 0 and 1, so for example 0.6 means 60%).

Download dropbox for freeDownload dropbox for free

After entering all constituents and their fractions, all that is left to do is to enter the liquid temperature in the temperature box, and as you type the temperature, the LNG density will be displayed.

If you have previously entered data, you can retrieve your data by clicking the ‘Load Data’ button. The calculator then retrieves the data from the database and updates the screen accordingly. This can take a bit of time (around 3~4 seconds):

Retrieve saved data

Retrieve saved data

The temperature is never saved, so this you have to enter again. If you want to clear the entire screen, click the ‘Clear All’ button. Aside from clearing all entries, the app will then also ask you if you wish to delete the data from the database:

Delete saved entries

Delete saved entries

If you press ‘OK’, the data will be deleted, if you press ‘Cancel’ the data will not be deleted but the entries on the screen will be cleared.

The LNG density calculator follows several rather strict rules that must be complied with to enable the calculator to work, namely:

    1. Liquid temperature must be between -183°C and -144°C

    2. The minimum Methane content is 60%

    3. The maximum Nitrogen content must be less than 4%

    4. The sum of iso-butane and n-butane must be less than 4%

    5. The sum of iso-pentane and n-pentane must be less than 2%

How it works:

The app uses the so called ‘revised Klosek-McKinley method’ (revised that is by McCarthy) to calculate the liquid density. This method is described in a variety of documents and books, two of the more known resources are:

  • The ‘LNG Custody Transfer Handbook, 4th Edition’ (2015) issued by GIIGNL (www.giignl.org); GIIGNL stands for ‘Groupe International des Importateurs de Gaz Naturel Liquéfié’. The book can be downloaded from the website: http://www.giignl.org/system/files/cth_version_4.00_-_february_2015.pdf for free.

  • NBS Technical Note 1030 (Four Mathematical Models for the prediction of LNG density), published by the US Department of Commerce / National Bureau of Standards (1980). This resource can be downloaded from: https://archive.org/details/fourmathematical1030mcca for free.

NBS Technical Note 1030 actually discusses four different methods for predicting LNG density, but among these four, the revised Klosek-McKinley method is generally considered to be a fairly accurate and consistent one, albeit at the expense of flexibility. It is also the method used by many terminals to calculate the liquid density, as stated in their contracts.

When using the revised Klosed-McKinley method only the following nine constituents are defined for LNG:

  • Methane (CH4)
  • Ethane (C2H6)
  • Propane (C3H8)
  • Isobutane (i-C4H10)
  • n-Butane (n-C4H10)
  • Nitrogen (N2)
  • Isopentane (i-C5H12)
  • n-Pentane (n-C5H12)
  • n-Hexane (n-C6H14)

As a side note, the difference between Isobutane and n-butane is the way the isomers are structured: n-butane (also referred to as butane) has an un-branched structure like so: /\/, whereas Isobutane (also referred to officially as methyl propane) has a structure like a Y, with the 4th carbon molecule in the center, connecting the 3 legs.

The same analogy can be used to explain the difference between pentane and Isopentane.

Once you enter the participating constituents and their fractions, the app calculates for each constituent the molecular weight fraction by multiplying the molar weight of each constituent with its fraction: xMi = Mi * fraction, and also calculates the molecular weight of the LNG by adding all molecular weight fractions: MW = ΣxMi.

Once the liquid temperature has been entered, the app also calculates the molar volume for each constituent: for each constituent, the molar volume at certain temperatures is given in a table; the full details can be found in table 8 of NBS Technical note 1030, bearing in mind that there is no data for n-Hexane in this table.

Update: there was a bit more to it than the below explanation: ISO 6578:1991 provides data and procedures for calculating the molar volumes of pure components for certain temperatures. Taking several known volumes at observed temperatures we compiled a table for our entire required temperature range, but these values are considerably different from the approach that we used initially as explained below. (Now marked with strike through). We therefore opted to use the data as provided by the table B1 in aforementioned ISO 6578:1991. 

We had to create our own data for n-Hexane by taking the known molar volume of n-Hexane at 25°C, and using the following formulas to create a table:

If the molar volume vo at temperature To of a pure liquid is known, as well as the critical temperature Tc and the critical compressibility factor Zc, then the molar volume at any other temperature can be calculated using the Rackett equation:

ln V = ln V0 + k * ln Zc2

where k = (1 – T1/Tc)2/7 – (1 – To/Tc)2/7

and Zc can be estimated from the Pitzer acentric factor ω by (Zc = 0.29056 – 0.08775ω) if not specifically known. For n-Hexane however Zc, Tc,  and other data are well known:

  • Z= 0.2659
  • Tc = 507.6
  • V= 0.13151 at 25°C / 298.15K

Re-working the two above formulas into one that gives you the molar volume with the temperature as input results in the following (with temperatures in degrees Kelvin):

V1 = 10^[LOG(Vo) + ((1 – T1/Tc)2/7 – (1 – To/Tc)2/7) * LOG(Z* Zc)]

The reason for including n-Hexane is that this constituent is frequently found in LNG spec sheets (albeit in small quantities).

So now we can interpolate / calculate the molar volume for each constituent, by looking up the molar volume for the actual temperature for each constituent, and multiplying that volume by the fraction of the constituent. For example for Methane we find the following values:

Methane example

Methane example

With 0.033950 being the value of the constituent molar volume for Methane at a temperature of 112.38K. We do the same for all involved constituents, and after that we sum up all constituent molar volumes to get the molar volume for this specific LNG liquid mixture:

  • specific molar volume =∑i (mole fractions x molar volumes @ actual temperature in Kelvin) = ∑i(Xi*Vi)

To find the LNG liquid density we have to divide the molecular weight by the molar volume, but first we need to apply two correction factors k1 and k2 to the aforementioned specific molar volume: both these two factors depend on the temperature of the liquid and the molecular weight of the LNG mixture. The factors can be found in table 9 and table 10 inside the aforementioned Technical Note 1030.

After interpolating / calculating both k1 and k2, with the arguments of liquid temperature and molecular weight of the mix, we can calculate the molar volume of the mix with the following formula:

Vmix = ∑iXiVi –round [(k1 + (k2 – k1) * round(xN2/0.0425, 6)) * xCH4, 6]

where xN2 is the fraction of Nitrogen, xCH4 is the fraction of Methane;

the term (xN2 / 0.0425) must be rounded to 6 decimals, and the term

[(k1 + (k2 – k1) * xN2/0.0425) * xCH4] must also be rounded to 6 decimals.

Once Vmix has been established, the liquid density follows from:

  • density = Molecular weight / Vmix

One important issue to point out here: the formula for Vmix as mentioned in the LNG Custody Transfer Handbook on page 94 of the book contains an error; the formula is listed there as:

  • Vmix = ∑iXiVi –round [k1 + (k2 – k1) * round(xN2/0.0425, 6) * xCH4, 6]  instead of:

  • Vmix = ∑iXiVi –round [(k1 + (k2 – k1) * round(xN2/0.0425, 6)) * xCH4, 6] (note the missing ( and ) in the first formula)

The ,6 in round(…, 6) indicates that the term shall be rounded to 6 decimals.

Using either OilcalcsPro for desktop or the Android version, following the example as given in the LNG Custody Transfer Handbook is a breeze; simply select the constituents with their corresponding fractions as mentioned in table A10-1 on page 92, enter the temperature of -160.77°C (is equal to what the book uses: 112.38K), and the resulting density will be shown as 457.129 kg/M³, as can be seen in the screenshot above showing you the retrieved data.

Well, we have come to the end of part 5 of OilcalcsPro tutorial 101. In part 6 we will talk about the improved version of the LPG density calculator.

If you are interested in following the examples on your own machine, the latest version of OilcalcsPro For Desktop can be downloaded here:

If you want to convert the demo version to the permanent pro version, buy a license code voucher here: Goto Paypal

OilcalcsPro for desktop 101 – Part 4

In our last post concerning OilcalcsPro for desktop 101 we discussed some more calculations using the main calculator.

We also talked about the two simple fuel blenders, the problems encountered when loading two components of different temperature and density and the shrinkage caused by mixing two components with different densities. And finally we discussed how the viscosity blender works.

In today’s tutorial we are going to talk about the following topics:

  • The visco – temp converter

  • LPG/NGL calculations – liquid

  • LPG/NGL calculations – vapor

If you are interested in following the examples on your own machine, the latest version of OilcalcsPro For Desktop can be downloaded here.

If you want to convert the demo version to the permanent pro version, buy a license code voucher here: Goto Paypal

So let’s get started with the visco – temp converter: to get to it click ‘Tools’ in the main screen, then click ‘Viscosity/temp conversion’ in the tools screen.

This utitility does the following things:

  • For a given temperature / viscosity combination it calculates and displays the viscosity/temperature graph using the ‘V50’ formula.

  • For two pairs of temperature and viscosity it calculates and displays the viscosity/temperature graph using the ‘Walthers equation.

  • For a given viscosity it will calculate the corresponding temperature, either using the V50 formula or the Walthers equation.

  • For a given temperature it will calculate the corresponding viscosity, either using the V50 formula or the Walthers equation.

The viscosity is in cSt, the temperature can be either in degrees Celsius or Fahrenheit.

Looking at the below screenshot, let’s have a look at the various controls:

V50 graph

V50 graph

In the top left corner you can see the V50 calculator: only one viscosity and one temperature are entered to enable displaying the graph. In the V50 calculator is a button that shows ‘°C’. If you press it, the temperature values will automatically be converted to degrees Fahrenheit, and you can then also enter your temperature values in degrees Fahrenheit. After converting to degrees Celsius, the temperature button now shows the text ‘°F’, and if you click it again, temperatures will be converted from degrees Fahrenheit back to Celsius.

Download dropbox for freeDownload dropbox for free

The viscosity and the temperature field in the top are the ones used to calculate the V50 graph. Below that are two more fields for viscosity and temperature; if you enter an alternative viscosity, the corresponding temperature is calculated and displayed in the second temperature field. Likewise if you enter an alternative temperature, the corresponding viscosity is calculated and displayed in the second viscosity field.

For a practical example, enter a value of 380 cSt and 50°C in the two fields in the top. As soon as you enter the values, the graph is automatically drawn. Above the graph there is a drop-down field where you can choose the maximum viscosity value to be plotted in the graph, and there is a button that presently says ‘Graph – single reference’. Clicking this button lets you switch between showing the V50 and the Walther graph.

Below the graph there is a check-box  that says ‘switch graph automatically when switching between Walther and V50; by default the check-box is ticked, so that when you enter a new value in the V50 calculator, automatically the V50 graph is drawn, and if you enter a new value in the Walther calculator, automatically the Walther graph is drawn and displayed.

Now if you enter a value of 500 in the alternative viscosity field, the temperature field will show 45.8°C. Conversely, if you enter a value of 49 in the alternative temperature field, the viscosity field will show 405 cSt. By default the viscosity range drop down is set at 500 cSt. If you change it to for example 1000 cSt, the graph is redrawn and the viscosity and temperature axis are both automatically adjusted.

Now lets make an example using the Walther equation: the Walther formula is usually written as: log10*log10*cS+a) = log10(log10*b+1/Tc). Using two sets of viscosity and temperature values, a and b can be solved and hence the graph can be calculated and plotted. Let’s enter the following values in the Walther calculator:

  • 950 cSt at 18°C

  • 120 cSt at 100°C

In below screenshot the graph is plotted for these values; if you now enter an alternative temperature of 50°C, you will see a calculated viscosity of 364.1 cSt for the corresponding viscosity:

Walther graph

Walther graph

By changing the viscosity range value in the drop down field, you can force the y-axis to a different viscosity maxima, with a maximum of 4,000 cSt.

Please note that while the V50 formula is good enough for a quick and easy approximation, it is not quite as accurate as the Walther formula. The V50 formula provides a reasonable estimate for viscosity / temperature conversions in the temperature range between approximately 30 °C and 120 °C for well known bunker fuels such as RMG 380.

If you need an accurate estimate for any fuel, definitely the Walther formula is the recommended one to use.

Next up is the LPG/NGL liquid calculation: this calculator can be used to calculate weights and volumes of a known quantity of LPG or NGL in a shore tank or ship tank.

To get there, click ‘Return’ on the visco/temp converter, and then in the tools screen, click the ‘LPG/NGL Calculation – Liquid.

To calculate the quantity of LPG or NGL, the following parameters are required:

  • Relative density at 60°F or density at 15°C

  • Liquid temperature

  • Shrink factor of the tank

  • Observed liquid volume

If you enter the relative density, this will automatically be converted to density at 15°C. This density will be used to calculate the CTL, using the calculations as described in API MPMS 11.2.4 (ASTM Technical Publication TP27).

The shrink factor is assumed to be 1 if no entry is made. Normally, the tank tables for the tank in question will provide the shrink factor, based on the liquid observed temperature.

Table 56 for conversion of weight in vacuo to air is calculated using:

T56 = (1 – (1.2 / dens15)) / (1 – (1.2 / 8100)).

After entering also the observed volume in M³, weight in vacuo and air are calculated using T56.

Now let us carry out an example: enter a relative density of 485, a liquid temperature of -15°C, a shrink factor of 0.99858 and an observed volume of 500 M³. You will see the density at 15°C is 485.4, the CTL is calculated at 1.08970 and T56 is calculated at 0.99768.

The resulting weight in vacuo is 264.095 MT, and the resulting weight in air is  263.481 MT.

The LPG/NGL calculator – vapor works a bit differently: in order to calculate the density of the vapor, the following formula is used:

d15= (288.15 * absPx * MolWeight) / (liqTemp * atmPx * 23.6382)

Where:

  • d15 is vapor density at 15°C

  • absPx is the absolute tank pressure in kPa

  • MolWeight is the molecular weight of the vapor, approximately 44 for LPG and depending on the specific composition. For LNG (or NGL as it is also referred to), the molweight is approximately 18, again depending on the actual composition.

  • liqTemp is the observed liquid temperature in °C

  • AtmPx is the atmospheric pressure in kPa

Both the molecular weight and density at 15°C are normally provided with the quality certificate, but the density can also be calculated using for example the revised Klosek-McKinley method. That is however a topic worthy of an entire blog post in itself.

Let us now do an example: head over to the LPG/NGL vapor calculator by first clicking ‘Return’ inside the LPG/NGL liquid calculator, then click the ‘LPG/NGL calculator – vapor’ in the tools screen.

Assume the following values:

  • Vapor temperature: -135°C

  • Tank vapor pressure: 5.6 kPa

  • Atmospheric pressure: 101.3 kPa

  • Molecular weight: 16.5

  • Vapor observed volume: 200 M³

  • Shrink factor: 0.99954

The vapor density is calculated as 1.433 and the resulting weight in vacuo is 286.468 Kg (not MT!).

Well, we have come to the end of this tutorial! In the next tutorial we will talk about the following topics:

  • LPG density calculation

  • LPG/NGL conversions

  • Oil conversions

If you are interested in following the examples on your own machine, the latest version of OilcalcsPro For Desktop can be downloaded here.

If you want to convert the demo version to the permanent pro version, buy a license code voucher here: Goto Paypal.

 

 

Android Oil Calculator Pro – Important update released

MMC has released version 1.1.1 of Oil Calculator Pro today (12th November 2015).

The updated version can be downloaded in Google Play here.

google-play-badge

 

For an introductory video on youtube, here is a link:   https://www.youtube.com/watch?v=CxM13B1eWPU

The update comes with various bug fixes, and a graphing utility has been added now to the Visco / Temperature converter:

viscotemp top

Visco / Temperature converter

walther

Graph for Walther equation

V50

Graph for V50 equation

The graphing utility lets the user choose whether to view either the Walther graph or the V50 graph using the button ‘Show V50’. This text automatically changes to ‘Show Walther’ after selecting V50.

The graph is automatically adjusted for screen size, temperature and viscosity range, and the user can select which viscosity range he wants to use (i.e 0 – 500, or 0 – 1000 etc):

Select Viscosity range

Select Viscosity range

There are different color themes available that the user can choose from:

Select color theme

Select color theme

Bugs that were fixed in this update:

  • In various screens erroneous input (for example entering a ‘.’ in a density field) caused a crash. All functions have been updated with additional crash protection in the case of wrong / missing input.

  • Some text fields showed a keyboard with minus sign when the input was supposed to be positive only. All such fields have been updated.

For those unfamiliar with Oil Calculator Pro, the app contains the following features:

  • Calculation of volume correction factor, weights and volumes, both using SI Metric and Imperial units.

  • Calculations can be performed using both ASTM tables 1980 and 2004.

  • Reverse calculation using Metric Tons, Bbls 60F, GSV or Ltons as a starting point.

  • Storing an unlimited number of weight/volume calculations in a data base. These calculations can later be retrieved, reviewed and edited.

  • Oil conversions: convert between observed density, API, density 15ºC, density 20ºC and relative density.

  • These conversions can also be done ‘inline’ in the calculator tab.

  • Oil conversions: ASTM version 2004 of tables 5, 6, 23, 24, 53, 54, 59 and 60 are provided for lookup. Each table contains values for Products, Crude, Luboils and Special Applications (where applicable, i.e. table 6, 24, 54 and 60).

  • LPG density calculator using the Francis formula.

  • LPG / NGL conversions: provides lookup for table 23E, table 53E and 59E.

  • LPG / NGL liquid and vapor calculations: calculate Mtons in vac and Mtons in air based on required inputs.

  • Fuel blenders, for calculating shrinkage and resulting density, and to check which product to load first based on density and temperature.

  • Viscosity blender: blending of up to 10 components, calculates resulting viscosity, density, pour point and flash point. The 10 components are stored in a database, and can be retrieved at any time for reviewing, editing etc.

  • Viscosity fraction calculator: calculate fractions of 2 components for a target viscosity.

  • Viscosity and temperature: contains two sections; one section using a modified V50 formula, to calculate either viscosity or temperature, based on a given viscosity and temperature. The other section  uses the Walther equation (i.e. two viscosities and two temperatures) to establish the graph, and calculate an alternative viscosity or temperature. This unit conforms with ASTM D341.

Download dropbox for freeDownload dropbox for free

More information on the various modules can be found elsewhere in this blog. For those interested in downloading:

The app can be downloaded in Google Play here.

google-play-badge