Class ProcessSafetyScenario
java.lang.Object
neqsim.process.safety.ProcessSafetyScenario
- All Implemented Interfaces:
Serializable
Immutable description of a process safety scenario.
The scenario captures a set of perturbations such as blocked outlets or loss of utilities
along with optional custom manipulators. The perturbations are applied to a scenario specific
copy of a ProcessSystem prior to execution.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String, Consumer<ProcessEquipmentInterface>> private static final org.apache.logging.log4j.Loggerprivate final Stringprivate static final long -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(ProcessSystem processSystem) Apply the configured perturbations to the providedProcessSysteminstance.private voidgetName()Returns the combined set of unit names affected by the scenario.private void
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
logger
private static final org.apache.logging.log4j.Logger logger -
name
-
blockedOutletUnits
-
utilityLossUnits
-
controllerSetPointOverrides
-
customManipulators
-
-
Constructor Details
-
ProcessSafetyScenario
-
-
Method Details
-
getName
-
getBlockedOutletUnits
-
getUtilityLossUnits
-
getControllerSetPointOverrides
-
getCustomManipulators
-
applyTo
Apply the configured perturbations to the providedProcessSysteminstance.- Parameters:
processSystem- process system to manipulate
-
deactivateController
-
markUnitInactive
-
getTargetUnits
-
builder
-