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 |
|---|---|
| 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 volume flow rate, the design pressure drop of all equipment in series, the pump pressure curve 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 |
|---|---|---|---|
| VolumeFlowRate | V_flow_nominal | Design volume flow rate (target) [m3/s] | |
| PressureDifference | dp_nominal | Pressure drop of equipment in series at design flow rate [Pa] | |
| flowParameters | prePum | Pump pressure curve | |
| 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] |