---
cid: po.bp.fa.integrated.assessment
hub: fa
tags: [flow-assurance, hydrate, corrosion, sour-service, erosion, asphaltene, de-Boer, risk, integrated, screening]
facets: { discipline: production }
title: Integrated Flow Assurance Screen
summary: "Rates a production line red, amber or green for hydrates, CO2 corrosion, sour cracking, erosion and asphaltenes, with one overall verdict."
slug: po.fa.integrated.assessment
type: worksheet
---

# Integrated Flow Assurance Screen

## Description

Which flow-assurance threats does a production line face, and how bad is each? You enter the line's pressure, temperatures and bore, the gas and water analyses, the rates, the service, and the reservoir oil's pressure, bubble point and density. You read off a red, amber or green rating against a stated threshold for hydrates at the arrival, CO2 corrosion and sour cracking at the inlet, erosion, and asphaltenes in the reservoir oil, with the worst of them as the line's overall rating.

**Parameters:**
- **Line**: the absolute pressure `FAI_P`, the inlet temperature `FAI_Tin` (corrosion and erosion), the arrival temperature `FAI_Tarr` (hydrates) and the bore `FAI_ID`
- **Fluids and rates**: the gas gravity `FAI_SG`, its CO2 mole fraction `FAI_CO2` and H2S `FAI_H2S` in ppm, the water's in-situ pH `FAI_pH`, the gas rate `FAI_Qg` in MMscf/d, the oil-and-water rate `FAI_QL` in bbl/d and its blended gravity `FAI_SGL`
- **Service** (1 = yes, 0 = no): sand `FAI_Sand`, continuous service `FAI_Cont`, a corrosive fluid without inhibition `FAI_Corr`
- **Reservoir oil**: the initial pressure `FAI_Pres`, the bubble point `FAI_Pb` and the in-situ density `FAI_RhoIs` in g/cm³

**How to use it:** Take the arrival pressure and temperature from a flowline model (and the cooled-down temperature for a shut-in), the gas and water analyses, the allocated rates, and the reservoir oil's pressure, bubble point and in-situ density from its PVT report. Read the five ratings and the overall one; the overall check says what a red or amber rating asks for. A thresholds table states every limit, and the de Boer plot is drawn from the same function the rating uses. Take any threat that is not green to its own sheet for the full method.

**Method:** *Hydrates:* Towler-Mokhatab's fit of the Katz chart at the line pressure; the subcooling is Teq less the arrival temperature, and Hammerschmidt's methanol is shown for scale. *Corrosion:* the de Waard-Milliams rate of bare carbon steel at pCO2 = y·P and the inlet temperature, classed by NACE SP0775. *Sour cracking:* pH2S = y·P and the ISO 15156-2 region. *Erosion:* the gas at line conditions by Standing, Wichert-Aziz and DAK, the no-slip mixture density and velocity, and API RP 14E's Ve = C/√ρm with the C factor named by the service, as the erosional velocity sheet does. *Asphaltenes:* the undersaturation Pres − Pb against the in-situ density on the de Boer plot.

The ratings: hydrates green when the arrival is 5 °F or more warmer than Teq, amber within 5 °F, red inside the hydrate region; corrosion green to 0.12 mm/yr (NACE moderate), amber to 0.25, red above; sour cracking green in region 0, amber in regions 1 and 2, red in region 3; erosion green below a V/Ve of 0.8, amber to 1, red at 1 or more; asphaltenes green, amber or red in de Boer's no, slight and severe regions.

**Example:** The default case is the flow-assurance family's reference flowline: a 6-in subsea tieback at 1,000 psia carrying 20 MMscf/d of a 0.7 gravity gas with 3 % CO2 and 500 ppm H2S, 1,000 STB/d of the reference black oil and 500 bbl/d of water, entering at 150 °F and arriving at 45 °F, with water at pH 5.0. The oil is the PVT family's reference black oil at the fluid report's 4,000 psia initial pressure: lab bubble point 2,620 psia and an in-situ density of 0.658 g/cm³ (40.7 °API stock-tank oil with 768 scf/STB of 0.855 gravity gas in a Bo of 1.467). The hydrate, CO2 corrosion and erosional velocity sheets each take one threat further.

At 1,000 psia the 0.7 gravity gas forms hydrates below 64.6 °F; the 45 °F arrival is 19.6 °F inside the region (red), and 21.2 wt % methanol would be needed. 30 psia of CO2 at 150 °F corrodes bare steel at 9.18 mm/yr, severe (red). 0.50 psia of H2S at pH 5.0 is region 2 (amber). The mixture, 4.90 lb/ft³, moves at 18.5 ft/s against a Ve of 33.9 ft/s with C = 75, a ratio of 0.55 (green). The oil is 1,380 psi undersaturated at 0.658 g/cm³, below de Boer's 1,672 psi curve (green). Two threats are red, so the line is red: it needs methanol and a corrosion answer (inhibition or duplex, as the CO2 Corrosion and Material Selection sheet works out) before it is safe to produce.

