Skip to the content.

Safety studies on a generated P&ID

PidSafetyStudies takes the safeguards that the P&ID synthesis proposed (relief valves, blowdown valves, trips) and calculates them from the converged process simulation. The results are written back onto the P&ID elements, so the drawings, the DEXPI file, the HAZOP preparation and the package report all show the same numbers.

PidDesignModel pid = PidDesignSynthesizer.synthesize(project, basis, NorsokPidRuleCatalog.completeProposals());
PidStandardConnectionProposals.complete(pid, project.getEngineeringProcessSystem());
PidSafetyStudies.Result studies = PidSafetyStudies.run(pid, project.getEngineeringProcessSystem(),
    PidSafetyStudies.Policy.screening().segmentVolume("23-KA-001", 2.0));
PidSimulationBindings bindings = PidSimulationBindings.from(project, pid);
ProfessionalPidPackageExporter.export(project, pid, bindings, metadata, outDir);

Run the studies after PidStandardConnectionProposals.complete(...) and before PidSimulationBindings.from(...): the bindings fingerprint the proposal.

What is calculated

Study Method Written to
Design pressure max(operating x 1.10, operating + 3.5 bar), gauge relief valve studyProtectedDesignPressureBarg; equipment callout DESIGN: ... (PROP.)
Relief, blocked outlet Inlet flashed at relieving pressure; all vapour relieved studyReliefCases
Relief, external fire API 521: Q = 43200 F A^0.82 W on the wetted area at normal liquid level; latent heat from a bubble-point flash at relieving pressure studyReliefCases
Relief, gas blow-by A liquid valve from a higher-pressure vessel fails open: IEC 60534 choked gas flow with the valve’s rated Cv studyReliefCases; the HAZOP of the upstream vessel
Relief valve size API 520 gas sizing for the governing case; standard orifice letter studySetPressureBarg, studyRelievingRateKgPerH, studyOrifice; drawing SET 64.9 barg / J; DEXPI SetPressureHigh
Blowdown DepressurizationSimulator, vapour withdrawal, smallest orifice reaching the lower of 6.9 barg and 50 % of design pressure within 15 min (API 521) orificeSizing, studyPeakBlowdownRateKgPerH, studyMinimumFluidTemperatureC; drawing RO 8 mm
Flare load Simultaneous blowdown of every sized segment against the largest single relief case flareLoad in the report
Trip set points Midway between operating value and the relief set pressure or design limit; level HH 85 %, LL 15 %; low flow 50 %; low pressure 50 % of operating setPoint, studySetPointBasis; drawn next to the function
SIL target NOG 070 minimum SIL for the function type silTarget
SIL screening IEC 61511 PFDavg of sensor, logic solver and the inlet isolation valves, upgraded step by step: partial-stroke testing, redundant sensors, redundant final element voting, studyPfdAvg, studySilVerification
HAZOP Every credited safeguard’s result is quoted on the matching deviation quantifiedSafeguardEvidence in pid-hazop-study.json

The package exporter writes pid-safety-studies.json whenever any element carries study results, and professional-pid-readiness.json points to it under safetyStudies.

What stays open

Findings in the result and the report list what the studies could not settle. Typical findings:

Governance