Class TieInCapacityPlanner.ProcessOutcome
java.lang.Object
neqsim.process.fielddevelopment.tieback.capacity.TieInCapacityPlanner.ProcessOutcome
- Enclosing class:
TieInCapacityPlanner
Process-model capacity outcome.
- Version:
- 1.0
- Author:
- ESOL
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringBottleneck equipment or diagnostic name.private final doubleBottleneck utilization as a fraction.private final booleanTrue if process capacity is available.private final booleanTrue if a process model was used.Equipment utilization summary in percent. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateProcessOutcome(boolean processModelUsed, boolean capacityAvailable, String bottleneckName, double bottleneckUtilization, Map<String, Double> utilizationSummary) Creates a process-model outcome. -
Method Summary
Modifier and TypeMethodDescriptionprivate static TieInCapacityPlanner.ProcessOutcomeCreates a failed process outcome.private static TieInCapacityPlanner.ProcessOutcomenotUsed()Creates an outcome for cases where no process model is configured.
-
Field Details
-
processModelUsed
private final boolean processModelUsedTrue if a process model was used. -
capacityAvailable
private final boolean capacityAvailableTrue if process capacity is available. -
bottleneckName
Bottleneck equipment or diagnostic name. -
bottleneckUtilization
private final double bottleneckUtilizationBottleneck utilization as a fraction. -
utilizationSummary
-
-
Constructor Details
-
ProcessOutcome
private ProcessOutcome(boolean processModelUsed, boolean capacityAvailable, String bottleneckName, double bottleneckUtilization, Map<String, Double> utilizationSummary) Creates a process-model outcome.- Parameters:
processModelUsed- true if a process model was usedcapacityAvailable- true if process capacity is availablebottleneckName- bottleneck namebottleneckUtilization- bottleneck utilization fractionutilizationSummary- utilization summary in percent
-
-
Method Details
-
notUsed
Creates an outcome for cases where no process model is configured.- Returns:
- process outcome marked as not used
-
failed
Creates a failed process outcome.- Parameters:
message- diagnostic message- Returns:
- failed process outcome
-