## Validity

A screen, as each threat's sheet states in full. The hydrate fit is for a sweet gas with free water and no inhibitor; above 5 % acid gas it reads low and the check warns. The corrosion rate is the unprotected de Waard-Milliams rate, so a red rating means bare carbon steel will not do, not that the line cannot be built; inhibition, scale and pH lower it. The SSC region applies to carbon steel. API RP 14E's limit is conservative and does not model sand. The de Boer plot says which oils deserve an onset test, not that this oil will deposit, and it says nothing of gas injection or commingling. The 5 °F hydrate margin and the rating thresholds are the sheet's choices and sit in the Calculation Constants. The sheet does not screen wax: it has no wax appearance temperature.

Named alternatives: the Hydrate Inhibitor Dosing for Methanol and MEG, CO2 Corrosion and Material Selection, and Erosional Velocity of a Multiphase Line (API RP 14E) sheets for the full method of each threat; Østergaard's hydrate pressure for an oil.

## References

- Towler, B.F. and Mokhatab, S. (2005). "Quickly estimate hydrate formation conditions in natural gases." *Hydrocarbon Processing* 84(4), 61–62.
- de Waard, C. and Milliams, D.E. (1975). "Carbonic Acid Corrosion of Steel." *Corrosion* 31(5), 177–181.
- NACE SP0775 (2013), Table 2; NACE MR0175 / ISO 15156-2:2020, Figure 1.
- API RP 14E (1991, reaffirmed 2013). *Recommended Practice for Design and Installation of Offshore Production Platform Piping Systems*, section 2.5.
- de Boer, R.B., Leerlooyer, K., Eigner, M.R.P. and van Bergen, A.R.D. (1995). "Screening of Crude Oils for Asphalt Precipitation: Theory, Practice, and the Selection of Inhibitors." *SPE Production & Facilities* 10(1), 55–61.
- Ahmed, T. (2006). *Reservoir Engineering Handbook*, 3rd ed. Gulf Professional Publishing, ch. 2 (the reference black oil).

## Functions used

`PO.FA.Hydrate.Teq`, `PO.FA.Hydrate.dTsub`, `PO.FA.Hydrate.Conc.MeOH`, `PO.FA.Corrosion.Pp.CO2`, `PO.FA.Corrosion.CR.CO2`, `PO.FA.Corrosion.Severity`, `PO.HSE.Sour.PartialPressure`, `PO.FA.Corrosion.H2S.Region`, `PO.PVT.Ppc.ByStanding.Sour`, `PO.PVT.Tpc.ByStanding.Sour`, `PO.PVT.Z.ByDAK`, `PO.PVT.Bg.ByDefinition`, `PO.PVT.Rho.Gas.ByDefinition`, `PO.PVT.Rho.Wat.Stn`, `PO.FA.Erosion.RhoMix`, `PO.FA.Erosion.CFactor`, `PO.FA.Erosion.Ve`, `PO.FA.Erosion.Vmix`, `PO.FA.Erosion.Ratio`, `PO.FA.Asphaltene.deBoer`

## Spreadsheet: FaIntegratedAssessment

