modelIdealProducer_DHN
Simple model of a producer providing a constant specific enthalpy and a pressure difference and using simple fluid ports
Extends from TransiEnt.Basics.Icons.HeatSource (Icon for heat sources).
Information
Purpose of model
A simple model of a producer. It contains two fluid ports (inlet and outlet). A static mass balance is implemented and a constant pressure difference is set. The model can be used in district heating network simulations.
Interfaces:
h_in: RealInput for the specific enthalpy that is set at the outlet of the producer (the supply of the distritict heating network)
Governing Equations:
Q_flow: Q_flow=m_in*(h_in-h_out)
Version History
Model was created by Jan Westphal (j.westphal@tuhh.de) August 2025
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.SpecificEnthalpy | h_soll | 60*4200 | Outgoing specific enthalpy (unused) |
| SI.PressureDifference | dp | 0.2e5 | Pressure difference provided by producer |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.Thermal.FluidPortIn_simple | inlet | ||
| TransiEnt.Basics.Interfaces.Thermal.FluidPortOut_simple | outlet | ||
| Modelica.Blocks.Interfaces.RealInput | h_in |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.HeatFlowRate | Q_flow |