Independent oil & gas laboratory analysis and engineering consultancy+44 1932 363767 | info@astra-analytics.co.uk
Engineering tools

Engineering calculators

Quick first-pass answers for hydrates, hydraulics, cooldown, corrosion and scale. Each calculator names its method and its limits, and runs in your browser. Nothing you enter is stored or sent. Use is subject to the calculator terms of use and our website terms.

New · mobile app

CLATHRIS flow-assurance app for iPhone & Android

Gas hydrate curves and inhibitor dosing (vdW–Platteeuw with PR / CPA), water content and methanol / MEG losses, CO₂/H₂S corrosion, mineral scale mixing and wax appearance temperature. Runs on your phone, works offline after the first use, and nothing you enter leaves the device. Free to use.

Install: open the app on your phone, then iPhone (Safari): Share → Add to Home Screen · Android (Chrome): ⋮ → Install app. On a computer, scan the QR code with your phone.

Open the CLATHRIS app

Scan to open on your phone
New · web application

FLUXIS multiphase pipeline simulator

Steady-state and transient multiphase flow in pipelines and risers: pressure, temperature and liquid holdup profiles (Beggs & Brill or mechanistic), shut-in cooldown, restart, rate changes and choke closure, with hydrate and wax margins, slugging (Pots number), API RP 14E erosion and CO₂ corrosion along the line. Fluid properties come from the CLATHRIS engine (Peng-Robinson with C7+ characterisation).

Runs in your browser on a PC or laptop; nothing you enter leaves your computer. Case files are shared with FLUXIS desktop, which we recommend for long transient studies. To open it on another device, scan the QR code.

Open FLUXIS

Scan to open on your phone or tablet

About these calculators

These calculators give quick, first-pass answers to common flow assurance questions using well-known published correlations. They run entirely in your browser: nothing you enter is stored or sent to us. Each one names the method it uses and warns when your inputs fall outside the range the method was developed for.

Screening only. Correlations are simplifications of real behaviour and can be wrong by a wide margin for a particular fluid or system. Results must not be used on their own for design, operation, materials selection or safety decisions. By using the calculators you accept the terms of use at the foot of this page. For field-specific answers, talk to us about laboratory testing and engineering studies.

Hydrates

Hydrate curve from gas composition

Hydrate equilibrium temperature and the full pressure–temperature curve for a gas of known composition, with or without methanol, MEG or ethanol in the water. More rigorous than the gas-gravity method below.

Method: van der Waals and Platteeuw (1959) solid-solution theory for structure I and II hydrates, with the Langmuir constants and reference properties of Munck, Skjold-Jørgensen and Rasmussen (1988). Gas fugacities from the Peng–Robinson (1976) equation of state with zero binary interaction parameters. Water activity is corrected for dissolved gas by Henry's law and for inhibitor as an ideal solution (activity equals the mole fraction of water), which slightly under-predicts the depression from methanol. Checked against published hydrate data for methane, ethane, propane, CO₂ and methane with methanol: typically within about 1 °C, and tending to predict a hydrate temperature 0.5 to 1 °C lower than measured for uninhibited methane-rich gas, so add a margin. Salts, components heavier than butane, ice and structure H are not modelled.

Screening estimate only. Not for design, operating or safety decisions without independent verification by a competent engineer. Use is subject to the terms of use.

KHI desktop assessment

Can a kinetic hydrate inhibitor (KHI) protect this system? KHIs are credited with holding off hydrate formation only down to about 5 to 6 °C below the hydrate boundary calculated with the hydrate forced to structure I, even when the gas actually forms structure II. Enter the gas, the pressure and the coldest operating temperature to see where the KHI limit sits against the real hydrate curve.

Method: the stable hydrate boundary is calculated as in the composition-based hydrate calculator above (van der Waals and Platteeuw theory, Munck et al. parameters, Peng–Robinson fugacities). The same model is then solved with the hydrate restricted to structure I. A KHI is credited with protection only to the chosen subcooling (default 5 to 6 °C) below that forced structure I boundary. For a structure II forming gas the subcooling a KHI can handle, measured from the real (structure II) boundary, is therefore the structure gap plus 5 to 6 °C; for a structure I gas it is simply 5 to 6 °C. KHI performance depends on the polymer, dose, water chemistry, salinity, residence time and shut-in duration, so use this to screen whether a KHI is worth testing, then qualify the chosen product in the laboratory under field conditions.

Screening estimate only. Not for design, operating or safety decisions without independent verification by a competent engineer and laboratory qualification of the inhibitor. Use is subject to the terms of use.

Hydrate formation temperature

