Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation
Collection of models that validate the cooling tower models
Information
This package contains models that validate the cooling tower power consumption. The examples plot various outputs, which have been verified against analytical solutions. These model outputs are stored as reference data to allow continuous validation whenever models in the library change.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name | Description |
---|---|
NormalizedPower | Validation model for the normalized power calculation |
Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower
Validation model for the normalized power calculation
Information
This model validates the computation of the normalized power for a varying fan control signal.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
Type | Name | Default | Description |
---|---|---|---|
fan | fanRelPow | fanRelPow(r_V={0,0.1,0.3,0.6... | Fan data |
Modelica definition
model NormalizedPower "Validation model for the normalized power calculation"
extends Modelica.Icons.Example;
parameter Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.fan
fanRelPow(
r_V = {0, 0.1, 0.3, 0.6, 1},
r_P = {0, 0.1^3, 0.3^3, 0.6^3, 1})
"Fan data";
final parameter Real fanRelPowDer[size(fanRelPow.r_V,1)](each fixed=false)
"Coefficients for fan relative power consumption as a function of control signal";
Real y "Control signal";
Modelica.Units.SI.Efficiency r_P(max=1) "Normalized power consumption";
initial equation
// Derivatives for spline that interpolates the fan relative power
fanRelPowDer = Buildings.Utilities.Math.Functions.splineDerivatives(
x=fanRelPow.r_V,
y=fanRelPow.r_P,
ensureMonotonicity=Buildings.Utilities.Math.Functions.isMonotonic(x=fanRelPow.r_P,
strict=false));
equation
y = time;
r_P = Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.normalizedPower(
per=fanRelPow,
r_V=y,
d=fanRelPowDer);
end NormalizedPower;