modelPartialConnection2Pipe

Partial model for connecting an agent to a two-pipe distribution network

Extends from Buildings.DHC.Networks.BaseClasses.PartialConnection2Pipe2Medium.

Information

Partial model to be used for connecting an agent (e.g. an energy transfer station) to a two-pipe distribution network.

Three instances of a replaceable partial model are used to represent the pipes:

  • One representing the main distribution supply pipe immediately upstream the connection.
  • Another one representing the main distribution return pipe immediately downstream the connection.
  • The last one representing both the supply and return lines of the connection. When replacing that model with a pipe model computing the pressure drop, one must double the length so that both the supply and return lines are accounted for.

Parameters

TypeNameDefaultDescription
Booleanshow_entFlofalseSet to true to output enthalpy flow rate difference

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealOutputmCon_flowConnection supply mass flow rate
Buildings.Controls.OBC.CDL.Interfaces.RealOutputdpPressure drop accross the connection (measured)
Buildings.Controls.OBC.CDL.Interfaces.RealOutputdH_flowDifference in enthalpy flow rate between connection supply and return
Model_pipConpipConConnection pipe
Buildings.Fluid.Sensors.MassFlowRatesenMasFloConConnection supply mass flow rate (measured)
Fluid.Sensors.RelativePressuresenRelPreRelative pressure sensor
DifferenceEnthalpyFlowRatesenDifEntFloDifference in enthalpy flow rate

Contents

NameDescription
MediumMedium model
Model_pipCon

Revisions

  • March 28, 2022, by Kathryn Hinkelman:
    Refactored to extend shared two medium base class.
  • March 3, 2022, by Michael Wetter:
    Removed massDynamics.
    This is for issue 1542.
  • February 21, 2020, by Antoine Gautier:
    First implementation.