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 Details

  • 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 rate
      rateUnit - rate unit
      currentBottleneck - bottleneck equipment name
      bottleneckUtilization - bottleneck utilization
      utilizationRecords - all utilization records
      nearBottlenecks - near-bottleneck equipment names
      debottleneckOptions - generated debottleneck options
      equipmentHeadroom - map of equipment to remaining capacity
      feasible - true if a feasible operating point was found
  • Method Details

    • getCurrentMaxRate

      public double getCurrentMaxRate()
      Gets the current maximum sustainable rate.
      Returns:
      max rate
    • getRateUnit

      public String getRateUnit()
      Gets the rate unit.
      Returns:
      rate unit
    • getCurrentBottleneck

      public String getCurrentBottleneck()
      Gets the current bottleneck equipment name.
      Returns:
      bottleneck name
    • getBottleneckUtilization

      public double getBottleneckUtilization()
      Gets the bottleneck utilization.
      Returns:
      utilization (0-1)
    • getUtilizationRecords

      public List<ProductionOptimizer.UtilizationRecord> getUtilizationRecords()
      Gets all utilization records.
      Returns:
      unmodifiable list of utilization records
    • getNearBottlenecks

      public List<String> getNearBottlenecks()
      Gets near-bottleneck equipment names.
      Returns:
      unmodifiable list of near-bottleneck names
    • getDebottleneckOptions

      public List<FacilityCapacity.DebottleneckOption> getDebottleneckOptions()
      Gets debottleneck options sorted by NPV.
      Returns:
      unmodifiable list of debottleneck options
    • getEquipmentHeadroom

      public Map<String,Double> getEquipmentHeadroom()
      Gets equipment headroom (rest capacity).
      Returns:
      map of equipment name to remaining capacity
    • 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

      public List<FacilityCapacity.DebottleneckOption> getTopOptions(int n)
      Gets the top N debottleneck options by NPV.
      Parameters:
      n - number of options to return
      Returns:
      list of top options
    • toMarkdown

      public String toMarkdown()
      Generates a Markdown summary of the assessment.
      Returns:
      Markdown formatted string