Class UtilityStreamSpecification
java.lang.Object
neqsim.process.equipment.heatexchanger.UtilityStreamSpecification
- All Implemented Interfaces:
Serializable
Specification object describing the utility side of a single-stream heater or cooler.
This class stores the supply and return temperatures together with optional minimum approach, heat-capacity rate and assumed overall heat-transfer coefficient so the mechanical design package can derive an approximate size when only the process stream has been simulated.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate doubleprivate doubleprivate doubleprivate static final longprivate double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the minimum approach temperature in Kelvin.doubleReturns the utility heat-capacity rate in W/K.doubleReturns the assumed overall heat-transfer coefficient in W/(m^2*K).doubleReturns the utility return temperature in Kelvin.doubleReturns the utility supply temperature in Kelvin.booleanReturns true if a minimum approach temperature has been specified.booleanReturns true if a heat-capacity rate has been specified.booleanReturns true if an overall heat-transfer coefficient has been specified.booleanReturns true if a return temperature has been specified.booleanReturns true if a supply temperature has been specified.voidsetApproachTemperature(double approach) Set the minimum approach temperature (absolute difference) in Kelvin.voidsetApproachTemperature(double approach, String unit) Set the minimum approach temperature (absolute difference) using the specified unit.voidsetHeatCapacityRate(double heatCapacityRate) Set the utility heat-capacity rate in W/K.voidsetOverallHeatTransferCoefficient(double overallHeatTransferCoefficient) Set the assumed overall heat-transfer coefficient in W/(m^2*K).voidsetReturnTemperature(double temperature) Set the utility return temperature in Kelvin.voidsetReturnTemperature(double temperature, String unit) Set the utility return temperature using the specified unit.voidsetSupplyTemperature(double temperature) Set the utility supply temperature in Kelvin.voidsetSupplyTemperature(double temperature, String unit) Set the utility supply temperature using the specified unit.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
supplyTemperature
private double supplyTemperature -
returnTemperature
private double returnTemperature -
approachTemperature
private double approachTemperature -
heatCapacityRate
private double heatCapacityRate -
overallHeatTransferCoefficient
private double overallHeatTransferCoefficient
-
-
Constructor Details
-
UtilityStreamSpecification
public UtilityStreamSpecification()
-
-
Method Details
-
getSupplyTemperature
public double getSupplyTemperature()Returns the utility supply temperature in Kelvin.- Returns:
- supply temperature in Kelvin
-
getReturnTemperature
public double getReturnTemperature()Returns the utility return temperature in Kelvin.- Returns:
- return temperature in Kelvin
-
getApproachTemperature
public double getApproachTemperature()Returns the minimum approach temperature in Kelvin.- Returns:
- approach temperature in Kelvin
-
getHeatCapacityRate
public double getHeatCapacityRate()Returns the utility heat-capacity rate in W/K.- Returns:
- heat-capacity rate in W/K
-
getOverallHeatTransferCoefficient
public double getOverallHeatTransferCoefficient()Returns the assumed overall heat-transfer coefficient in W/(m^2*K).- Returns:
- overall heat-transfer coefficient in W/(m^2*K)
-
setSupplyTemperature
public void setSupplyTemperature(double temperature) Set the utility supply temperature in Kelvin.- Parameters:
temperature- supply temperature in Kelvin
-
setSupplyTemperature
Set the utility supply temperature using the specified unit.- Parameters:
temperature- supply temperature valueunit- unit of the supplied temperature
-
setReturnTemperature
public void setReturnTemperature(double temperature) Set the utility return temperature in Kelvin.- Parameters:
temperature- return temperature in Kelvin
-
setReturnTemperature
Set the utility return temperature using the specified unit.- Parameters:
temperature- return temperature valueunit- unit of the supplied temperature
-
setApproachTemperature
public void setApproachTemperature(double approach) Set the minimum approach temperature (absolute difference) in Kelvin.- Parameters:
approach- approach temperature in Kelvin
-
setApproachTemperature
Set the minimum approach temperature (absolute difference) using the specified unit.- Parameters:
approach- approach temperature valueunit- unit of the supplied temperature difference
-
setHeatCapacityRate
public void setHeatCapacityRate(double heatCapacityRate) Set the utility heat-capacity rate in W/K.- Parameters:
heatCapacityRate- heat-capacity rate in W/K
-
setOverallHeatTransferCoefficient
public void setOverallHeatTransferCoefficient(double overallHeatTransferCoefficient) Set the assumed overall heat-transfer coefficient in W/(m^2*K).- Parameters:
overallHeatTransferCoefficient- overall heat-transfer coefficient in W/(m^2*K)
-
hasSupplyTemperature
public boolean hasSupplyTemperature()Returns true if a supply temperature has been specified.- Returns:
- true if supply temperature is specified
-
hasReturnTemperature
public boolean hasReturnTemperature()Returns true if a return temperature has been specified.- Returns:
- true if return temperature is specified
-
hasApproachTemperature
public boolean hasApproachTemperature()Returns true if a minimum approach temperature has been specified.- Returns:
- true if approach temperature is specified
-
hasHeatCapacityRate
public boolean hasHeatCapacityRate()Returns true if a heat-capacity rate has been specified.- Returns:
- true if heat capacity rate is specified
-
hasOverallHeatTransferCoefficient
public boolean hasOverallHeatTransferCoefficient()Returns true if an overall heat-transfer coefficient has been specified.- Returns:
- true if overall heat transfer coefficient is specified
-