MaximaLabs
Back to gallery
Onshore wet-gas gathering station

Wellhead gathering — cold separation and the hydrate check — a PENG-ROBINSON process flowsheet

A wet-gas wellhead through a JT choke, a cold separator and a gathering line — the flowsheet that gives HYSYS Upstream's own tools (well IPR, hydrates, water content, gas pipeline) something real to work on. All four are in the Analysis panel and none had a curated example.

From the flowsheet. 800 mol/s of wet gas lets down 120 to 60 bar across the choke, cooling itself to 294 K by Joule-Thomson alone; a chiller takes it to 250 K (2.6 MW) and the cold separator drops 88.5 mol/s of condensate (11%), sending 711.5 mol/s of sales gas down 25 km of 300 mm line for a 3.8 bar drop at 2.4 m/s.

Well deliverability (Analysis > Well IPR). Vogel's composite IPR from one test point (0.045 at 200 bar flowing bottomhole, against a 240 bar reservoir and a 180 bar bubble point) gives an absolute open flow of 0.18 and, at 120 bar flowing pressure, a deliverability of 0.125 — the curve that says whether the well can actually feed this train.

The hydrate check (Analysis > Hydrates, Water content). This is the pair that matters and the reason the two tools belong together. At 60 bar the gas is water-saturated at 21.2 lb/MMscf with free water present; Towler-Mokhatab puts the hydrate formation temperature at 291.2 K. Operating anywhere near seabed or winter temperature — 288 K, say — is 3.2 K inside the hydrate envelope, calling for about 20.5 wt% MEG to stay clear with a 3 K margin. A line that is hydraulically fine can still plug solid.

**.

Modeling assumptions & limitations

  1. 1** Hydrate temperature is the Towler-Mokhatab gas-gravity correlation and the inhibitor dose is Hammerschmidt — both screening correlations, not a rigorous hydrate equilibrium model. Vogel's IPR is a reservoir-inflow correlation, not a reservoir simulation. The gathering line here is single-phase gas; a genuinely two-phase line is the `pipeline` op's Beggs-Brill branch, which needs a mixed inlet.

82 views 1 forks

Wellhead
Choke
GAS Chiller
COLD Separator
Condensate
Gathering LINE
Sales
What this showcases
  • Rigorous PENG-ROBINSON thermodynamics, solved by the same engine every simulation runs on.
  • 4 unit operations modeled: Choke, GAS Chiller, COLD Separator, Gathering LINE.
  • Focus areas: Upstream, Hydrates, Well IPR, Cold separation, Gathering.
Specification
Thermodynamics
PENG-ROBINSON
Components
methane, ethane, propane, n_butane, co2, n2
Unit operations
ChokeGAS ChillerCOLD SeparatorGathering LINE
Open in workspace

Opens in a new tab, loaded straight into the app — no setup.

Read the step-by-step guide
Python SDK

Reproduce this exact result from Python — the real client.get_example() → run_and_wait() path, not a mockup.

from flowsim.sdk import FlowSimClient

client = FlowSimClient()
example = client.get_example("wellhead-gathering-hydrate-check")
sim = client.create_simulation(example["title"], example["flowsheet"])
result = client.run_and_wait(sim["id"])

print(result["status"])              # "converged"
streams = client.streams(sim["id"])

Related models

Reference model

Wellhead compression: what the reservoir gives and what it costs to move

A gas well is not a feed whose flow you type in. The rate is an OUTCOME of how hard the facility pulls on the reservoir, and this example starts there. The well runs the Vogel inflow-performance relationship: at a 250 bar reservoir pressure and a 5e-5 mol/s/Pa productivity index its absolute open flow is J x p_r / 1.8 = 694 mol/s, and the fraction of that you actually get follows 1 - 0.2(p_wf/p_r) - 0.8(p_wf/p_r)^2. Holding 180 bar at the bottomhole delivers 306 mol/s, 44% of open flow. Squeeze to 150 bar and it rises to 411; back off to 240 and it collapses to 49. The curve is deliberately not a straight line — that curvature is why compression pays for itself, and why the last increment of drawdown buys less than the first. Compression is where the stage count earns its keep. Taking that gas from 30 to 150 bar in ONE stage lands the discharge at 508 K (235 C) — past what reciprocating machine valves and lube oil tolerate, before any efficiency argument. Split it into three with intercooling to 313 K and the discharge is 362 K; four stages give 349 K. The temperature, not the power, is what sets the stage count on a real machine. Read the reported duty carefully. duty on this unit is the NET of the compression work and the intercooler heat removed, summed into one number — it goes from +2094 kW at one stage to -384 kW at three, not because compression got cheaper but because there is now intercooling to subtract. It is not shaft power, and this example does not present it as such.

LNG receiving and export terminal

LNG front end and storage: guard beds, tank boil-off, driver limit