|    | A                                                                                                                                                                                                           | B                                                                                                        | C                                                                                                                                                                                                                                                                                                                             | D                                        |
|----|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------|
| 1  | Integrated Flow Assurance Screen                                                                                                                                                                            |                                                                                                          | Petroleum Office                                                                                                                                                                                                                                                                                                              |                                          |
| 2  | Blue cells on yellow are inputs. Type the line, its fluids and its service, and the reservoir oil; each threat is rated red, amber or green against the thresholds below.                                   |                                                                                                          |                                                                                                                                                                                                                                                                                                                               |                                          |
| 3  | The Line                                                                                                                                                                                                    |                                                                                                          |                                                                                                                                                                                                                                                                                                                               |                                          |
| 4  | Line pressure (absolute)                                                                                                                                                                                    | 1000                                                                                                     | psi                                                                                                                                                                                                                                                                                                                           |                                          |
| 5  | Inlet temperature (corrosion, erosion)                                                                                                                                                                      | 150                                                                                                      | °F                                                                                                                                                                                                                                                                                                                            |                                          |
| 6  | Arrival temperature (hydrates)                                                                                                                                                                              | 45                                                                                                       | °F                                                                                                                                                                                                                                                                                                                            |                                          |
| 7  | Pipe internal diameter                                                                                                                                                                                      | 6                                                                                                        | in                                                                                                                                                                                                                                                                                                                            |                                          |
| 8  | Fluids and Rates                                                                                                                                                                                            |                                                                                                          |                                                                                                                                                                                                                                                                                                                               |                                          |
| 9  | Gas specific gravity (air = 1)                                                                                                                                                                              | 0.7                                                                                                      | air = 1                                                                                                                                                                                                                                                                                                                       |                                          |
| 10 | CO2 mole fraction                                                                                                                                                                                           | 0.03                                                                                                     | %                                                                                                                                                                                                                                                                                                                             |                                          |
| 11 | H2S in the gas                                                                                                                                                                                              | 500                                                                                                      | ppm                                                                                                                                                                                                                                                                                                                           |                                          |
| 12 | In-situ pH of the produced water                                                                                                                                                                            | 5                                                                                                        | pH                                                                                                                                                                                                                                                                                                                            |                                          |
| 13 | Gas rate                                                                                                                                                                                                    | 20                                                                                                       | MMscf/d                                                                                                                                                                                                                                                                                                                       |                                          |
| 14 | Liquid rate, oil and water                                                                                                                                                                                  | 1500                                                                                                     | STB/d                                                                                                                                                                                                                                                                                                                         |                                          |
| 15 | Liquid specific gravity (oil and water blended)                                                                                                                                                             | 0.89                                                                                                     | water = 1                                                                                                                                                                                                                                                                                                                     |                                          |
| 16 | Service (1 = yes, 0 = no)                                                                                                                                                                                   |                                                                                                          |                                                                                                                                                                                                                                                                                                                               |                                          |
| 17 | Sand or other solids produced                                                                                                                                                                               | 0                                                                                                        | —                                                                                                                                                                                                                                                                                                                             |                                          |
| 18 | Continuous service (0 = intermittent)                                                                                                                                                                       | 1                                                                                                        | —                                                                                                                                                                                                                                                                                                                             |                                          |
| 19 | Corrosive (CO2 or H2S) and not inhibited                                                                                                                                                                    | 1                                                                                                        | —                                                                                                                                                                                                                                                                                                                             |                                          |
| 20 | Reservoir Oil (Asphaltenes)                                                                                                                                                                                 |                                                                                                          |                                                                                                                                                                                                                                                                                                                               |                                          |
| 21 | Initial reservoir pressure                                                                                                                                                                                  | 4000                                                                                                     | psi                                                                                                                                                                                                                                                                                                                           |                                          |
| 22 | Bubble point at reservoir temperature                                                                                                                                                                       | 2620                                                                                                     | psi                                                                                                                                                                                                                                                                                                                           |                                          |
| 23 | In-situ oil density at the initial pressure                                                                                                                                                                 | 0.658                                                                                                    | g/cm³                                                                                                                                                                                                                                                                                                                         |                                          |
| 25 | Hydrates at the Arrival (Towler-Mokhatab Fit of the Katz Chart)                                                                                                                                             |                                                                                                          |                                                                                                                                                                                                                                                                                                                               |                                          |
| 26 | Hydrate formation temperature, Teq                                                                                                                                                                          | =PO.FA.Hydrate.Teq(FAI_P,FAI_SG)                                                                         | °F                                                                                                                                                                                                                                                                                                                            |                                          |
| 27 | Subcooling, Teq − T arrival                                                                                                                                                                                 | =PO.FA.Hydrate.dTsub(FAI_Teq,FAI_Tarr)                                                                   | °F                                                                                                                                                                                                                                                                                                                            |                                          |
| 28 | Methanol needed (Hammerschmidt)                                                                                                                                                                             | =IF(FAI_dTsub>0,PO.FA.Hydrate.Conc.MeOH(FAI_dTsub),0)                                                    | wt %                                                                                                                                                                                                                                                                                                                          |                                          |
| 29 | CO2 Corrosion and Sour Cracking at the Inlet                                                                                                                                                                |                                                                                                          |                                                                                                                                                                                                                                                                                                                               |                                          |
| 30 | CO2 partial pressure, pCO2                                                                                                                                                                                  | =PO.FA.Corrosion.Pp.CO2(FAI_P,FAI_CO2)                                                                   | psia                                                                                                                                                                                                                                                                                                                          |                                          |
| 31 | Corrosion rate, bare steel (de Waard-Milliams)                                                                                                                                                              | =PO.FA.Corrosion.CR.CO2(FAI_Tin,FAI_PpCO2)                                                               | mm/yr                                                                                                                                                                                                                                                                                                                         |                                          |
| 32 | Severity (NACE SP0775)                                                                                                                                                                                      | =""&PO.FA.Corrosion.Severity(FAI_CR)                                                                     |                                                                                                                                                                                                                                                                                                                               |                                          |
| 33 | H2S partial pressure, pH2S                                                                                                                                                                                  | =PO.HSE.Sour.PartialPressure(FAI_H2S/FAI_Ppm,FAI_P)                                                      | psia                                                                                                                                                                                                                                                                                                                          |                                          |
| 34 | NACE MR0175 / ISO 15156-2 SSC region                                                                                                                                                                        | =PO.FA.Corrosion.H2S.Region(FAI_PpH2S,FAI_pH)                                                            | —                                                                                                                                                                                                                                                                                                                             |                                          |
| 35 | Erosion at the Inlet (API RP 14E, No Slip)                                                                                                                                                                  |                                                                                                          |                                                                                                                                                                                                                                                                                                                               |                                          |
| 36 | Temperature, absolute                                                                                                                                                                                       | =FAI_Tin+FAI_R0                                                                                          | °R                                                                                                                                                                                                                                                                                                                            |                                          |
| 37 | Pseudo-critical pressure, p′pc                                                                                                                                                                              | =PO.PVT.Ppc.ByStanding.Sour(FAI_SG,FAI_H2S/FAI_Ppm,FAI_CO2)                                              | psi                                                                                                                                                                                                                                                                                                                           |                                          |
| 38 | Pseudo-critical temperature, T′pc                                                                                                                                                                           | =PO.PVT.Tpc.ByStanding.Sour(FAI_SG,FAI_H2S/FAI_Ppm,FAI_CO2)                                              | °R                                                                                                                                                                                                                                                                                                                            |                                          |
| 39 | Z-factor (DAK)                                                                                                                                                                                              | =PO.PVT.Z.ByDAK(FAI_P/FAI_Ppc,FAI_TR/FAI_Tpc)                                                            | —                                                                                                                                                                                                                                                                                                                             |                                          |
| 40 | Gas FVF, Bg                                                                                                                                                                                                 | =PO.PVT.Bg.ByDefinition(FAI_P,FAI_TR,FAI_Z)                                                              | ft³/scf                                                                                                                                                                                                                                                                                                                       |                                          |
| 41 | Gas density, ρg                                                                                                                                                                                             | =PO.PVT.Rho.Gas.ByDefinition(FAI_P,FAI_TR,FAI_SG,FAI_Z)*PO.PVT.Rho.Wat.Stn()                             | lb/ft³                                                                                                                                                                                                                                                                                                                        |                                          |
| 42 | Gas rate at line conditions                                                                                                                                                                                 | =FAI_Qg*FAI_Scf*FAI_Bg/FAI_Sec                                                                           | ft³/s                                                                                                                                                                                                                                                                                                                         |                                          |
| 43 | Liquid rate at line conditions                                                                                                                                                                              | =FAI_QL*FAI_Ft3Bbl/FAI_Sec                                                                               | ft³/s                                                                                                                                                                                                                                                                                                                         |                                          |
| 44 | Mixture density, ρm (no slip)                                                                                                                                                                               | =PO.FA.Erosion.RhoMix(FAI_SGL*PO.PVT.Rho.Wat.Stn(),FAI_RhoG,FAI_QgIs/(FAI_QgIs+FAI_QLIs))                | lb/ft³                                                                                                                                                                                                                                                                                                                        |                                          |
| 45 | C factor for the service                                                                                                                                                                                    | =PO.FA.Erosion.CFactor(FAI_Sand=1,FAI_Cont=1,FAI_Corr=1)                                                 | —                                                                                                                                                                                                                                                                                                                             |                                          |
| 46 | Erosional velocity, Ve                                                                                                                                                                                      | =PO.FA.Erosion.Ve(FAI_RhoM,FAI_C)                                                                        | ft/s                                                                                                                                                                                                                                                                                                                          |                                          |
| 47 | Mixture velocity, V                                                                                                                                                                                         | =PO.FA.Erosion.Vmix(FAI_QgIs,FAI_QLIs,FAI_ID)                                                            | ft/s                                                                                                                                                                                                                                                                                                                          |                                          |
| 48 | Velocity ratio, V/Ve                                                                                                                                                                                        | =PO.FA.Erosion.Ratio(FAI_V,FAI_Ve)                                                                       | —                                                                                                                                                                                                                                                                                                                             |                                          |
| 49 | Asphaltenes in the Reservoir Oil (de Boer)                                                                                                                                                                  |                                                                                                          |                                                                                                                                                                                                                                                                                                                               |                                          |
| 50 | Undersaturation, Pres − Pb                                                                                                                                                                                  | =FAI_Pres-FAI_Pb                                                                                         | psi                                                                                                                                                                                                                                                                                                                           |                                          |
| 51 | De Boer region (0 none, 1 slight, 2 severe)                                                                                                                                                                 | =PO.FA.Asphaltene.deBoer(FAI_dPsat,FAI_RhoIs,"Region")                                                   | —                                                                                                                                                                                                                                                                                                                             |                                          |
| 52 | Red, Amber, Green Summary                                                                                                                                                                                   |                                                                                                          |                                                                                                                                                                                                                                                                                                                               |                                          |
| 53 | Hydrates                                                                                                                                                                                                    | =""&IF(FAI_dTsub>0,"RED",IF(FAI_dTsub>-FAI_HydMargin,"AMBER","GREEN"))                                   |                                                                                                                                                                                                                                                                                                                               |                                          |
| 54 | CO2 corrosion                                                                                                                                                                                               | =""&IF(FAI_CR>FAI_CrRed,"RED",IF(FAI_CR>FAI_CrAmber,"AMBER","GREEN"))                                    |                                                                                                                                                                                                                                                                                                                               |                                          |
| 55 | Sour cracking                                                                                                                                                                                               | =""&IF(FAI_Region>=FAI_SourRed,"RED",IF(FAI_Region>=1,"AMBER","GREEN"))                                  |                                                                                                                                                                                                                                                                                                                               |                                          |
| 56 | Erosion                                                                                                                                                                                                     | =""&IF(FAI_ErosionRatio>=1,"RED",IF(FAI_ErosionRatio>=FAI_ErWatch,"AMBER","GREEN"))                      |                                                                                                                                                                                                                                                                                                                               |                                          |
| 57 | Asphaltenes                                                                                                                                                                                                 | =""&IF(FAI_Asph=2,"RED",IF(FAI_Asph=1,"AMBER","GREEN"))                                                  |                                                                                                                                                                                                                                                                                                                               |                                          |
| 58 | Overall                                                                                                                                                                                                     | =""&IF(COUNTIF(FAI_Rags,"RED")>0,"RED",IF(COUNTIF(FAI_Rags,"AMBER")>0,"AMBER","GREEN"))                  |                                                                                                                                                                                                                                                                                                                               |                                          |
| 59 | Overall check                                                                                                                                                                                               | =IF(FAI_RagOverall="RED","FAIL",IF(FAI_RagOverall="AMBER","WARN","PASS"))                                | =IF(FAI_RagOverall="RED",""&COUNTIF(FAI_Rags,"RED")&" threat(s) red: the line needs mitigation (inhibitor, material, a larger bore or an onset test) before it is safe",IF(FAI_RagOverall="AMBER","no threat red, "&COUNTIF(FAI_Rags,"AMBER")&" amber: monitor or study further","every threat green against its threshold")) |                                          |
| 60 | Hydrate fit check                                                                                                                                                                                           | =IF(OR(FAI_SG<FAI_SGMin,FAI_SG>FAI_SGMax),"FAIL",IF(FAI_CO2+FAI_H2S/FAI_Ppm>FAI_SweetMax,"WARN","PASS")) | =IF(OR(FAI_SG<FAI_SGMin,FAI_SG>FAI_SGMax),"gas gravity outside 0.5 to 1.8, the range of the Teq fit",IF(FAI_CO2+FAI_H2S/FAI_Ppm>FAI_SweetMax,"over 5 % acid gas, the sweet-gas Teq fit reads low","inside the Teq fit range"))                                                                                                |                                          |
| 61 | Thresholds                                                                                                                                                                                                  |                                                                                                          |                                                                                                                                                                                                                                                                                                                               |                                          |
| 62 | How to use it: the arrival pressure and temperature from a flowline model, the gas and water analyses, the allocated rates, and the reservoir oil's pressure, bubble point and density from its PVT report. |                                                                                                          |                                                                                                                                                                                                                                                                                                                               |                                          |
| 63 | Threat                                                                                                                                                                                                      | Green                                                                                                    | Amber                                                                                                                                                                                                                                                                                                                         | Red                                      |
| 64 | Hydrates (T arrival against Teq)                                                                                                                                                                            | =""&TEXT(FAI_HydMargin,"0")&" °F or more warmer"                                                         | ="0 to "&TEXT(FAI_HydMargin,"0")&" °F warmer"                                                                                                                                                                                                                                                                                 | colder than Teq                          |
| 65 | CO2 corrosion (bare steel)                                                                                                                                                                                  | =""&TEXT(FAI_CrAmber,"0.00")&" mm/yr or less"                                                            | ="to "&TEXT(FAI_CrRed,"0.00")&" mm/yr"                                                                                                                                                                                                                                                                                        | ="over "&TEXT(FAI_CrRed,"0.00")&" mm/yr" |
| 66 | Sour cracking (SSC region)                                                                                                                                                                                  | region 0                                                                                                 | regions 1 and 2                                                                                                                                                                                                                                                                                                               | region 3                                 |
| 67 | Erosion (V/Ve)                                                                                                                                                                                              | ="below "&TEXT(FAI_ErWatch,"0.0")                                                                        | =""&TEXT(FAI_ErWatch,"0.0")&" to 1"                                                                                                                                                                                                                                                                                           | 1 or more                                |
| 68 | Asphaltenes (de Boer)                                                                                                                                                                                       | no problems                                                                                              | slight problems                                                                                                                                                                                                                                                                                                               | severe problems                          |
| 71 | The de Boer Plot                                                                                                                                                                                            |                                                                                                          |                                                                                                                                                                                                                                                                                                                               |                                          |
| 72 | In-situ density (g/cm³)                                                                                                                                                                                     | Slight problems from (psi)                                                                               | Severe problems from (psi)                                                                                                                                                                                                                                                                                                    |                                          |
| 73 | =FAI_RhoMin+0*FAI_RhoStep                                                                                                                                                                                   | =PO.FA.Asphaltene.deBoer(0,A73,"Slight")                                                                 | =PO.FA.Asphaltene.deBoer(0,A73,"Severe")                                                                                                                                                                                                                                                                                      |                                          |
| 74 | =FAI_RhoMin+1*FAI_RhoStep                                                                                                                                                                                   | =PO.FA.Asphaltene.deBoer(0,A74,"Slight")                                                                 | =PO.FA.Asphaltene.deBoer(0,A74,"Severe")                                                                                                                                                                                                                                                                                      |                                          |
| 75 | =FAI_RhoMin+2*FAI_RhoStep                                                                                                                                                                                   | =PO.FA.Asphaltene.deBoer(0,A75,"Slight")                                                                 | =PO.FA.Asphaltene.deBoer(0,A75,"Severe")                                                                                                                                                                                                                                                                                      |                                          |
| 76 | =FAI_RhoMin+3*FAI_RhoStep                                                                                                                                                                                   | =PO.FA.Asphaltene.deBoer(0,A76,"Slight")                                                                 | =PO.FA.Asphaltene.deBoer(0,A76,"Severe")                                                                                                                                                                                                                                                                                      |                                          |
| 77 | =FAI_RhoMin+4*FAI_RhoStep                                                                                                                                                                                   | =PO.FA.Asphaltene.deBoer(0,A77,"Slight")                                                                 | =PO.FA.Asphaltene.deBoer(0,A77,"Severe")                                                                                                                                                                                                                                                                                      |                                          |
| 78 | =FAI_RhoMin+5*FAI_RhoStep                                                                                                                                                                                   | =PO.FA.Asphaltene.deBoer(0,A78,"Slight")                                                                 | =PO.FA.Asphaltene.deBoer(0,A78,"Severe")                                                                                                                                                                                                                                                                                      |                                          |
| 79 | =FAI_RhoMin+6*FAI_RhoStep                                                                                                                                                                                   | =PO.FA.Asphaltene.deBoer(0,A79,"Slight")                                                                 | =PO.FA.Asphaltene.deBoer(0,A79,"Severe")                                                                                                                                                                                                                                                                                      |                                          |
| 80 | =FAI_RhoMin+7*FAI_RhoStep                                                                                                                                                                                   | =PO.FA.Asphaltene.deBoer(0,A80,"Slight")                                                                 | =PO.FA.Asphaltene.deBoer(0,A80,"Severe")                                                                                                                                                                                                                                                                                      |                                          |
| 83 | Calculation Constants                                                                                                                                                                                       |                                                                                                          |                                                                                                                                                                                                                                                                                                                               |                                          |
| 84 | Rankine at 0 °F                                                                                                                                                                                             | 459.67                                                                                                   | °R                                                                                                                                                                                                                                                                                                                            |                                          |
| 85 | ppm in a mole fraction                                                                                                                                                                                      | 1000000                                                                                                  | ppm                                                                                                                                                                                                                                                                                                                           |                                          |
| 86 | scf in an MMscf                                                                                                                                                                                             | 1000000                                                                                                  | scf/MMscf                                                                                                                                                                                                                                                                                                                     |                                          |
| 87 | Seconds in a day                                                                                                                                                                                            | 86400                                                                                                    | s/d                                                                                                                                                                                                                                                                                                                           |                                          |
| 88 | Cubic feet in a barrel                                                                                                                                                                                      | 5.614583                                                                                                 | ft³/bbl                                                                                                                                                                                                                                                                                                                       |                                          |
| 89 | Hydrate margin a line should keep                                                                                                                                                                           | 5                                                                                                        | °F                                                                                                                                                                                                                                                                                                                            |                                          |
| 90 | Corrosion rated amber above (NACE moderate)                                                                                                                                                                 | 0.12                                                                                                     | mm/yr                                                                                                                                                                                                                                                                                                                         |                                          |
| 91 | Corrosion rated red above (NACE severe)                                                                                                                                                                     | 0.25                                                                                                     | mm/yr                                                                                                                                                                                                                                                                                                                         |                                          |
| 92 | Velocity ratio above which erosion is amber                                                                                                                                                                 | 0.8                                                                                                      | —                                                                                                                                                                                                                                                                                                                             |                                          |
| 93 | Acid gas above which the sweet Teq fit reads low                                                                                                                                                            | 0.05                                                                                                     | %                                                                                                                                                                                                                                                                                                                             |                                          |
| 94 | De Boer plot's lightest oil                                                                                                                                                                                 | 0.5                                                                                                      | g/cm³                                                                                                                                                                                                                                                                                                                         |                                          |
| 95 | De Boer plot's density step                                                                                                                                                                                 | 0.05                                                                                                     | g/cm³                                                                                                                                                                                                                                                                                                                         |                                          |
| 96 | SSC region rated red                                                                                                                                                                                        | 3                                                                                                        | —                                                                                                                                                                                                                                                                                                                             |                                          |
| 97 | Lightest gas the Teq fit takes                                                                                                                                                                              | 0.5                                                                                                      | air = 1                                                                                                                                                                                                                                                                                                                       |                                          |
| 98 | Heaviest gas the Teq fit takes                                                                                                                                                                              | 1.8                                                                                                      | air = 1                                                                                                                                                                                                                                                                                                                       |                                          |

