Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses
Base classes for active beam models
Information
This package contains base classes that are used to construct the models in Buildings.Fluid.HeatExchangers.ActiveBeams.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Package Content
Name | Description |
---|---|
Convector | Heat exchanger for the water stream |
DerivativesCubicSpline | Cubic spline for interpolation |
ModificationFactor | Factor to modify nominal capacity |
Examples |
Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Convector
Heat exchanger for the water stream
Information
In cooling mode, this model adds heat to the water stream. The heat added is equal to:
QBeam = Qrated fΔ
T fSA fW
In heating mode, the heat is removed from the water stream.
Extends from Buildings.Fluid.Interfaces.PartialTwoPortInterface (Partial model transporting fluid between two ports without storing mass or energy), Buildings.Fluid.Interfaces.TwoPortFlowResistanceParameters (Parameters for flow resistance for models with two ports).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | PartialMedium | Medium in the component | |
Generic | per | Performance data | |
Integer | nBeams | Number of beams in parallel | |
Nominal condition | |||
MassFlowRate | m_flow_nominal | per.mWat_flow_nominal*nBeams | Nominal mass flow rate [kg/s] |
PressureDifference | dp_nominal | per.dpWat_nominal | Pressure difference [Pa] |
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 | homotopyInitialization | true | = true, use homotopy method |
Diagnostics | |||
Boolean | show_T | false | = true, if actual temperature at port is computed |
Flow resistance | |||
Boolean | computeFlowResistance | true | =true, compute flow resistance. Set to false to assume no friction |
Boolean | from_dp | false | = true, use m_flow = f(dp) else dp = f(m_flow) |
Boolean | linearizeFlowResistance | false | = true, use linear relation between m_flow and dp for any flow rate |
Real | deltaM | 0.1 | Fraction of nominal flow rate where flow transitions to laminar |
Dynamics | |||
Nominal condition | |||
Time | tau | 30 | Time constant at nominal flow (if energyDynamics <> SteadyState) [s] |
Equations | |||
Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamic... | Type of energy balance: dynamic (3 initialization options) or steady state |
Dynamics | massDynamics | energyDynamics | Type of mass balance: dynamic (3 initialization options) or steady state |
Initialization | |||
AbsolutePressure | p_start | Medium.p_default | Start value of pressure [Pa] |
Temperature | T_start | Medium.T_default | Start value of temperature [K] |
MassFraction | X_start[Medium.nX] | Medium.X_default | Start value of mass fractions m_i/m [kg/kg] |
ExtraProperty | C_start[Medium.nC] | fill(0, Medium.nC) | Start value of trace substances |
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) |
input RealInput | mAir_flow | Air mass flow rate of a single beam [kg/s] |
input RealInput | TRoo | Room air temperature [K] |
output RealOutput | Q_flow | Actual capacity of a single beam [W] |
Modelica definition
Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.DerivativesCubicSpline
Cubic spline for interpolation
Information
This model calculates the output based on the cubic hermite interpolation and linear extrapolation of predefined values. The predefined values must create a monotone curve.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Real | xd[:] | {0,0.5,1} | |
Real | yd[size(xd, 1)] | {0,0.75,1} |
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Independent variable for interpolation |
output RealOutput | y | Interpolated value |
Modelica definition
Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.ModificationFactor
Factor to modify nominal capacity
Information
This model determines the three modification factors described in Buildings.Fluid.HeatExchangers.ActiveBeams.UsersGuide by comparing the actual values of air mass flow rate, water mass flow rate and room-water temperature difference with the nominal values. The three modification factors are then multiplied. Input to this model are the total mass flow rates of all parallel beams combined.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Integer | nBeams | Number of beams in parallel | |
Generic | per | Performance data |
Connectors
Type | Name | Description |
---|---|---|
input RealInput | TWat | Temperature of the water entering the beams [K] |
input RealInput | mWat_flow | Mass flow rate of the water entering the beams [kg/s] |
input RealInput | mAir_flow | Mass flow rate of the primary air entering the beams [kg/s] |
input RealInput | TRoo | Room air temperature [K] |
output RealOutput | y | Total modification factor [1] |