The parts of a 5.2 Mtpa LNG train that are not the cold box, and the four questions they answer that no bulk unit can — at real capacity, so the vessel sizes and duties are ones an engineer can check against their own plant. Guard beds: a sulfur-carbon bed takes mercury from 200 to 0.01 µg/Nm³ — the brazed-aluminium limit, because mercury attacks the plate-fin cold box by liquid-metal embrittlement — on a 4.8 m x 6.6 m bed with 4.2 years of life from a capacity balance — inside the 3-5 year window these non-regenerable beds are actually replaced on, which is what a turnaround plan needs. A 4A molecular sieve then dries the gas to 0.1 ppmv, the only route to a cryogenic water spec (a glycol contactor tops out near a −30 °C dew point), on a 4.9 m x 5.1 m bed running a 13.8 h cycle for 1.3 MW of regeneration duty. Storage: the LNG goes to a tank whose boil-off rate comes from a 0.05%/day guarantee but whose boil-off composition comes from a real equilibrium flash — and that is the interesting part, because the vapour leaves at ~11 mol% nitrogen against 1.1% in the feed. Nitrogen and methane are far more volatile at 113 K, so the boil-off is light and the stored liquid weathers heavier: nobody specified that, the flash found it. Recondensing: the boil-off goes back into the send-out LNG rather than to a flare, and the unit reports the LNG:BOG ratio (1999) against the minimum the energy balance demands (3.8), which is the constraint a terminal is actually operated against. The driver: a gas turbine burning plant fuel gas, rated 97.5 MW at ISO conditions, delivers only 84.5 MW at 35 °C — 5.5 MW short of its 90 MW refrigeration load, and flagged as such. That derate is computed from two physical effects (a fixed-geometry compressor swallows a fixed volume so mass flow follows air density, and hotter air costs more to compress), not from a vendor curve, and it comes out at 0.66%/K — mid-band for industrial machines. It is why a tropical LNG train makes less product in summer.

Ichthys LNG, Darwin, Northern Territory, Australia

Gas-condensate LNG train: condensate, LPG and LNG

The LNG plant that is also a liquids plant, at real capacity: this is one 4.4 Mtpa train (a two-train plant is two of these), not a scaled-down sketch. A condensate-rich field arrives by trunkline as a two-phase stream: the slug catcher drops ~20 mol% of it out as raw condensate before a single molecule reaches the cold end, and the plant then runs two trains side by side off one feed. Liquids: the raw condensate is let down to an MP flash that strips the dissolved methane (without it the stabilizer's shortcut total condenser tries to condense methane at 8 bar, which is not a real stabilizer overhead), then stabilized to a C₅/C₆ product. Gas: sweetened and dried, chilled to 245 K to knock out an NGL cut, and the NGL demethanized and split by a deethanizer / depropanizer / debutanizer sequence into commercial propane (~98 mol%) and butane (~98 mol%) LPG plus a natural-gasoline bottoms. LNG: the lean gas goes to the same APCI C3MR cold end as the 'c3mr-lng-liquefaction' showcase — propane precool, mixed-refrigerant MCHE to 120 K, JT letdown to a 1.5 bar end-flash drum. Five sold products come out of one flowsheet, each a stream the solver computed. Watch the end-flash boil-off: it leaves at ~13 mol% nitrogen against 1 mol% in the feed, because the flash drum is where an LNG train actually rejects its nitrogen — nobody specified that, the flash found it. Dehydration is the real molecular-sieve bed, not a stand-in: a 4A sieve sized by length-of-unused-bed, which is what actually takes the gas to the <=0.1 ppmv the cold box needs — 95 t of sieve on a 5.5 x 5.5 m bed, a 17.5 h cycle and 1.4 MW of regeneration duty, with 0.47 bar of Ergun pressure drop. The AGRU spec is checked against the physics rather than assumed: 99.9% CO₂ removal leaves 33 ppmv, and at the coldest point in the train (115.9 K) the solid-CO₂ solubility limit is 232 ppmv on the measured-data basis — a 7x margin, so the sweetening spec demonstrably clears freeze-out instead of merely looking tight.

NGL recovery plant, Permian Basin, Texas, USA

Deep ethane recovery with propane-refrigerated feed chilling

Associated gas is chilled by an external propane refrigeration package before a demethanizer recovers ethane and heavier as NGL bottoms from a methane-rich residue gas overhead — the cryogenic-chilling role Ortloff's CCS/GSP processes play ahead of the turboexpander in a real deep-ethane-recovery plant. The mechanical refrigeration loop itself (compressor/condenser/valve) isn't separately modeled here; the chiller's duty is represented directly as the feed's cooled outlet temperature (the same honest-simplification pattern used for LNG cold-box examples elsewhere in this library).

Reference model

Gas compressor air-cooled aftercooler (fin-fan)

A natural-gas booster compressor followed by an air-cooled (fin-fan) aftercooler — the standard way to reject compression heat where no cooling water is available. The compressor raises the gas from 8 to 24 atm (hot discharge ~150 °C); the air cooler then rejects that heat to ambient air, cooling the gas back to 49 °C. Unlike a plain cooler, the air_cooler op closes the air side: from the process duty and the 35 °C design ambient it solves the air mass flow (a 15 °C air rise) and reports the fan power from the given fan static pressure. Honest scope: screening air-side model (fixed cp_air, ideal-gas air density, no fin/row geometry rating); an air cooler cannot cool below ambient, so the 49 °C target sits safely above the 35 °C air inlet.

Hydrocracker complex, Jamnagar, India

Hydrocracking reaction section

A refinery hydrocracker: heavy VGO (modeled as n-dodecane) plus excess H₂ is cracked over catalyst into lighter products via a discrete lumped first-order kinetic network, then flashed to knock out recycle H₂/light gas from the liquid product (Peng-Robinson). Conversion is set by reactor temperature and LHSV.

Stop fighting legacy software. Build your first flowsheet in 60 seconds.