Buildings.Fluid.FixedResistances.BaseClasses.Validation
Collection of validation models
Information
This package contains validation models for the classes in Buildings.Fluid.FixedResistances.BaseClasses.
Note that most validation models contain simple input data which may not be realistic, but for which the correct output can be obtained through an analytic solution. The examples plot various outputs, which have been verified against these solutions. These model outputs are stored as reference data and used for continuous validation whenever models in the library change.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name | Description |
---|---|
PlugFlowCore | Simple example of plug flow pipe core |
Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore
Simple example of plug flow pipe core
Information
Basic test of model Buildings.Fluid.FixedResistances.BaseClasses.PlugFlowCore. This test includes an inlet temperature step under a constant mass flow rate.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | Buildings.Media.Water | Medium in pipes | |
Length | dh | 0.1 | Hydraulic diameter (assuming a round cross section area) [m] |
Length | dIns | 0.05 | Thickness of pipe insulation [m] |
ThermalConductivity | kIns | 0.028 | Heat conductivity of pipe insulation [W/(m.K)] |
SpecificHeatCapacity | cPip | 500 | Specific heat of pipe wall material. 2300 for PE, 500 for steel [J/(kg.K)] |
Density | rhoPip | 8000 | Density of pipe wall material. 930 for PE, 8000 for steel [kg/m3] |
Real | R | 1/(kIns*2*Modelica.Constants... | Thermal resistance per unit length from fluid to boundary temperature |
Real | C | rho_default*Modelica.Constan... | Thermal capacity per unit length of water in pipe |
ThermodynamicState | sta_default | Medium.setState_pTX(T=Medium... | Default medium state |
SpecificHeatCapacity | cp_default | Medium.specificHeatCapacityC... | Heat capacity of medium [J/(kg.K)] |
Advanced | |||
Density | rho_default | Medium.density_pTX(p=Medium.... | Default density (e.g., rho_liquidWater = 995, rho_air = 1.2) [kg/m3] |
Connectors
Type | Name | Description |
---|---|---|
replaceable package Medium | Medium in pipes |