Class HeatStream

java.lang.Object
neqsim.process.equipment.heatexchanger.heatintegration.HeatStream
All Implemented Interfaces:
Serializable

public class HeatStream extends Object implements 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:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serialization version UID.
      See Also:
    • name

      private String name
    • supplyTemperature

      private double supplyTemperature
    • targetTemperature

      private double targetTemperature
    • heatCapacityFlowRate

      private double heatCapacityFlowRate
    • type

      private HeatStream.StreamType type
  • Constructor Details

    • HeatStream

      public HeatStream(String name, double supplyTemperature_C, double targetTemperature_C, double heatCapacityFlowRate_kWperK)
      Constructor for HeatStream.
      Parameters:
      name - stream name
      supplyTemperature_C - supply temperature in Celsius
      targetTemperature_C - target temperature in Celsius
      heatCapacityFlowRate_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

      public String getName()
      Get the stream name.
      Returns:
      name of this heat stream
    • setName

      public void setName(String name)
      Set the stream name.
      Parameters:
      name - name to set
    • 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

      public HeatStream.StreamType getType()
      Get the stream type (HOT or COLD).
      Returns:
      stream type
    • 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