modelPartialDistribution2Pipe2Medium

Partial model for a two-pipe distribution network with two medium declarations

Extends from Buildings.DHC.Networks.BaseClasses.PartialDistribution2Medium.

Information

Partial model of a two-pipe distribution network.

An array of replaceable partial models is used to represent the connections along the network, including the pipe segment immediately upstream each connection.

A replaceable partial model is used to represent the pipe segment of the supply and return line after the last connection.

The parameter iConDpSen is provided to specify the index of the connection where the pressure drop is measured. Use zero for a sensor connected to the supply pipe inlet and return pipe outlet. Use a negative value if no sensor is needed.

Optionally the heat flow rate transferred to each connected load can be output.

Parameters

TypeNameDefaultDescription
Booleanshow_heaFlofalseSet to true to output the heat flow rate transferred to each connected load
General › Nominal condition
Modelica.Units.SI.MassFlowRatemDis_flow_nominalNominal mass flow rate in the distribution line before the first connection
Modelica.Units.SI.MassFlowRate[nCon]mCon_flow_nominalNominal mass flow rate in each connection line
Modelica.Units.SI.MassFlowRatemEnd_flow_nominalmDis_flow_nominal - sum(mCon_flow_nominal)Nominal mass flow rate in the end of the distribution line
Modelica.Units.SI.MassFlowRate[nCon]mDisCon_flow_nominalcat(1, {mDis_flow_nominal}, {mDis_flow_nominal - sum(mCon_flow_nominal[1:i]) for i in 1:(nCon - 1)})Nominal mass flow rate in the distribution line before each connection
Dynamics › Equations
Modelica.Fluid.Types.DynamicsenergyDynamicsModelica.Fluid.Types.Dynamics.FixedInitialType of energy balance: dynamic (3 initialization options) or steady state
Dynamics › Nominal condition
Modelica.Units.SI.Timetau10Time constant at nominal flow for dynamic energy and momentum balance

Components

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_bport_bDisRetDistribution return outlet port
Modelica.Fluid.Interfaces.FluidPort_aport_aDisRetDistribution return inlet port
Buildings.DHC.Networks.BaseClasses.PartialConnection2Pipe2Medium[nCon]con
Model_pipDispipEndPipe representing the end of the distribution line (after last connection)

Contents

NameDescription
Model_pipDis

Revisions

  • March 2, 2022, by Antoine Gautier and Kathryn Hinkelman:
    First implementation.