NeqSim Relief & Flare Network Skill
Relief-system screening and simulation: individual PSV sizing, native valve response,
plant load summation, flare-tip selection and consequence estimates. References include
API 520, API 521, API 537, ISO 4126 and ISO 23251; using these
APIs does not establish compliance, certified capacity or installation approval.
PSV unit/API correction, 2026-11-05: ReliefValveSizing pressures are Pa absolute,
not barg or bara. Native SafetyValve and SafetyReliefValve pressure settings use
bara. Convert explicitly at that boundary. Do not infer a capacity, orifice-area or
certified-coefficient basis from a dynamic model's Cv. Select accumulation, blowdown,
back-pressure and radiation limits from the applicable project/code/vendor basis;
the example fractions below are study inputs, not universal acceptance limits.
For a shared PSV, inspect OverpressureStudyResult.getScenarioResults() and report both the area-governing
getGoverningScenario() and the disposal getMaximumLoadScenario(). Re-evaluate older results. Carry each
case's properties and installed piping checks into the relief register. Match offshore equipment tags and declared
PSV tags in the engineering report's apiRp14cProtectionReview section.
When to Use
- Sizing a single PSV (gas / liquid / two-phase / fire case)
- Checking whether a blocked-in liquid segment needs thermal relief or source-term
handoff after rupture screening
- API 521 fire heat input on wetted area
- Aggregating simultaneous relief loads to a flare header
- Flare tip diameter and stack height (radiation)
- Header hydraulics: back-pressure on PSVs, Mach < 0.7
- Sour-gas dispersion check (toxic clouds)
Standards: API 520 Part I/II, API 521 (relief contingencies + radiation),
API 537 (flare equipment), NFPA 30, EN ISO 23251.
Native PSV response and canonical P&ID feedback
Use SafetyReliefValve for a self-acting native pressure/hysteresis response with
declared lift lag, dwell and rate limits. Execute the UUID overload used by
ProcessSystem; a direct method-only ramp is not evidence that the process runner
exercises the same response. Keep opening at set pressure, full-open pressure and
reseat pressure distinct. Enable the native gas choked-flow capacity limit for credited gas relief response.
Record getPressureReliefConfiguration() and the actual
lift, flow and ordered pop/reseat observations. A cycle count is not an acoustic or
mechanical chatter model.
Algebraic run()/run(UUID) and steady-mode transient dispatch preserve the
connected source flow and fluid identity while evaluating outlet capacity on a
private inlet workspace. Finite transient mode publishes withdrawal at both
ports; give it a dedicated tee branch and aggregate downstream demands before
upstream inventory integration. Do not use algebraic capacity as a balanced
parallel withdrawal or dynamic-response result.
For a process/P&ID feedback study:
- Connect the actual valve to a protected-vessel gas branch and an explicit
downstream pressure boundary through a source-backed tee. Refresh branch
intensive state before valve hydraulics; aggregate both actual demands before
the vessel consumes its outlet boundary. Do not prescribe an arbitrary relief
split or reconcile inventory afterwards.
- Import it with
PidPressureReliefImporterinto the existingPidDesignModel.
The initial supported route is an exact CONVENTIONAL SafetyReliefValve, LINEAR trim and a
real two-outlet Splitter. Record a capacity-basis evidence reference; a
self-acting PSV receives no fabricated controller or SIF signal.
- Use
PidPressureReliefValidatorto apply canonical settings to an isolated
process copy, read them back, fingerprint the actual configuration and attach
strict native scenario evidence. Reject stale bindings, wrong endpoints,
unsupported trim, secondary valve controllers/travel and ignored settings.
- Check no-demand standby, actual relief demand, failed/limited relief,
back-pressure sensitivity, slow response and recovery/refinement as applicable.
Reseating requires an earlier observed opening and subsequent physical seating;
an initially closed sample cannot satisfy recovery. No-demand PASS is not
successful protection on a demand.
- Retain full-window sampled pressure checks, actual positive discharge and
unwanted-relief checks separately from per-vessel component, mass and energy
closure. A successful response cannot clear numerical FAIL/HOLD or establish
unobserved continuous peaks, certified sizing, SRS/SIL/IPL credit or construction
approval. Check actual snapshot coverage before claiming transactional rollback
of the entire process.
The synthetic AdvancedV101PsvStudyTest, PidNativePressureReliefTest and
SafetyReliefValveUuidTest provide executable examples and regression evidence.
See the PSV workflow guide
and P&ID synthesis for canonical authority,
source identities, explicit absolute-to-gauge references and separate engineering
review gates.
Pattern 1 — Gas-phase area screening
import neqsim.process.util.fire.ReliefValveSizing;
import neqsim.process.util.fire.ReliefValveSizing.PSVSizingResult;
PSVSizingResult psv = ReliefValveSizing.calculateRequiredArea(
5000.0 / 3600.0, // kg/s
110.0e5, // set pressure, Pa absolute
0.10, // explicit example overpressure fraction
1.013e5, // back pressure, Pa absolute
333.15, // K
0.018, // kg/mol
0.95, // compressibility factor
1.30, // Cp/Cv
false, // balanced bellows
false // rupture disc upstream
);
double area_m2 = psv.getRequiredArea();
String orifice = psv.getRecommendedOrifice();
This exact gas call and the following liquid, two-phase and fire calls are exercised
by ReliefValveSizingDocumentationTest. See the complete tested unit contract in