MaximaLabs
Back to gallery
Reference model

Gas compressor air-cooled aftercooler (fin-fan) — a PENG-ROBINSON process flowsheet

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.

81 views 0 forks

GAS
COMP
AC
Cooled GAS
What this showcases
  • Rigorous PENG-ROBINSON thermodynamics, solved by the same engine every simulation runs on.
  • 2 unit operations modeled: COMP, AC.
  • Focus areas: Gas processing, Compressor, Air cooler, Fin-fan, Heat rejection.
Specification
Thermodynamics
PENG-ROBINSON
Components
methane, ethane, propane, co2
Unit operations
COMPAC
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("gas-compressor-aftercooler")
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

Cooling-water tower (Merkel sizing)

A process cooling-water utility: a hot ethanol-water process stream is cooled against cooling water in a counter-current exchanger, and the warmed cooling water is then sent to an evaporative cooling tower that rejects the picked-up heat to ambient air and returns it cold. The tower reports the evaporation + blowdown makeup water and — because the wet-bulb temperature and the water-to-air ratio L/G are given — the Merkel tower characteristic KaV/L a designer sizes the fill to, plus the range (hot→cold water drop, 10 K here) and the approach to the wet-bulb (5 K). Rate a fill against that demand with the standalone Cooling tower (Merkel) analysis tool. Honest scope: the cooling-water side is shown open (supply → exchanger → tower → return); a real plant recycles the return with makeup, and the Merkel model carries Le=1 assumptions.

Permian Basin, Texas, USA

Associated gas conditioning

Field gas is compressed, chilled below its dew point, and flashed to knock out NGL/condensate — the sales-gas vs. liquids split every midstream gathering plant runs (Peng-Robinson).

Gas plant, Permian Basin, Texas, USA

Natural gas fractionation train

A four-column NGL fractionation train — demethanizer, deethanizer, depropanizer, debutanizer — recovering pipeline-spec sales gas plus ethane, propane, and butane products from wellhead-pressure raw natural gas, after Luyben (Ind. Eng. Chem. Res. 2013, 52, 10741).

Gas processing (cold-separator dew-point control)

Cold-separator NGL recovery / dew-point control

A rich natural gas is chilled in the gas/gas exchanger + propane-chiller train (lumped here as one cold box) to -33 degC and let into a cold separator. The heavy hydrocarbons (C3+) drop out as a raw NGL liquid, leaving a leaner sales gas that meets its hydrocarbon dew-point spec — so no more liquid forms as the gas cools in the export pipeline. The cold separator is modelled as an adiabatic flash fed by the chiller, so the single knob (the chill temperature) drives both the NGL recovered and the refrigeration duty: colder recovers more NGL but costs more refrigeration (the built-in sensitivity). Peng-Robinson handles the hydrocarbon VLE; the companion gas-conditioning utilities (hydrate risk, water content, Joule-Thomson choke cooling, and compressor sizing for the sales-gas recompression) quantify the rest of the plant around it.

Gas processing (NGL fractionation train)

Depropanizer (NGL fractionation)

The raw NGL recovered by a cold separator is fractionated: a depropanizer column splits it into a C₃-and-lighter overhead (propane + a little ethane, the LPG product) and a C4+ bottoms (butanes + natural gasoline). The column is solved with the component-flow Naphtali-Sandholm MESH (method "ns"), which carries every component flow as an unknown so the feed-vs-products material balance is an equation the solver closes by construction — the right tool for a sharp C₃/C₄ cut, where a reduced-form column would drag the split off and leak a few percent of a component. Peng-Robinson handles the light-hydrocarbon VLE; the built-in sensitivity sweeps the reflux ratio against the reboiler duty (the classic distillation energy trade-off).

Gas processing (NGL fractionation train)

NGL fractionation train (depropanizer + debutanizer)

The full two-column NGL fractionation train of a gas plant: a raw NGL is split into three products. The depropanizer takes a propane-and-lighter overhead (the propane product), and its C4+ bottoms feed a debutanizer that splits butane overhead from a natural-gasoline (C5+) bottoms. Both columns use the component-flow Naphtali-Sandholm MESH (method "ns") so each sharp cut conserves every component exactly; the two columns solve in sequence (no recycle) and the whole train closes on mass. Peng-Robinson handles light-hydrocarbon VLE; the debutanizer runs at a lower pressure (7 bar vs 18) so its reboiler stays within a reasonable temperature.

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