Class FlowRateOptimizer.ProcessOperatingPoint

java.lang.Object
neqsim.process.util.optimizer.FlowRateOptimizer.ProcessOperatingPoint
All Implemented Interfaces:
Serializable
Enclosing class:
FlowRateOptimizer

public static class FlowRateOptimizer.ProcessOperatingPoint extends Object implements Serializable
Represents a complete process operating point with all equipment data.

This class encapsulates the complete operating state of a process system at a specific flow rate and inlet pressure. It includes:

  • Overall process conditions (flow, pressures)
  • Total compressor power consumption
  • Individual compressor operating points
  • Equipment utilization data
  • Constraint status
Version:
1.0
Author:
ESOL
See Also:
  • Field Details

  • Constructor Details

    • ProcessOperatingPoint

      public ProcessOperatingPoint()
      Default constructor.
  • Method Details

    • addCompressorOperatingPoint

      public void addCompressorOperatingPoint(String compressorName, FlowRateOptimizer.CompressorOperatingPoint point)
      Adds a compressor operating point.
      Parameters:
      compressorName - the compressor name
      point - the operating point
    • getCompressorOperatingPoint

      public FlowRateOptimizer.CompressorOperatingPoint getCompressorOperatingPoint(String compressorName)
      Gets a compressor operating point.
      Parameters:
      compressorName - the compressor name
      Returns:
      the operating point, or null if not found
    • getCompressorPower

      public double getCompressorPower(String compressorName)
      Gets the power for a specific compressor.
      Parameters:
      compressorName - the compressor name
      Returns:
      the power in kW, or NaN if not found
    • getCompressorNames

      public List<String> getCompressorNames()
      Gets all compressor names.
      Returns:
      list of compressor names
    • getCompressorOperatingPoints

      public Map<String, FlowRateOptimizer.CompressorOperatingPoint> getCompressorOperatingPoints()
      Gets all compressor operating points.
      Returns:
      map of compressor name to operating point
    • getFlowRate

      public double getFlowRate()
      Returns:
      the flowRate
    • setFlowRate

      public void setFlowRate(double flowRate)
      Parameters:
      flowRate - the flowRate to set
    • getFlowRateUnit

      public String getFlowRateUnit()
      Returns:
      the flowRateUnit
    • setFlowRateUnit

      public void setFlowRateUnit(String flowRateUnit)
      Parameters:
      flowRateUnit - the flowRateUnit to set
    • getInletPressure

      public double getInletPressure()
      Returns:
      the inletPressure
    • setInletPressure

      public void setInletPressure(double inletPressure)
      Parameters:
      inletPressure - the inletPressure to set
    • getOutletPressure

      public double getOutletPressure()
      Returns:
      the outletPressure
    • setOutletPressure

      public void setOutletPressure(double outletPressure)
      Parameters:
      outletPressure - the outletPressure to set
    • getPressureUnit

      public String getPressureUnit()
      Returns:
      the pressureUnit
    • setPressureUnit

      public void setPressureUnit(String pressureUnit)
      Parameters:
      pressureUnit - the pressureUnit to set
    • getTotalPower

      public double getTotalPower()
      Returns:
      the totalPower
    • setTotalPower

      public void setTotalPower(double totalPower)
      Parameters:
      totalPower - the totalPower to set
    • getMaxUtilization

      public double getMaxUtilization()
      Returns:
      the maxUtilization
    • setMaxUtilization

      public void setMaxUtilization(double maxUtilization)
      Parameters:
      maxUtilization - the maxUtilization to set
    • isFeasible

      public boolean isFeasible()
      Returns:
      the feasible flag
    • setFeasible

      public void setFeasible(boolean feasible)
      Parameters:
      feasible - the feasible to set
    • getEquipmentData

      Returns:
      the equipmentData
    • setEquipmentData

      public void setEquipmentData(Map<String, FlowRateOptimizer.EquipmentUtilizationData> equipmentData)
      Parameters:
      equipmentData - the equipmentData to set
    • getConstraintViolations

      public List<FlowRateOptimizationResult.ConstraintViolation> getConstraintViolations()
      Returns:
      the constraintViolations
    • setConstraintViolations

      public void setConstraintViolations(List<FlowRateOptimizationResult.ConstraintViolation> constraintViolations)
      Parameters:
      constraintViolations - the constraintViolations to set
    • getPressureRatio

      public double getPressureRatio()
      Gets the pressure ratio across the process.
      Returns:
      outletPressure / inletPressure
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toDetailedString

      public String toDetailedString()
      Returns a formatted string with detailed process data.
      Returns:
      formatted string