Buildings.Obsolete.Fluid.FixedResistances.BaseClasses
Information
This package contains base classes that are used to construct the models in Buildings.Obsolete.Fluid.FixedResistances.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Package Content
Name | Description |
---|---|
PlugFlowCore | Pipe model using spatialDistribution for temperature delay with modified delay tracker |
Validation | Collection of validation models |
Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.PlugFlowCore
Pipe model using spatialDistribution for temperature delay with modified delay tracker
Information
Pipe with heat loss using the time delay based heat losses and plug flow for the transport delay of the fluid.
Implementation
The
spatialDistribution
operator is used for the temperature wave propagation
through the length of the pipe. This operator is contained in
BaseClasses.PlugFlow.
This model does not include thermal inertia of the pipe wall.
The wall inertia is implemented in
PlugFlowPipe, which uses this model.
The removal of the thermal inertia with a mixing volume can be desirable in the
case where mixing volumes are added manually at the pipe junctions.
The model PlugFlowHeatLoss implements a heat loss in design direction, but leaves the enthalpy unchanged in opposite flow direction. Therefore it is used in front of and behind the time delay.
References
Full details on the model implementation and experimental validation can be found in:
van der Heijde, B., Fuchs, M., Ribas Tugores, C., Schweiger, G., Sartor, K., Basciotti, D., Müller,
D., Nytsch-Geusen, C., Wetter, M. and Helsen, L. (2017).
Dynamic equation-based thermo-hydraulic pipe model for district heating and cooling systems.
Energy Conversion and Management, vol. 151, p. 158-169.
doi: 10.1016/j.enconman.2017.08.072.
Extends from Buildings.Obsolete.BaseClasses.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions), Buildings.Fluid.Interfaces.PartialTwoPort (Partial component with two ports).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | PartialMedium | Medium in the component | |
Length | dh | Hydraulic diameter (assuming a round cross section area) [m] | |
Length | length | Pipe length [m] | |
Real | R | Thermal resistance per unit length from fluid to boundary temperature [(m.K)/W] | |
Real | C | Thermal capacity per unit length of pipe [J/(K.m)] | |
Real | fac | 1 | Factor to take into account flow resistance of bends etc., fac=dp_nominal/dpStraightPipe_nominal |
Length | thickness | Pipe wall thickness [m] | |
Real | ReC | 4000 | Reynolds number where transition to turbulence starts |
Nominal condition | |||
Velocity | v_nominal | Velocity at m_flow_nominal (used to compute default value for hydraulic diameter dh) [m/s] | |
MassFlowRate | m_flow_nominal | Nominal mass flow rate [kg/s] | |
Geometry | |||
Height | roughness | 2.5e-5 | Average height of surface asperities (default: smooth steel pipe) [m] |
Assumptions | |||
Boolean | allowFlowReversal | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
Advanced | |||
MassFlowRate | m_flow_small | 1E-4*abs(m_flow_nominal) | Small mass flow rate for regularization of zero flow [kg/s] |
Boolean | from_dp | false | = true, use m_flow = f(dp) else dp = f(m_flow) |
Boolean | linearized | false | = true, use linear relation between m_flow and dp for any flow rate |
Initialization | |||
Temperature | T_start_in | Medium.T_default | Initialization temperature at pipe inlet [K] |
Temperature | T_start_out | Medium.T_default | Initialization temperature at pipe outlet [K] |
Boolean | initDelay | false | Initialize delay for a constant mass flow rate if true, otherwise start from 0 |
MassFlowRate | m_flow_start | 0 | [kg/s] |
Connectors
Type | Name | Description |
---|---|---|
FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) |
FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) |
HeatPort_a | heatPort | Heat port to connect environment (positive heat flow for heat loss to surroundings) |