Class StoneWallCurve

java.lang.Object
neqsim.process.equipment.compressor.BoundaryCurve
neqsim.process.equipment.compressor.StoneWallCurve
All Implemented Interfaces:
Serializable, BoundaryCurveInterface
Direct Known Subclasses:
SafeSplineStoneWallCurve

public class StoneWallCurve extends BoundaryCurve
StoneWallCurve defines the compressor stone wall (choke) limit.
Author:
esol
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • logger

      static org.apache.logging.log4j.Logger logger
      Logger object for class.
  • Constructor Details

    • StoneWallCurve

      public StoneWallCurve()
      Default constructor.
    • StoneWallCurve

      public StoneWallCurve(double[] flow, double[] head)
      Create a stone wall curve from flow and head arrays.
      Parameters:
      flow - array of flow values
      head - array of head values
  • Method Details

    • getStoneWallFlow

      public double getStoneWallFlow(double head)
      Get the stone wall flow for a given head.
      Parameters:
      head - head value
      Returns:
      stone wall flow
    • isStoneWall

      public boolean isStoneWall(double head, double flow)
      Check if the given point is beyond the stone wall limit.
      Parameters:
      head - head value
      flow - flow value
      Returns:
      true if the point is beyond the stone wall limit
    • isLimit

      public boolean isLimit(double head, double flow)
      Check if a flow/head point is on the limiting side of the curve.
      Parameters:
      head - the head value
      flow - the flow value
      Returns:
      true if the point violates the limit represented by the curve