Class IntegratedSafetySystemExample

java.lang.Object
neqsim.process.util.example.IntegratedSafetySystemExample

public class IntegratedSafetySystemExample extends Object
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
  • 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

      public static void main(String[] args)
      Main method demonstrating integrated safety systems and scenarios.
      Parameters:
      args - command-line arguments (not used)
    • 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 stream
      hippsValve - HIPPS valve
      esdInletValve - ESD inlet valve
      separatorInlet - separator inlet stream
      separator - separator equipment
      separatorGasOut - separator gas outlet stream
      gasSplitter - gas splitter
      processStream - process stream
      blowdownStream - blowdown stream
      bdValve - blowdown valve
      psv - pressure safety valve
      psvOutlet - PSV outlet stream
      flareHeader - flare header mixer
      flareHeaderOutlet - flare header outlet stream
      flare - flare equipment
      hippsPT1 - HIPPS pressure transmitter 1
      hippsPT2 - HIPPS pressure transmitter 2
      separatorPT - separator pressure transmitter
      separatorTT - separator temperature transmitter
      hippsController - HIPPS controller
      esdController - ESD controller
      fireSystem - 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 stream
      hippsValve - HIPPS valve
      esdInletValve - ESD inlet valve
      separatorInlet - Separator inlet stream
      separator - Separator vessel
      separatorGasOut - Separator gas outlet
      gasSplitter - Gas stream splitter
      processStream - Process stream
      blowdownStream - Blowdown stream
      bdValve - Blowdown valve
      psv - Pressure safety valve
      psvOutlet - PSV outlet stream
      flareHeader - Flare header mixer
      flareHeaderOutlet - Flare header outlet
      flare - Flare system
      hippsPT1 - HIPPS pressure transmitter 1
      hippsPT2 - HIPPS pressure transmitter 2
      separatorPT - Separator pressure transmitter
      separatorTT - Separator temperature transmitter
      hippsController - HIPPS controller
      esdController - ESD controller
      fireSystem - 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 stream
      hippsValve - HIPPS valve
      esdInletValve - ESD inlet valve
      separatorInlet - Separator inlet stream
      separator - Separator vessel
      separatorGasOut - Separator gas outlet
      gasSplitter - Gas stream splitter
      processStream - Process stream
      blowdownStream - Blowdown stream
      bdValve - Blowdown valve
      psv - Pressure safety valve
      psvOutlet - PSV outlet stream
      flareHeader - Flare header mixer
      flareHeaderOutlet - Flare header outlet
      flare - Flare system
      hippsPT1 - HIPPS pressure transmitter 1
      hippsPT2 - HIPPS pressure transmitter 2
      separatorPT - Separator pressure transmitter
      separatorTT - Separator temperature transmitter
      hippsController - HIPPS controller
      esdController - ESD controller
      fireSystem - Fire and gas detection system
      esdButton - 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).
      Parameters:
      highPressureFeed - the high pressure feed stream
      hippsValve - the HIPPS valve
      esdInletValve - the ESD inlet valve
      separatorInlet - the separator inlet stream
      separator - the separator equipment
      separatorGasOut - the separator gas outlet stream
      gasSplitter - the gas splitter
      processStream - the main process stream
      blowdownStream - the blowdown stream
      bdValve - the blowdown valve
      psv - the pressure safety valve
      psvOutlet - the PSV outlet stream
      flareHeader - the flare header mixer
      flareHeaderOutlet - the flare header outlet stream
      flare - the flare equipment
      hippsPT1 - the first HIPPS pressure transmitter
      hippsPT2 - the second HIPPS pressure transmitter
      separatorPT - the separator pressure transmitter
      separatorTT - the separator temperature transmitter
      hippsController - the HIPPS controller
      esdController - the ESD controller
      fireSystem - the fire detection system
    • 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 stream
      hippsValve - HIPPS valve
      esdInletValve - ESD inlet valve
      separatorInlet - separator inlet stream
      separator - separator equipment
      separatorGasOut - separator gas outlet stream
      gasSplitter - gas splitter
      processStream - process stream
      blowdownStream - blowdown stream
      bdValve - blowdown valve
      psv - pressure safety valve
      psvOutlet - PSV outlet stream
      flareHeader - flare header mixer
      flareHeaderOutlet - flare header outlet stream
      flare - 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.
      Parameters:
      hippsValve - the HIPPS isolation valve to reset
      esdInletValve - the ESD inlet valve to reset
      gasSplitter - the gas splitter to reset split factors
      bdValve - the blowdown valve to reset
      separator - the separator to reset to steady-state calculation
      hippsController - the HIPPS controller to reset
      esdController - the ESD controller to reset
      esdButton - the ESD push button to reset