Skip to content

Commit 26a6beb

Browse files
committed
fixes to the computation of Cs based on discussion in open-ideas#1296
1 parent da8c75d commit 26a6beb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

IDEAS/BoundaryConditions/Interfaces/PartialSimInfoManager.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ partial model PartialSimInfoManager
117117
constant Modelica.Units.SI.Density rho_default = 1.2 "Default air density"
118118
annotation(Dialog(group="Wind"));
119119

120-
parameter Real Cs= Cs_coeff*H "Wind speed modifier"
120+
parameter Real Cs= Cs_coeff*(H^(2*a)) "Wind speed modifier"
121121
annotation(Dialog(group="Wind"));
122122

123123

IDEAS/Buildings/Components/OuterWall.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ protected
107107
final table=coeffsCp,
108108
final azi=aziInt,
109109
Cs=if not use_custom_Cs and sim.interZonalAirFlowType == IDEAS.BoundaryConditions.Types.InterZonalAirFlow.TwoPorts
110-
then sim.Cs_coeff*Habs
110+
then sim.Cs_coeff*(Habs^(2*sim.a))
111111
elseif not use_custom_Cs
112112
then sim.Cs
113113
else Cs,

IDEAS/Buildings/Components/Window.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ protected
225225
IDEAS.Fluid.Sources.OutsideAir outsideAir(
226226
redeclare package Medium = Medium,
227227
Cs=if not use_custom_Cs and sim.interZonalAirFlowType == IDEAS.BoundaryConditions.Types.InterZonalAirFlow.TwoPorts
228-
then sim.Cs_coeff*Habs
228+
then sim.Cs_coeff*(Habs^(2*sim.a))
229229
elseif not use_custom_Cs
230230
then sim.Cs
231231
else Cs,

0 commit comments

Comments
 (0)