PO.SF.Slug.CatcherVolume


Description

Returns the liquid volume a slug catcher must hold for one design slug: the liquid in the slug body, less what the catcher's liquid outlet drains while the slug arrives, times a design margin. The slug length, its liquid holdup and its velocity are the caller's, from a slug-length correlation, a flow-regime study or a transient run; this function does the volume arithmetic on a stated basis, so the sheet shows each term.

Formula

=LAMBDA(slug_len, d, holdup, v_slug, q_drain, margin, output, IF(OR(slug_len<0, d<=0, holdup<0, holdup>1, v_slug<=0, q_drain<0, margin<1), NA(), LET( slug, slug_len*PI()/4*(d/12)^2*holdup/5.6145833, drained, q_drain/86400*slug_len/v_slug, IF(output="Slug", slug, IF(output="Drained", drained, IF(output="Volume", margin*MAX(0, slug-drained), NA()))))))

Parameters

Parameter Unit Description
slug_len ft Design slug length; 0 or more
d in Flowline internal diameter
holdup — Liquid holdup of the slug body, 0 to 1
v_slug ft/s Slug (translational) velocity at the catcher; above 0
q_drain bbl/d Liquid drain rate the catcher's outlet sustains during the slug; 0 or more
margin — Design margin on the net volume, 1 or more (1.2 to 1.5 is usual)
output text "Slug" liquid in the slug [bbl], "Drained" liquid drained while it arrives [bbl] or "Volume" catcher volume [bbl]

Examples

Invocation Expected
=PO.SF.Slug.CatcherVolume(500, 12, 0.9, 15, 10000, 1.2, "Slug") 62.948425
=PO.SF.Slug.CatcherVolume(500, 12, 0.9, 15, 10000, 1.2, "Drained") 3.858025
=PO.SF.Slug.CatcherVolume(500, 12, 0.9, 15, 10000, 1.2, "Volume") 70.90848
=PO.SF.Slug.CatcherVolume(1500, 16, 0.85, 10, 0, 1, "Volume") 317.073546
=PO.SF.Slug.CatcherVolume(300, 8, 0.8, 12, 50000, 1.25, "Volume") 0.566894
=PO.SF.Slug.CatcherVolume(300, 8, 0.8, 12, 60000, 1.25, "Volume") 0
=IF(ISNA(PO.SF.Slug.CatcherVolume(500, 12, 1.2, 15, 10000, 1.2, "Volume")), 1, 0) 1

Need a custom LAMBDA? Suggest a New Lambda