Estimated temperature below which hydrates can form in a natural gas with free water, from gas gravity and pressure.

Method: Gas-gravity correlations fitted to the Katz hydrate chart: Towler and Mokhatab (2005), and Motiee (1991). Pure water, no inhibitor or salt. Gas-gravity methods can be several degrees in error for gases rich in CO₂, H₂S or heavier components; use a composition-based thermodynamic model for design.

Screening estimate only. Not for design, operating or safety decisions without independent verification by a competent engineer. Use is subject to the terms of use.

Thermodynamic inhibitor concentration

Hydrate temperature depression for a given inhibitor concentration in the water, and the concentration needed for a target depression.

Method: Hammerschmidt (1934), ΔT = K·W / (M·(100 − W)) with K = 1297 (°C), and Nielsen and Bucklin (1983), ΔT = −72·ln(xw) with xw the mole fraction of water. Neither accounts for salts, which add further depression, or for inhibitor lost to the gas and hydrocarbon phases.

Screening estimate only. Not for design, operating or safety decisions without independent verification by a competent engineer. Use is subject to the terms of use.

Inhibitor injection rate

Lean inhibitor rate needed to reach a target concentration in the produced water.

Method: Mass balance on the aqueous phase: lean rate = water rate × Wrich / (Wlean − Wrich). Water density taken as 1,000 kg/m³. Inhibitor losses to vapour and hydrocarbon phases, and design margins, must be added separately.

Screening estimate only. Not for design, operating or safety decisions without independent verification by a competent engineer. Use is subject to the terms of use.

Hydraulics

Liquid line pressure drop

Single-phase liquid pressure drop in a straight pipe.

Method: Darcy–Weisbach equation with the Darcy friction factor from the Haaland (1983) explicit approximation to the Colebrook–White equation; laminar flow uses f = 64/Re. Fittings, valves and two-phase effects are not included.

Screening estimate only. Not for design, operating or safety decisions without independent verification by a competent engineer. Use is subject to the terms of use.

Gas pipeline pressure drop

Outlet pressure for a horizontal, single-phase gas line at a given flow.

Method: Isothermal general flow equation, P₁² − P₂² = f·L·ṁ²·Z·R·T / (D·A²·M), with the friction factor from either the Haaland approximation to Colebrook–White or the Weymouth transmission factor (F = 11.18·D1/6, D in inches). Elevation changes, temperature changes along the line and liquid holdup are not included.

Screening estimate only. Not for design, operating or safety decisions without independent verification by a competent engineer. Use is subject to the terms of use.

Erosional velocity

Erosional velocity limit for a gas–liquid line and how close the actual velocity is to it.

Method: API RP 14E, Ve = C / √ρm, converted to SI as Ve (m/s) = 1.22·C / √ρm (kg/m³), with the no-slip mixture density at line conditions. API RP 14E is widely regarded as conservative for clean service and not conservative where sand is produced; sand erosion needs a dedicated assessment such as DNV RP O501.

Screening estimate only. Not for design, operating or safety decisions without independent verification by a competent engineer. Use is subject to the terms of use.

Wax and cooldown

Pipeline cooldown time

Time for a shut-in line to cool from its operating temperature to a critical temperature, such as the wax appearance temperature or the hydrate temperature.

Method: Lumped heat capacity model, T(t) = Ta + (T0 − Ta)·e−t/τ, with τ the heat stored in the fluid and carbon steel wall divided by U·π·Do. Wax appearance temperature itself is not predicted: published wax correlations are too unreliable for use, and WAT should be measured on a representative sample.

Screening estimate only. Not for design, operating or safety decisions without independent verification by a competent engineer. Use is subject to the terms of use.

Corrosion

CO₂ corrosion rate, NORSOK M-506

Corrosion rate of carbon steel in water containing CO₂, including the effects of pH and flow. The industry-standard empirical model, and usually less conservative than de Waard–Milliams at higher pH.

Method: NORSOK standard M-506, Rev. 2 (2005): CR = Kt·fCO₂0.62·(S/19)0.146 + 0.0324·log f·f(pH)t, with the standard's Kt and f(pH) tables at 5 to 150 °C and linear interpolation between tabulated temperatures. CO₂ fugacity uses the standard's fugacity coefficient; wall shear stress uses its friction factor expression with the velocity, density and viscosity entered. Calculated pH uses the standard's CO₂–water equilibrium constants without dissolved iron. The glycol factor and inhibitor efficiency are applied as simple multipliers. Not valid where H₂S dominates, with organic acids above about 100 ppm at low CO₂ pressure, or for top-of-line and localised corrosion. This is an independent implementation, not the NORSOK software.

