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

TypeNameDefaultDescription
SI.SpecificEnthalpyh_soll60*4200Outgoing specific enthalpy (unused)
SI.PressureDifferencedp0.2e5Pressure difference provided by producer

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Thermal.FluidPortIn_simpleinlet
TransiEnt.Basics.Interfaces.Thermal.FluidPortOut_simpleoutlet
Modelica.Blocks.Interfaces.RealInputh_in

Components

TypeNameDefaultDescription
SI.HeatFlowRateQ_flow