Class FacilityCapacity.CapacityAssessment
java.lang.Object
neqsim.process.util.fielddevelopment.FacilityCapacity.CapacityAssessment
- All Implemented Interfaces:
Serializable
- Enclosing class:
FacilityCapacity
public static final class FacilityCapacity.CapacityAssessment
extends Object
implements Serializable
Complete facility capacity assessment result.
Contains the full capacity analysis including current bottleneck, near-bottlenecks, debottleneck options, and equipment headroom.
- Version:
- 1.0
- Author:
- ESOL
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final Stringprivate final doubleprivate final List<FacilityCapacity.DebottleneckOption> private final booleanprivate final Stringprivate static final longprivate final List<ProductionOptimizer.UtilizationRecord> -
Constructor Summary
ConstructorsConstructorDescriptionCapacityAssessment(double currentMaxRate, String rateUnit, String currentBottleneck, double bottleneckUtilization, List<ProductionOptimizer.UtilizationRecord> utilizationRecords, List<String> nearBottlenecks, List<FacilityCapacity.DebottleneckOption> debottleneckOptions, Map<String, Double> equipmentHeadroom, boolean feasible) Creates a capacity assessment. -
Method Summary
Modifier and TypeMethodDescriptiondoubleGets the bottleneck utilization.Gets the current bottleneck equipment name.doubleGets the current maximum sustainable rate.Gets debottleneck options sorted by NPV.Gets equipment headroom (rest capacity).Gets near-bottleneck equipment names.Gets the rate unit.getTopOptions(int n) Gets the top N debottleneck options by NPV.doubleGets the total potential production gain from all debottleneck options.Gets all utilization records.booleanChecks if a feasible operating point was found.Generates a Markdown summary of the assessment.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
currentMaxRate
private final double currentMaxRate -
rateUnit
-
currentBottleneck
-
bottleneckUtilization
private final double bottleneckUtilization -
utilizationRecords
-
nearBottlenecks
-
debottleneckOptions
-
equipmentHeadroom
-
feasible
private final boolean feasible
-
-
Constructor Details
-
CapacityAssessment
public CapacityAssessment(double currentMaxRate, String rateUnit, String currentBottleneck, double bottleneckUtilization, List<ProductionOptimizer.UtilizationRecord> utilizationRecords, List<String> nearBottlenecks, List<FacilityCapacity.DebottleneckOption> debottleneckOptions, Map<String, Double> equipmentHeadroom, boolean feasible) Creates a capacity assessment.- Parameters:
currentMaxRate- maximum sustainable raterateUnit- rate unitcurrentBottleneck- bottleneck equipment namebottleneckUtilization- bottleneck utilizationutilizationRecords- all utilization recordsnearBottlenecks- near-bottleneck equipment namesdebottleneckOptions- generated debottleneck optionsequipmentHeadroom- map of equipment to remaining capacityfeasible- true if a feasible operating point was found
-
-
Method Details
-
getCurrentMaxRate
public double getCurrentMaxRate()Gets the current maximum sustainable rate.- Returns:
- max rate
-
getRateUnit
-
getCurrentBottleneck
Gets the current bottleneck equipment name.- Returns:
- bottleneck name
-
getBottleneckUtilization
public double getBottleneckUtilization()Gets the bottleneck utilization.- Returns:
- utilization (0-1)
-
getUtilizationRecords
Gets all utilization records.- Returns:
- unmodifiable list of utilization records
-
getNearBottlenecks
-
getDebottleneckOptions
Gets debottleneck options sorted by NPV.- Returns:
- unmodifiable list of debottleneck options
-
getEquipmentHeadroom
-
isFeasible
public boolean isFeasible()Checks if a feasible operating point was found.- Returns:
- true if feasible
-
getTotalPotentialGain
public double getTotalPotentialGain()Gets the total potential production gain from all debottleneck options.- Returns:
- sum of incremental production from all options
-
getTopOptions
Gets the top N debottleneck options by NPV.- Parameters:
n- number of options to return- Returns:
- list of top options
-
toMarkdown
Generates a Markdown summary of the assessment.- Returns:
- Markdown formatted string
-