modelPipe

Test of a pipe with multiple segments

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This model demonstrates the use of a pipe model. Both pipe models have the same mass flow rates and temperatures. Otherwise, the assert block would terminate the simulation.

The model on the top is connected to the ambient with one heat port, whereas the model at the bottom uses a vector of heat ports. Since they are all connected to the same temperature, they result in the same energy balance for the medium that flows through the pipe.

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.RampP
Buildings.Fluid.Sources.Boundary_pTsou
Buildings.Fluid.Sources.Boundary_pTsin
HeatTransfer.Sources.FixedTemperatureTEnv
Buildings.Fluid.FixedResistances.Pipepip
HeatTransfer.Sources.FixedTemperature[10]TEnv1
Buildings.Fluid.FixedResistances.Pipepip1
Buildings.Fluid.Sensors.TemperatureTwoPortsenTemTemperature sensor
Buildings.Fluid.Sensors.TemperatureTwoPortsenTem1Temperature sensor
Buildings.Utilities.Diagnostics.AssertEqualityassEqu

Contents

NameDescription
Medium

Revisions

  • December 22, 2014 by Michael Wetter:
    Removed Modelica.Fluid.System to address issue #311.
  • February 22, 2012 by Michael Wetter:
    Revised implementation.
  • February 12, 2012 by Wangda Zuo:
    First implementation.