Class CompressorOptimizationHelper.CompressorBounds

java.lang.Object
neqsim.process.util.optimizer.CompressorOptimizationHelper.CompressorBounds
Enclosing class:
CompressorOptimizationHelper

public static final class CompressorOptimizationHelper.CompressorBounds extends Object
Container for compressor operating bounds extracted from performance charts.
Version:
1.0
Author:
NeqSim Development Team
  • Field Details

    • minSpeed

      private final double minSpeed
    • maxSpeed

      private final double maxSpeed
    • minFlow

      private final double minFlow
    • maxFlow

      private final double maxFlow
    • surgeFlow

      private final double surgeFlow
    • stoneWallFlow

      private final double stoneWallFlow
    • flowUnit

      private final String flowUnit
  • Constructor Details

    • CompressorBounds

      public CompressorBounds(double minSpeed, double maxSpeed, double minFlow, double maxFlow, double surgeFlow, double stoneWallFlow, String flowUnit)
      Constructs compressor bounds.
      Parameters:
      minSpeed - minimum operating speed (RPM)
      maxSpeed - maximum operating speed (RPM)
      minFlow - minimum flow at minimum speed
      maxFlow - maximum flow at maximum speed
      surgeFlow - surge line flow at reference speed
      stoneWallFlow - stone wall (choke) flow at reference speed
      flowUnit - flow rate unit
  • Method Details

    • getMinSpeed

      public double getMinSpeed()
      Returns minimum operating speed in RPM.
      Returns:
      minimum speed
    • getMaxSpeed

      public double getMaxSpeed()
      Returns maximum operating speed in RPM.
      Returns:
      maximum speed
    • getMinFlow

      public double getMinFlow()
      Returns minimum flow at minimum speed.
      Returns:
      minimum flow
    • getMaxFlow

      public double getMaxFlow()
      Returns maximum flow at maximum speed.
      Returns:
      maximum flow
    • getSurgeFlow

      public double getSurgeFlow()
      Returns surge line flow at reference speed.
      Returns:
      surge flow
    • getStoneWallFlow

      public double getStoneWallFlow()
      Returns stone wall (choke) flow at reference speed.
      Returns:
      stone wall flow
    • getFlowUnit

      public String getFlowUnit()
      Returns the flow unit.
      Returns:
      flow unit string
    • getRecommendedRange

      public double[] getRecommendedRange(double marginFraction)
      Returns the recommended operating range as a fraction of max flow.
      Parameters:
      marginFraction - safety margin (e.g., 0.1 for 10%)
      Returns:
      array of [minRecommended, maxRecommended] flows
    • toString

      public String toString()
      Overrides:
      toString in class Object