Screening estimate only. Not for design, operating or safety decisions without independent verification by a competent engineer. Use is subject to the terms of use.

CO₂ corrosion rate of carbon steel

Worst-case uniform corrosion rate of bare carbon steel in water containing dissolved CO₂.

Method: de Waard and Milliams (1991): log V = 5.8 − 1710/T + 0.67·log(fCO₂), with the fugacity coefficient log a = P·(0.0031 − 1.4/T), the scale factor log Fscale = 2400/T − 0.6·log(fCO₂) − 6.7 (capped at 1) and the glycol factor log Fglyc = 1.6·(log W − 2). pH, flow velocity, oil wetting, inhibition and H₂S are not included; the result is normally conservative for inhibited or oil-wet systems.

Screening estimate only. Not for design, operating or safety decisions without independent verification by a competent engineer. Use is subject to the terms of use.

Sour service screening

Whether H₂S partial pressure exceeds the sour service threshold, and which acid gas dominates corrosion.

Method: Partial pressure screening against the 0.3 kPa (0.05 psia) H₂S threshold in ANSI/NACE MR0175 / ISO 15156, and the commonly used pCO₂/pH₂S ratio bands (below 20 H₂S dominated, 20–500 mixed, above 500 CO₂ dominated). Materials selection must follow the full standard, including in-situ pH and the severity regions in ISO 15156-2.

Screening estimate only. Not for design, operating or safety decisions without independent verification by a competent engineer. Use is subject to the terms of use.

Scale

Mineral scale saturation indices

Saturation index of calcite, barite and celestite for a produced or injection water analysis. SI above zero means supersaturated.

Method: Oddo and Tomson (1982, 1994) conditional solubility equations, with temperature, pressure and ionic strength terms; sulphate ion pairing by the Oddo–Tomson stability constant. Calcite uses the measured-pH form, so pH must be representative of conditions. Concentrations are converted to mol/L assuming a density of 1 kg/L. Scale only forms where the SI is positive and kinetics allow; deposition risk and inhibitor needs should be confirmed by laboratory testing.

Screening estimate only. Not for design, operating or safety decisions without independent verification by a competent engineer. Use is subject to the terms of use.

Unit converter

Oilfield unit converter

Common pressure, temperature, length and flow units.

Method: Exact conversion factors. Standard gas volumes: sm³ at 15 °C and 1.01325 bar; scf at 60 °F and 14.696 psia, corrected for the difference in reference temperature.

Screening estimate only. Not for design, operating or safety decisions without independent verification by a competent engineer. Use is subject to the terms of use.

Terms of use

The calculators on this page are provided by Astra Analytics Ltd free of charge, for general information and preliminary screening only. By using them you agree to these terms.

  • No advice or warranty. The calculators use simplified published correlations. Astra Analytics Ltd gives no warranty, express or implied, that the methods or results are accurate, complete, current or fit for any particular purpose, and the results are not professional or engineering advice.
  • Your responsibility. You are responsible for checking that a method is appropriate for your case, for the inputs you enter, and for verifying any result by independent means before relying on it. Results must not be used on their own for design, construction, operation, materials selection, safety or regulatory decisions.
  • Limitation of liability. To the fullest extent permitted by law, Astra Analytics Ltd, its directors, employees and agents accept no liability for any loss, damage, cost or expense of any kind, whether direct, indirect or consequential, and including loss of production, profit, revenue or data, arising from or in connection with the use of, or reliance on, these calculators or their results, whether in contract, tort (including negligence), breach of statutory duty or otherwise.
  • What is not excluded. Nothing in these terms excludes or limits liability that cannot lawfully be excluded or limited, including liability for death or personal injury caused by negligence, or for fraud.
  • No engagement. Using the calculators does not create a contract for services or any professional relationship with Astra Analytics Ltd. Engineering advice is given only under a written agreement.
  • Engineering use. Before any result is used for design, operation, materials or chemical selection, safety or regulatory decisions, it must be checked independently by a suitably qualified engineer. Please consult us: we can provide a reviewed study or laboratory measurements under a written agreement.
  • CLATHRIS and FLUXIS. These terms, and section 4 of our website terms, also apply to the CLATHRIS and FLUXIS apps and desktop software.
  • Changes. We may change, correct or withdraw any calculator at any time without notice.
  • Governing law. These terms are governed by the law of England and Wales, and the courts of England and Wales have exclusive jurisdiction.

Need more than a screening estimate?

Our laboratory measures hydrate, wax, scale and corrosion behaviour with your fluids and conditions, from 0 to 700 bar and −50 to 100 °C.

Discuss your requirement