Class FlowRateOptimizer.ProcessOperatingPoint
java.lang.Object
neqsim.process.util.optimizer.FlowRateOptimizer.ProcessOperatingPoint
- All Implemented Interfaces:
Serializable
- Enclosing class:
FlowRateOptimizer
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCompressorOperatingPoint(String compressorName, FlowRateOptimizer.CompressorOperatingPoint point) Adds a compressor operating point.Gets all compressor names.getCompressorOperatingPoint(String compressorName) Gets a compressor operating point.Gets all compressor operating points.doublegetCompressorPower(String compressorName) Gets the power for a specific compressor.doubledoubledoubledoubledoubleGets the pressure ratio across the process.doublebooleanvoidsetConstraintViolations(List<FlowRateOptimizationResult.ConstraintViolation> constraintViolations) voidsetEquipmentData(Map<String, FlowRateOptimizer.EquipmentUtilizationData> equipmentData) voidsetFeasible(boolean feasible) voidsetFlowRate(double flowRate) voidsetFlowRateUnit(String flowRateUnit) voidsetInletPressure(double inletPressure) voidsetMaxUtilization(double maxUtilization) voidsetOutletPressure(double outletPressure) voidsetPressureUnit(String pressureUnit) voidsetTotalPower(double totalPower) Returns a formatted string with detailed process data.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
flowRate
private double flowRate -
flowRateUnit
-
inletPressure
private double inletPressure -
outletPressure
private double outletPressure -
pressureUnit
-
totalPower
private double totalPower -
maxUtilization
private double maxUtilization -
feasible
private boolean feasible -
compressorPoints
-
equipmentData
-
constraintViolations
-
-
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 namepoint- 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
Gets the power for a specific compressor.- Parameters:
compressorName- the compressor name- Returns:
- the power in kW, or NaN if not found
-
getCompressorNames
-
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
- Returns:
- the flowRateUnit
-
setFlowRateUnit
- 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
- Returns:
- the pressureUnit
-
setPressureUnit
- 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
- Parameters:
equipmentData- the equipmentData to set
-
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
-
toDetailedString
Returns a formatted string with detailed process data.- Returns:
- formatted string
-