This function computes the wind pressure coefficients Cp from a user-defined table data. The same functionality is also implemented in CONTAM.
This function is used in BuildingSystems.Fluid.Sources.Outside_CpData.
function windPressureProfile extends Modelica.Icons.Function; input Modelica.Units.SI.Angle alpha "Wind incidence angle"; input Real incAngTab[:] "Tabulated points for angle"; input Real CpTab[size(incAngTab, 1)] "Tabulated points for Cp"; input Real[size(incAngTab, 1)] d "Derivative values at tabulated points"; output Real CpAct "Actual Cp value for given incidence angle alpha"; end windPressureProfile;
alpha
for consistency with figure in
BuildingSystems.Airflow.Multizone.BaseClasses.windPressureLowRise.