Buildings.Templates.Utilities
Package with utility functions
Information
This package contains utility functions that are used in HVAC system templates.
Extends from Modelica.Icons.Package (Icon for standard packages).
Package Content
Name | Description |
---|---|
computeBalancingPressureDrop | Compute the design pressure drop of a balancing valve |
Buildings.Templates.Utilities.computeBalancingPressureDrop
Compute the design pressure drop of a balancing valve
Information
Given the design mass flow rate, the design pressure drop of all equipment in series, the pump parameters and the pump speed, the function returns the pressure drop of a balancing valve at design flow, so that the total pressure drop is equal to the pump head.
The model Buildings.Templates.Plants.HeatPumps.Components.Validation.PumpsPrimaryDedicated serves as a validation model for this function and illustrates how the function can be used to calculate either the design pressure drop of balancing valves or the primary pump speed required to provide the design flow.
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
Type | Name | Default | Description |
---|---|---|---|
MassFlowRate | m_flow_nominal | Design mass flow rate (target) [kg/s] | |
PressureDifference | dp_nominal | Pressure drop of equipment in series at design flow rate [Pa] | |
PumpSingle | datPum | Pump parameters | |
Real | r_N | 1 | Relative revolution, r_N=N/N_nominal [1] |
Outputs
Type | Name | Description |
---|---|---|
PressureDifference | dpBal_nominal | Pressure drop of balancing valve at design flow rate [Pa] |