## Lambdas

| Name | RefersTo | Comment |
|------|----------|---------|
| PO.HSE.Sour.PartialPressure | =LAMBDA(y_h2s, p, IF(OR(y_h2s<0, y_h2s>1, p<0), NA(), y_h2s*p)) | H2S partial pressure in a gas, pH2S = y·P (ISO 15156-2 Annex C), in the unit of the total absolute pressure given: psia in, psia out. |
| PO.FA.Corrosion.H2S.Region | =LAMBDA(p_h2s, ph, IF(OR(p_h2s<0, ph<0, ph>14), NA(), IF(p_h2s<0.05, 0, LET(kpa, p_h2s*6.894757, lg, LOG10(kpa), severe, IF(kpa<1, 3.5, IF(kpa<=100, 3.5+lg, 5.5)), mild, IF(kpa<=100, 4.5+lg, 6.5), IF(ph<severe, 3, IF(ph<mild, 2, 1)))))) | NACE MR0175 / ISO 15156-2 Figure 1 SSC severity region of carbon and low-alloy steel, 0 to 3, from the H2S partial pressure (psia) and the in-situ pH. |
| PO.FA.Asphaltene.deBoer | =LAMBDA(dp, rho, output, IF(OR(dp<0, rho<0.5, rho>0.9), NA(), LET(slight, IF(rho<0.55, 915+5200*(rho-0.5), IF(rho<0.6, 1175+2300*(rho-0.55), IF(rho<0.65, 1290+6000*(rho-0.6), IF(rho<0.675, 1590+10200*(rho-0.65), IF(rho<0.7, 1845+14200*(rho-0.675), IF(rho<0.725, 2200+22800*(rho-0.7), IF(rho<0.75, 2770+28000*(rho-0.725), IF(rho<0.775, 3470+36800*(rho-0.75), IF(rho<0.8, 4390+47200*(rho-0.775), IF(rho<0.825, 5570+60000*(rho-0.8), 7070+69200*(rho-0.825))))))))))), severe, IF(rho<0.55, 1790+11800*(rho-0.5), IF(rho<0.6, 2380+6000*(rho-0.55), IF(rho<0.65, 2680+8000*(rho-0.6), IF(rho<0.675, 3080+18800*(rho-0.65), IF(rho<0.7, 3550+29600*(rho-0.675), IF(rho<0.725, 4290+42400*(rho-0.7), IF(rho<0.75, 5350+53200*(rho-0.725), IF(rho<0.775, 6680+73200*(rho-0.75), 8510+81600*(rho-0.775))))))))), IF(output="Region", IF(dp>severe, 2, IF(dp>slight, 1, 0)), IF(output="Slight", slight, IF(output="Severe", severe, NA())))))) | De Boer (1995) asphaltene screening from the undersaturation Pres - Pb (psi) and the in-situ oil density (g/cm3): output "Region" (0 no, 1 slight, 2 severe problems), "Slight" or "Severe" (the boundary's undersaturation, psi). |

## Names

| Name | RefersTo | Comment |
|------|----------|---------|
| FAI_P | $B$4 | Line pressure (absolute), psi |
| FAI_Tin | $B$5 | Inlet temperature (corrosion, erosion), °F |
| FAI_Tarr | $B$6 | Arrival temperature (hydrates), °F |
| FAI_ID | $B$7 | Pipe internal diameter, in |
| FAI_SG | $B$9 | Gas specific gravity (air = 1), air = 1 |
| FAI_CO2 | $B$10 | CO2 mole fraction, % |
| FAI_H2S | $B$11 | H2S in the gas, ppm |
| FAI_pH | $B$12 | In-situ pH of the produced water, pH |
| FAI_Qg | $B$13 | Gas rate, MMscf/d |
| FAI_QL | $B$14 | Liquid rate, oil and water, STB/d |
| FAI_SGL | $B$15 | Liquid specific gravity (oil and water blended), water = 1 |
| FAI_Sand | $B$17 | Sand or other solids produced |
| FAI_Cont | $B$18 | Continuous service (0 = intermittent) |
| FAI_Corr | $B$19 | Corrosive (CO2 or H2S) and not inhibited |
| FAI_Pres | $B$21 | Initial reservoir pressure, psi |
| FAI_Pb | $B$22 | Bubble point at reservoir temperature, psi |
| FAI_RhoIs | $B$23 | In-situ oil density at the initial pressure, g/cm³ |
| FAI_Inputs | $B$4:$B$23 | The line's pressure, inlet and arrival temperatures and bore, the gas's gravity, CO2 and H2S, the water's pH, the gas and liquid rates and the liquid's gravity, the service, and the reservoir oil's pressure, bubble point and in-situ density |
| FAI_Teq | $B$26 | Hydrate formation temperature, Teq, °F |
| FAI_dTsub | $B$27 | Subcooling, Teq − T arrival, °F |
| FAI_MeOH | $B$28 | Methanol needed (Hammerschmidt), wt % |
| FAI_PpCO2 | $B$30 | CO2 partial pressure, pCO2, psia |
| FAI_CR | $B$31 | Corrosion rate, bare steel (de Waard-Milliams), mm/yr |
| FAI_Severity | $B$32 | Severity (NACE SP0775) |
| FAI_PpH2S | $B$33 | H2S partial pressure, pH2S, psia |
| FAI_Region | $B$34 | NACE MR0175 / ISO 15156-2 SSC region |
| FAI_TR | $B$36 | Temperature, absolute, °R |
| FAI_Ppc | $B$37 | Pseudo-critical pressure, p′pc, psi |
| FAI_Tpc | $B$38 | Pseudo-critical temperature, T′pc, °R |
| FAI_Z | $B$39 | Z-factor (DAK) |
| FAI_Bg | $B$40 | Gas FVF, Bg, ft³/scf |
| FAI_RhoG | $B$41 | Gas density, ρg, lb/ft³ |
| FAI_QgIs | $B$42 | Gas rate at line conditions, ft³/s |
| FAI_QLIs | $B$43 | Liquid rate at line conditions, ft³/s |
| FAI_RhoM | $B$44 | Mixture density, ρm (no slip), lb/ft³ |
| FAI_C | $B$45 | C factor for the service |
| FAI_Ve | $B$46 | Erosional velocity, Ve, ft/s |
| FAI_V | $B$47 | Mixture velocity, V, ft/s |
| FAI_ErosionRatio | $B$48 | Velocity ratio, V/Ve |
| FAI_dPsat | $B$50 | Undersaturation, Pres − Pb, psi |
| FAI_Asph | $B$51 | De Boer region (0 none, 1 slight, 2 severe) |
| FAI_RagHydrate | $B$53 | Hydrates |
| FAI_RagCorrosion | $B$54 | CO2 corrosion |
| FAI_RagSour | $B$55 | Sour cracking |
| FAI_RagErosion | $B$56 | Erosion |
| FAI_RagAsphaltene | $B$57 | Asphaltenes |
| FAI_RagOverall | $B$58 | Overall |
| FAI_Rags | $B$53:$B$57 | The five threats' ratings |
| FAI_OverallCheck | $B$59 | Overall check verdict |
| FAI_OverallCheckNote | $C$59 | Overall check comment |
| FAI_HydrateCheck | $B$60 | Hydrate fit check verdict |
| FAI_HydrateCheckNote | $C$60 | Hydrate fit check comment |
| FAI_Results | $B$26:$B$60 | The hydrate point, subcooling and methanol, the CO2 corrosion rate and severity, the H2S partial pressure and SSC region, the line's mixture, C factor and velocities, the de Boer region, the five ratings with the overall one, and the two checks |
| FAI_Thresholds | $A$64:$D$68 | The green, amber and red thresholds of each threat |
| FAI_Curve | $A$73:$C$80 | In-situ oil density across the plot, and the undersaturation above which de Boer's slight and severe problems start |
| FAI_R0 | $B$84 | Rankine at 0 °F, °R |
| FAI_Ppm | $B$85 | ppm in a mole fraction, ppm |
| FAI_Scf | $B$86 | scf in an MMscf, scf/MMscf |
| FAI_Sec | $B$87 | Seconds in a day, s/d |
| FAI_Ft3Bbl | $B$88 | Cubic feet in a barrel, ft³/bbl |
| FAI_HydMargin | $B$89 | Hydrate margin a line should keep, °F |
| FAI_CrAmber | $B$90 | Corrosion rated amber above (NACE moderate), mm/yr |
| FAI_CrRed | $B$91 | Corrosion rated red above (NACE severe), mm/yr |
| FAI_ErWatch | $B$92 | Velocity ratio above which erosion is amber |
| FAI_SweetMax | $B$93 | Acid gas above which the sweet Teq fit reads low, % |
| FAI_RhoMin | $B$94 | De Boer plot's lightest oil, g/cm³ |
| FAI_RhoStep | $B$95 | De Boer plot's density step, g/cm³ |
| FAI_SourRed | $B$96 | SSC region rated red |
| FAI_SGMin | $B$97 | Lightest gas the Teq fit takes, air = 1 |
| FAI_SGMax | $B$98 | Heaviest gas the Teq fit takes, air = 1 |

---

## Related Blueprints
- [Erosional Velocity of a Multiphase Line (API RP 14E)](/blueprint/po.fa.erosion.analysis.md)
- [CO2 Corrosion and Material Selection](/blueprint/po.fa.corrosion.analysis.md)
- [Hydrate Curve Against a Flowline's Pressure-Temperature Path](/blueprint/po.fa.hydrate.curve.md)
- [Hydrate Inhibitor Dosing for Methanol and MEG](/blueprint/po.fa.hydrate.inhibitor.md)
- [Separator Sizing by Souders-Brown and Retention Time](/blueprint/po.sf.separator.sizing.md)
- [Scale Tendency by Oddo-Tomson](/blueprint/po.fa.scale.tendency.md)

