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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.Ramp | P | ||
| Buildings.Fluid.Sources.Boundary_pT | sou | ||
| Buildings.Fluid.Sources.Boundary_pT | sin | ||
| HeatTransfer.Sources.FixedTemperature | TEnv | ||
| Buildings.Fluid.FixedResistances.Pipe | pip | ||
| HeatTransfer.Sources.FixedTemperature[10] | TEnv1 | ||
| Buildings.Fluid.FixedResistances.Pipe | pip1 | ||
| Buildings.Fluid.Sensors.TemperatureTwoPort | senTem | Temperature sensor | |
| Buildings.Fluid.Sensors.TemperatureTwoPort | senTem1 | Temperature sensor | |
| Buildings.Utilities.Diagnostics.AssertEquality | assEqu |
Contents
| Name | Description |
|---|---|
Revisions
-
December 22, 2014 by Michael Wetter:
RemovedModelica.Fluid.Systemto address issue #311. -
February 22, 2012 by Michael Wetter:
Revised implementation. -
February 12, 2012 by Wangda Zuo:
First implementation.