Class ProcessLogicIntegratedExample
java.lang.Object
neqsim.process.util.example.ProcessLogicIntegratedExample
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classExample: Custom logic class for gradual pressure reduction.private static classContainer for instrumentation setup.private static classContainer for process logic setup. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate static final doubleprivate static final doubleprivate static final double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static ProcessSystemBuilds the complete process system.private static ESDLogiccreateHIPPSLogic(HIPPSValve hippsValve) Creates independent HIPPS logic - fast-acting pressure protection.static voidMain method demonstrating process logic integration.private static voidRuns comprehensive test scenarios using the batch execution API.private static ProcessLogicIntegratedExample.InstrumentationSetupsetupInstrumentation(ProcessSystem system) Sets up instrumentation for the process.private static ProcessLogicIntegratedExample.ProcessLogicSetupsetupProcessLogic(ProcessSystem system, ProcessLogicIntegratedExample.InstrumentationSetup instruments) Sets up process logic sequences.
-
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
Main method demonstrating process logic integration. -
buildProcessSystem
Builds the complete process system. -
setupInstrumentation
private static ProcessLogicIntegratedExample.InstrumentationSetup setupInstrumentation(ProcessSystem system) Sets up instrumentation for the process. -
setupProcessLogic
private static ProcessLogicIntegratedExample.ProcessLogicSetup setupProcessLogic(ProcessSystem system, ProcessLogicIntegratedExample.InstrumentationSetup instruments) Sets up process logic sequences. -
runTestScenarios
Runs comprehensive test scenarios using the batch execution API. -
createHIPPSLogic
Creates independent HIPPS logic - fast-acting pressure protection.
-