Class HeatStream
java.lang.Object
neqsim.process.equipment.heatexchanger.heatintegration.HeatStream
- All Implemented Interfaces:
Serializable
Represents a single process stream for heat integration (pinch) analysis.
A heat stream has a supply temperature, target temperature, heat capacity flow rate (MCp), and can be classified as HOT (needs cooling) or COLD (needs heating).
- Version:
- 1.0
- Author:
- Even Solbraa
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate Stringprivate static final longSerialization version UID.private doubleprivate doubleprivate HeatStream.StreamType -
Constructor Summary
ConstructorsConstructorDescriptionHeatStream(String name, double supplyTemperature_C, double targetTemperature_C, double heatCapacityFlowRate_kWperK) Constructor for HeatStream. -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the enthalpy change of this stream in kW.doubleGet the heat capacity flow rate (MCp).getName()Get the stream name.doubleGet the supply temperature in Kelvin.doubleGet the supply temperature in Celsius.doubleGet the target temperature in Kelvin.doubleGet the target temperature in Celsius.getType()Get the stream type (HOT or COLD).voidsetHeatCapacityFlowRate(double heatCapacityFlowRate_kWperK) Set the heat capacity flow rate (MCp).voidSet the stream name.voidsetSupplyTemperatureC(double supplyTemp_C) Set supply temperature in Celsius.voidsetTargetTemperatureC(double targetTemp_C) Set target temperature in Celsius.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
name
-
supplyTemperature
private double supplyTemperature -
targetTemperature
private double targetTemperature -
heatCapacityFlowRate
private double heatCapacityFlowRate -
type
-
-
Constructor Details
-
HeatStream
public HeatStream(String name, double supplyTemperature_C, double targetTemperature_C, double heatCapacityFlowRate_kWperK) Constructor for HeatStream.- Parameters:
name- stream namesupplyTemperature_C- supply temperature in CelsiustargetTemperature_C- target temperature in CelsiusheatCapacityFlowRate_kWperK- heat capacity flow rate in kW/K
-
-
Method Details
-
getEnthalpyChange
public double getEnthalpyChange()Get the enthalpy change of this stream in kW.- Returns:
- enthalpy change in kW (positive for hot streams releasing heat)
-
getName
-
setName
-
getSupplyTemperature
public double getSupplyTemperature()Get the supply temperature in Kelvin.- Returns:
- supply temperature in Kelvin
-
getSupplyTemperatureC
public double getSupplyTemperatureC()Get the supply temperature in Celsius.- Returns:
- supply temperature in Celsius
-
getTargetTemperature
public double getTargetTemperature()Get the target temperature in Kelvin.- Returns:
- target temperature in Kelvin
-
getTargetTemperatureC
public double getTargetTemperatureC()Get the target temperature in Celsius.- Returns:
- target temperature in Celsius
-
getHeatCapacityFlowRate
public double getHeatCapacityFlowRate()Get the heat capacity flow rate (MCp).- Returns:
- heat capacity flow rate in kW/K
-
setHeatCapacityFlowRate
public void setHeatCapacityFlowRate(double heatCapacityFlowRate_kWperK) Set the heat capacity flow rate (MCp).- Parameters:
heatCapacityFlowRate_kWperK- heat capacity flow rate in kW/K
-
getType
-
setSupplyTemperatureC
public void setSupplyTemperatureC(double supplyTemp_C) Set supply temperature in Celsius.- Parameters:
supplyTemp_C- supply temperature in Celsius
-
setTargetTemperatureC
public void setTargetTemperatureC(double targetTemp_C) Set target temperature in Celsius.- Parameters:
targetTemp_C- target temperature in Celsius
-