modelPlugFlowCore
Simple example of plug flow pipe core
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Basic test of model IBPSA.Fluid.FixedResistances.BaseClasses.PlugFlowCore. This test includes an inlet temperature step under a constant mass flow rate.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Length | dh | 0.1 | Hydraulic diameter (assuming a round cross section area) |
| Modelica.SIunits.Length | dIns | 0.05 | Thickness of pipe insulation |
| Modelica.SIunits.ThermalConductivity | kIns | 0.028 | Heat conductivity of pipe insulation |
| Modelica.SIunits.SpecificHeatCapacity | cPip | 500 | Specific heat of pipe wall material. 2300 for PE, 500 for steel |
| Modelica.SIunits.Density | rhoPip | 8000 | Density of pipe wall material. 930 for PE, 8000 for steel |
| Real | R | 1/(kIns*2*Modelica.Constants.pi/Modelica.Math.log((dh/2 + dIns)/(dh/2))) | Thermal resistance per unit length from fluid to boundary temperature |
| Real | C | rho_default*Modelica.Constants.pi*(dh/2)^2*cp_default | Thermal capacity per unit length of water in pipe |
| Medium.ThermodynamicState | sta_default | Medium.setState_pTX(T = Medium.T_default, p = Medium.p_default, X = Medium.X_default) | Default medium state |
| Modelica.SIunits.SpecificHeatCapacity | cp_default | Medium.specificHeatCapacityCp(state = sta_default) | Heat capacity of medium |
| Advanced | |||
| Modelica.SIunits.Density | rho_default | Medium.density_pTX(p = Medium.p_default, T = Medium.T_default, X = Medium.X_default) | Default density (e.g., rho_liquidWater = 995, rho_air = 1.2) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.Ramp | Tin | Ramp temperature signal | |
| Sources.Boundary_pT | sin | Pressure boundary condition | |
| IBPSA.Fluid.FixedResistances.BaseClasses.PlugFlowCore | pip | Pipe | |
| Modelica.Thermal.HeatTransfer.Sources.FixedTemperature | bou | Fixed temperature boundary condition | |
| IBPSA.Fluid.Sources.MassFlowSource_T | sou | Flow source | |
| IBPSA.Fluid.Sensors.TemperatureTwoPort | senTemOut | Temperature sensor | |
| IBPSA.Fluid.Sensors.TemperatureTwoPort | senTemIn | Temperature sensor |
Contents
| Name | Description |
|---|---|
| Medium in pipes |
Revisions
-
October 23, 2017, by Michael Wetter:
Corrected wrong hyperlink, updated example for new set of parameters that are exposed by the pipe model. -
September 8, 2017 by Bram van der Heijde:
First implementation.