Enum Class CapacityAllocationPolicy
java.lang.Object
java.lang.Enum<CapacityAllocationPolicy>
neqsim.process.fielddevelopment.tieback.capacity.CapacityAllocationPolicy
- All Implemented Interfaces:
Serializable, Comparable<CapacityAllocationPolicy>, Constable
Allocation policy used when host capacity is insufficient for base and satellite production.
- Version:
- 1.0
- Author:
- ESOL
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPreserve existing host production first and allocate remaining capacity to the satellite.Scale base and satellite production by the same feasible capacity factor.Allocate host capacity to the satellite first, then hold back base production if required.Allocate capacity first to the stream with the highest period value. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CapacityAllocationPolicyReturns the enum constant of this class with the specified name.static CapacityAllocationPolicy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BASE_FIRST
Preserve existing host production first and allocate remaining capacity to the satellite. -
SATELLITE_FIRST
Allocate host capacity to the satellite first, then hold back base production if required. -
PRO_RATA
Scale base and satellite production by the same feasible capacity factor. -
VALUE_WEIGHTED
Allocate capacity first to the stream with the highest period value.
-
-
Constructor Details
-
CapacityAllocationPolicy
private CapacityAllocationPolicy()
-
-
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
-