modelHEX_ideal
Extends from TransiEnt.Basics.Icons.Heat_Exchanger.
Information
Purpose of model
An ideal heat exchanger with two fluid ports and a heat port. The fluid ports can be connected with a hydraulic circuit to simulate a heat carrier medium. The transferred heat is transported through the heat port. For the correct use of the model, the heat port needs to be connected with another heat port that sets a heat flow rate. A static mass balance is assumed. A static energy balance is assumed, taking the enthalpy flows of the heat carrier medium and the transported heat flow rate into account. The temperatures at the inlet and the outlet of the heat exchanger are calculated with fluid models of the TIL media that need the specific enthalpy and the pressure. A constant pressure loss is assumed in the model.
Level of detail, physical effects considered, and physical insight
A given heat Qflow,in is ideally transferred to a medium (water) flow.
Limits of validity
Only applicable for heat transfer from heatport to medium.
Interfaces
waterPortIn/Out - ports for heat carrier (water)
heatport - heat inpout port
Governing Equations
The heat is balanced by a static equation:
Qflow,in + mflow(hwater,in - hwater,out) = 0


delta_p is a constant parameter
Remarks for Usage
Validation
Tested and verified in check model "TestHEX_ideal"
Version History
Created by Paul Kernstock (paul.kernstock@tuhh.de), Jun 2015
Revised by Lisa Andresen (andresen@tuhh.de), Jul 2015
Model documented by Jan Westphal (j.westphal@tuhh.de) in January 2025
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.PressureDifference | Delta_p | 1e4 | Constant Pressure loss (positive value means loss) |
| Medium Definitions | |||
| TILMedia.VLEFluidTypes.BaseVLEFluid | water | simCenter.fluid1 | Heat carrier |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.Thermal.FluidPortOut | waterPortOut | ||
| TransiEnt.Basics.Interfaces.Thermal.FluidPortIn | waterPortIn | ||
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatport |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.SimCenter | simCenter | ||
| Modelica.Units.SI.TemperatureDifference | dT | Temperature difference of heating carrier | |
| Modelica.Units.SI.SpecificEnthalpy | h_inflow | inStream(waterPortIn.h_outflow) | |
| Modelica.Units.SI.EnthalpyFlowRate | dH_flow_carrier | Enthalpy change of heat carrier | |
| TILMedia.Internals.VLEFluidConfigurations.FullyMixtureCompatible.VLEFluid_ph | fluidIn | ||
| TILMedia.Internals.VLEFluidConfigurations.FullyMixtureCompatible.VLEFluid_ph | fluidOut |