Class IntegratedSafetySystemExample
java.lang.Object
neqsim.process.util.example.IntegratedSafetySystemExample
Comprehensive example demonstrating integrated safety systems including:
- Emergency Shutdown (ESD) System with SIL-2 implementation
- High Integrity Pressure Protection System (HIPPS) with SIL-3
- Pressure Safety Valve (PSV) as final protection layer
- Blowdown system with flow control
- Flare system with heat radiation monitoring
- Multiple pressure and temperature transmitters
- Fire detection system
- Various process scenarios (normal, overpressure, fire, HIPPS activation)
Safety Integrity Levels (SIL):
- SIL-3: HIPPS (PFD 0.0001-0.001) - High pressure protection
- SIL-2: ESD (PFD 0.001-0.01) - Emergency shutdown
- SIL-1: Alarms (PFD 0.01-0.1) - Operator intervention
- PSV: Mechanical final protection layer
- Version:
- 1.0
- Author:
- ESOL
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classESD controller implementing SIL-2 logic.(package private) static classFire detection system.(package private) static classHIPPS controller implementing SIL-3 logic. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidMain method demonstrating integrated safety systems and scenarios.private static voidPrint system configuration and safety setpoints.private static voidresetSystem(ThrottlingValve hippsValve, ThrottlingValve esdInletValve, Splitter gasSplitter, BlowdownValve bdValve, Separator separator, IntegratedSafetySystemExample.HIPPSController hippsController, IntegratedSafetySystemExample.ESDController esdController, PushButton esdButton) Reset system to normal operation.private static voidrunScenario1_NormalOperation(Stream highPressureFeed, ThrottlingValve hippsValve, ThrottlingValve esdInletValve, Stream separatorInlet, Separator separator, Stream separatorGasOut, Splitter gasSplitter, Stream processStream, Stream blowdownStream, BlowdownValve bdValve, SafetyValve psv, Stream psvOutlet, Mixer flareHeader, Stream flareHeaderOutlet, Flare flare, PressureTransmitter hippsPT1, PressureTransmitter hippsPT2, PressureTransmitter separatorPT, TemperatureTransmitter separatorTT, IntegratedSafetySystemExample.HIPPSController hippsController, IntegratedSafetySystemExample.ESDController esdController, IntegratedSafetySystemExample.FireDetectionSystem fireSystem) Scenario 1: Normal operation with monitoring.private static voidrunScenario2_HIPPSActivation(Stream highPressureFeed, ThrottlingValve hippsValve, ThrottlingValve esdInletValve, Stream separatorInlet, Separator separator, Stream separatorGasOut, Splitter gasSplitter, Stream processStream, Stream blowdownStream, BlowdownValve bdValve, SafetyValve psv, Stream psvOutlet, Mixer flareHeader, Stream flareHeaderOutlet, Flare flare, PressureTransmitter hippsPT1, PressureTransmitter hippsPT2, PressureTransmitter separatorPT, TemperatureTransmitter separatorTT, IntegratedSafetySystemExample.HIPPSController hippsController, IntegratedSafetySystemExample.ESDController esdController, IntegratedSafetySystemExample.FireDetectionSystem fireSystem) Scenario 2: HIPPS activation due to high pressure.private static voidrunScenario3_ESDAndBlowdown(Stream highPressureFeed, ThrottlingValve hippsValve, ThrottlingValve esdInletValve, Stream separatorInlet, Separator separator, Stream separatorGasOut, Splitter gasSplitter, Stream processStream, Stream blowdownStream, BlowdownValve bdValve, SafetyValve psv, Stream psvOutlet, Mixer flareHeader, Stream flareHeaderOutlet, Flare flare, PressureTransmitter hippsPT1, PressureTransmitter hippsPT2, PressureTransmitter separatorPT, TemperatureTransmitter separatorTT, IntegratedSafetySystemExample.HIPPSController hippsController, IntegratedSafetySystemExample.ESDController esdController, IntegratedSafetySystemExample.FireDetectionSystem fireSystem, PushButton esdButton) Scenario 3: ESD activation and blowdown.private static voidrunScenario4_PSVRelief(Stream highPressureFeed, ThrottlingValve hippsValve, ThrottlingValve esdInletValve, Stream separatorInlet, Separator separator, Stream separatorGasOut, Splitter gasSplitter, Stream processStream, Stream blowdownStream, BlowdownValve bdValve, SafetyValve psv, Stream psvOutlet, Mixer flareHeader, Stream flareHeaderOutlet, Flare flare, PressureTransmitter hippsPT1, PressureTransmitter hippsPT2, PressureTransmitter separatorPT, TemperatureTransmitter separatorTT, IntegratedSafetySystemExample.HIPPSController hippsController, IntegratedSafetySystemExample.ESDController esdController, IntegratedSafetySystemExample.FireDetectionSystem fireSystem) Scenario 4: PSV relief (final protection layer).private static voidrunSystem(Stream highPressureFeed, ThrottlingValve hippsValve, ThrottlingValve esdInletValve, Stream separatorInlet, Separator separator, Stream separatorGasOut, Splitter gasSplitter, Stream processStream, Stream blowdownStream, BlowdownValve bdValve, SafetyValve psv, Stream psvOutlet, Mixer flareHeader, Stream flareHeaderOutlet, Flare flare) Run all equipment in the system.
-
Field Details
-
NORMAL_OPERATING_PRESSURE
private static final double NORMAL_OPERATING_PRESSURE- See Also:
-
HIGH_PRESSURE_ALARM
private static final double HIGH_PRESSURE_ALARM- See Also:
-
HIGH_HIGH_PRESSURE_ALARM
private static final double HIGH_HIGH_PRESSURE_ALARM- See Also:
-
HIPPS_ACTIVATION_PRESSURE
private static final double HIPPS_ACTIVATION_PRESSURE- See Also:
-
PSV_SET_PRESSURE
private static final double PSV_SET_PRESSURE- See Also:
-
FIRE_DETECTION_TEMPERATURE
private static final double FIRE_DETECTION_TEMPERATURE- See Also:
-
HIPPS_CLOSURE_TIME
private static final double HIPPS_CLOSURE_TIME- See Also:
-
ESD_CLOSURE_TIME
private static final double ESD_CLOSURE_TIME- See Also:
-
BLOWDOWN_OPENING_TIME
private static final double BLOWDOWN_OPENING_TIME- See Also:
-
-
Constructor Details
-
IntegratedSafetySystemExample
public IntegratedSafetySystemExample()
-
-
Method Details
-
main
Main method demonstrating integrated safety systems and scenarios. -
printSystemConfiguration
private static void printSystemConfiguration()Print system configuration and safety setpoints. -
runScenario1_NormalOperation
private static void runScenario1_NormalOperation(Stream highPressureFeed, ThrottlingValve hippsValve, ThrottlingValve esdInletValve, Stream separatorInlet, Separator separator, Stream separatorGasOut, Splitter gasSplitter, Stream processStream, Stream blowdownStream, BlowdownValve bdValve, SafetyValve psv, Stream psvOutlet, Mixer flareHeader, Stream flareHeaderOutlet, Flare flare, PressureTransmitter hippsPT1, PressureTransmitter hippsPT2, PressureTransmitter separatorPT, TemperatureTransmitter separatorTT, IntegratedSafetySystemExample.HIPPSController hippsController, IntegratedSafetySystemExample.ESDController esdController, IntegratedSafetySystemExample.FireDetectionSystem fireSystem) Scenario 1: Normal operation with monitoring.- Parameters:
highPressureFeed- high pressure feed streamhippsValve- HIPPS valveesdInletValve- ESD inlet valveseparatorInlet- separator inlet streamseparator- separator equipmentseparatorGasOut- separator gas outlet streamgasSplitter- gas splitterprocessStream- process streamblowdownStream- blowdown streambdValve- blowdown valvepsv- pressure safety valvepsvOutlet- PSV outlet streamflareHeader- flare header mixerflareHeaderOutlet- flare header outlet streamflare- flare equipmenthippsPT1- HIPPS pressure transmitter 1hippsPT2- HIPPS pressure transmitter 2separatorPT- separator pressure transmitterseparatorTT- separator temperature transmitterhippsController- HIPPS controlleresdController- ESD controllerfireSystem- fire detection system
-
runScenario2_HIPPSActivation
private static void runScenario2_HIPPSActivation(Stream highPressureFeed, ThrottlingValve hippsValve, ThrottlingValve esdInletValve, Stream separatorInlet, Separator separator, Stream separatorGasOut, Splitter gasSplitter, Stream processStream, Stream blowdownStream, BlowdownValve bdValve, SafetyValve psv, Stream psvOutlet, Mixer flareHeader, Stream flareHeaderOutlet, Flare flare, PressureTransmitter hippsPT1, PressureTransmitter hippsPT2, PressureTransmitter separatorPT, TemperatureTransmitter separatorTT, IntegratedSafetySystemExample.HIPPSController hippsController, IntegratedSafetySystemExample.ESDController esdController, IntegratedSafetySystemExample.FireDetectionSystem fireSystem) Scenario 2: HIPPS activation due to high pressure.- Parameters:
highPressureFeed- High pressure feed streamhippsValve- HIPPS valveesdInletValve- ESD inlet valveseparatorInlet- Separator inlet streamseparator- Separator vesselseparatorGasOut- Separator gas outletgasSplitter- Gas stream splitterprocessStream- Process streamblowdownStream- Blowdown streambdValve- Blowdown valvepsv- Pressure safety valvepsvOutlet- PSV outlet streamflareHeader- Flare header mixerflareHeaderOutlet- Flare header outletflare- Flare systemhippsPT1- HIPPS pressure transmitter 1hippsPT2- HIPPS pressure transmitter 2separatorPT- Separator pressure transmitterseparatorTT- Separator temperature transmitterhippsController- HIPPS controlleresdController- ESD controllerfireSystem- Fire and gas detection system
-
runScenario3_ESDAndBlowdown
private static void runScenario3_ESDAndBlowdown(Stream highPressureFeed, ThrottlingValve hippsValve, ThrottlingValve esdInletValve, Stream separatorInlet, Separator separator, Stream separatorGasOut, Splitter gasSplitter, Stream processStream, Stream blowdownStream, BlowdownValve bdValve, SafetyValve psv, Stream psvOutlet, Mixer flareHeader, Stream flareHeaderOutlet, Flare flare, PressureTransmitter hippsPT1, PressureTransmitter hippsPT2, PressureTransmitter separatorPT, TemperatureTransmitter separatorTT, IntegratedSafetySystemExample.HIPPSController hippsController, IntegratedSafetySystemExample.ESDController esdController, IntegratedSafetySystemExample.FireDetectionSystem fireSystem, PushButton esdButton) Scenario 3: ESD activation and blowdown.- Parameters:
highPressureFeed- High pressure feed streamhippsValve- HIPPS valveesdInletValve- ESD inlet valveseparatorInlet- Separator inlet streamseparator- Separator vesselseparatorGasOut- Separator gas outletgasSplitter- Gas stream splitterprocessStream- Process streamblowdownStream- Blowdown streambdValve- Blowdown valvepsv- Pressure safety valvepsvOutlet- PSV outlet streamflareHeader- Flare header mixerflareHeaderOutlet- Flare header outletflare- Flare systemhippsPT1- HIPPS pressure transmitter 1hippsPT2- HIPPS pressure transmitter 2separatorPT- Separator pressure transmitterseparatorTT- Separator temperature transmitterhippsController- HIPPS controlleresdController- ESD controllerfireSystem- Fire and gas detection systemesdButton- ESD push button
-
runScenario4_PSVRelief
private static void runScenario4_PSVRelief(Stream highPressureFeed, ThrottlingValve hippsValve, ThrottlingValve esdInletValve, Stream separatorInlet, Separator separator, Stream separatorGasOut, Splitter gasSplitter, Stream processStream, Stream blowdownStream, BlowdownValve bdValve, SafetyValve psv, Stream psvOutlet, Mixer flareHeader, Stream flareHeaderOutlet, Flare flare, PressureTransmitter hippsPT1, PressureTransmitter hippsPT2, PressureTransmitter separatorPT, TemperatureTransmitter separatorTT, IntegratedSafetySystemExample.HIPPSController hippsController, IntegratedSafetySystemExample.ESDController esdController, IntegratedSafetySystemExample.FireDetectionSystem fireSystem) Scenario 4: PSV relief (final protection layer). -
runSystem
private static void runSystem(Stream highPressureFeed, ThrottlingValve hippsValve, ThrottlingValve esdInletValve, Stream separatorInlet, Separator separator, Stream separatorGasOut, Splitter gasSplitter, Stream processStream, Stream blowdownStream, BlowdownValve bdValve, SafetyValve psv, Stream psvOutlet, Mixer flareHeader, Stream flareHeaderOutlet, Flare flare) Run all equipment in the system.- Parameters:
highPressureFeed- high pressure feed streamhippsValve- HIPPS valveesdInletValve- ESD inlet valveseparatorInlet- separator inlet streamseparator- separator equipmentseparatorGasOut- separator gas outlet streamgasSplitter- gas splitterprocessStream- process streamblowdownStream- blowdown streambdValve- blowdown valvepsv- pressure safety valvepsvOutlet- PSV outlet streamflareHeader- flare header mixerflareHeaderOutlet- flare header outlet streamflare- flare equipment
-
resetSystem
private static void resetSystem(ThrottlingValve hippsValve, ThrottlingValve esdInletValve, Splitter gasSplitter, BlowdownValve bdValve, Separator separator, IntegratedSafetySystemExample.HIPPSController hippsController, IntegratedSafetySystemExample.ESDController esdController, PushButton esdButton) Reset system to normal operation.
-