Enum Class InfrastructureInput.PowerSupply
java.lang.Object
java.lang.Enum<InfrastructureInput.PowerSupply>
neqsim.process.fielddevelopment.concept.InfrastructureInput.PowerSupply
- All Implemented Interfaces:
Serializable, Comparable<InfrastructureInput.PowerSupply>, Constable
- Enclosing class:
InfrastructureInput
Power supply option.
- Version:
- 1.0
- Author:
- ESOL
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCombined cycle gas turbine.Diesel generators.Local gas turbine generation.Hybrid (partial electrification).Power from host facility.Power from shore (electrification). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static InfrastructureInput.PowerSupply[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GAS_TURBINE
Local gas turbine generation. -
POWER_FROM_SHORE
Power from shore (electrification). -
POWER_FROM_HOST
Power from host facility. -
HYBRID
Hybrid (partial electrification). -
COMBINED_CYCLE
Combined cycle gas turbine. -
DIESEL
Diesel generators.
-
-
Constructor Details
-
PowerSupply
private PowerSupply()
-
-
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
-