Enum Class AutomaticScenarioGenerator.FailureMode
java.lang.Object
java.lang.Enum<AutomaticScenarioGenerator.FailureMode>
neqsim.process.safety.scenario.AutomaticScenarioGenerator.FailureMode
- All Implemented Interfaces:
Serializable, Comparable<AutomaticScenarioGenerator.FailureMode>, Constable
- Enclosing class:
AutomaticScenarioGenerator
public static enum AutomaticScenarioGenerator.FailureMode
extends Enum<AutomaticScenarioGenerator.FailureMode>
Standard equipment failure modes.
- Version:
- 1.0
- Author:
- ESOL
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBlocked outlet.Compressor trip.Complete loss of cooling (air coolers, cooling water).External fire.Complete loss of heating.Instrument failure.Loss of containment.Power failure.Pump trip.Valve fails to control position.Valve stuck in closed position.Valve stuck in open position. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final Stringprivate final AutomaticScenarioGenerator.HazopDeviation -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFailureMode(String description, String category, AutomaticScenarioGenerator.HazopDeviation deviation) -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COOLING_LOSS
Complete loss of cooling (air coolers, cooling water). -
HEATING_LOSS
Complete loss of heating. -
VALVE_STUCK_CLOSED
Valve stuck in closed position. -
VALVE_STUCK_OPEN
Valve stuck in open position. -
VALVE_CONTROL_FAILURE
Valve fails to control position. -
COMPRESSOR_TRIP
Compressor trip. -
PUMP_TRIP
Pump trip. -
BLOCKED_OUTLET
Blocked outlet. -
POWER_FAILURE
Power failure. -
INSTRUMENT_FAILURE
Instrument failure. -
EXTERNAL_FIRE
External fire. -
LOSS_OF_CONTAINMENT
Loss of containment.
-
-
Field Details
-
description
-
category
-
hazopDeviation
-
-
Constructor Details
-
FailureMode
private FailureMode(String description, String category, AutomaticScenarioGenerator.HazopDeviation deviation)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getDescription
-
getCategory
-
getHazopDeviation
-