Class ProcessLogicIntegratedExample

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

public class ProcessLogicIntegratedExample extends Object
Enhanced integrated safety system example using the complete NeqSim process logic framework.

This example demonstrates:

  • ESD Logic with custom actions and manual triggers
  • Startup Logic with permissive conditions
  • ProcessScenarioRunner for automated scenario testing
  • ProcessSafetyScenario for systematic perturbation testing
  • Integration of safety instrumented functions (SIF)

Safety architecture:

  • SIL-2: ESD system with manual and automatic triggers
  • SIL-1: Process alarms and operator intervention
  • PSV: Final mechanical 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:
    • ESD_ACTIVATION_PRESSURE

      private static final double ESD_ACTIVATION_PRESSURE
      See Also:
    • PSV_SET_PRESSURE

      private static final double PSV_SET_PRESSURE
      See Also:
  • Constructor Details

    • ProcessLogicIntegratedExample

      public ProcessLogicIntegratedExample()
  • Method Details

    • main

      public static void main(String[] args)
      Main method demonstrating process logic integration.
      Parameters:
      args - command-line arguments (not used)
    • buildProcessSystem

      private static ProcessSystem buildProcessSystem()
      Builds the complete process system.
      Returns:
      the configured process system
    • setupInstrumentation

      private static ProcessLogicIntegratedExample.InstrumentationSetup setupInstrumentation(ProcessSystem system)
      Sets up instrumentation for the process.
      Parameters:
      system - the process system to set up instrumentation for
      Returns:
      the configured instrumentation setup
    • setupProcessLogic

      Sets up process logic sequences.
    • runTestScenarios

      private static void runTestScenarios(ProcessScenarioRunner runner)
      Runs comprehensive test scenarios using the batch execution API.
    • createHIPPSLogic

      private static ESDLogic createHIPPSLogic(HIPPSValve hippsValve)
      Creates independent HIPPS logic - fast-acting pressure protection.
      Parameters:
      hippsValve - the HIPPS valve to control
      Returns:
      configured ESD logic for HIPPS protection