-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1561 airflowwindowventilationempiricalexpressionsdin16798 add deactivation option for window opening #1564
base: main
Are you sure you want to change the base?
1561 airflowwindowventilationempiricalexpressionsdin16798 add deactivation option for window opening #1564
Changes from 6 commits
6989df8
6c984ba
ac3bdff
e55aba4
647832f
fdff1b9
51434b3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,8 +114,17 @@ model VentilationFlowRateSashOpening | |
redeclare model OpeningArea = | ||
AixLib.Airflow.WindowVentilation.OpeningAreas.OpeningAreaSashDIN16798 ( | ||
opnTyp=AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.BottomHungInward), | ||
heightASL=200) "Model DIN 16798" | ||
heightASL=200) "Model DIN 16798, without window opening behavior" | ||
annotation (Placement(transformation(extent={{60,-20},{80,0}}))); | ||
AixLib.Airflow.WindowVentilation.EmpiricalExpressions.DIN16798 din16798_2( | ||
winClrWidth=winClrWidth, | ||
winClrHeight=winClrHeight, | ||
redeclare model OpeningArea = | ||
AixLib.Airflow.WindowVentilation.OpeningAreas.OpeningAreaSashDIN16798 ( | ||
opnTyp=AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.BottomHungInward), | ||
heightASL=200, | ||
winOpnBeh=true) "Model DIN 16798, with window opening behavior" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would advise setting winOpnBeh final in both models with and without opening behavior to avoid users overriding it. If you know use cases where a non-final setting is useful, keep it this way. |
||
annotation (Placement(transformation(extent={{100,-40},{120,-20}}))); | ||
AixLib.Airflow.WindowVentilation.EmpiricalExpressions.DIN4108 din4108_1( | ||
winClrWidth=winClrWidth, | ||
winClrHeight=winClrHeight, | ||
|
@@ -230,6 +239,12 @@ equation | |
60},{0,-6},{58,-6}}, color={0,0,127})); | ||
connect(winSpe10Set.y, din16798_1.winSpe10) annotation (Line(points={{-79,30}, | ||
{-10,30},{-10,-12},{58,-12}}, color={0,0,127})); | ||
connect(from_degC.y, din16798_2.TRoom) annotation (Line(points={{-39,90},{10,90}, | ||
{10,-2},{52,-2},{52,-22},{98,-22}}, color={0,0,127})); | ||
connect(from_degC1.y, din16798_2.TAmb) annotation (Line(points={{-39,60},{0,60}, | ||
{0,-6},{50,-6},{50,-26},{98,-26}}, color={0,0,127})); | ||
connect(winSpe10Set.y, din16798_2.winSpe10) annotation (Line(points={{-79,30}, | ||
{-10,30},{-10,-12},{48,-12},{48,-32},{98,-32}}, color={0,0,127})); | ||
connect(from_degC.y, din4108_1.TRoom) annotation (Line(points={{-39,90},{10, | ||
90},{10,-42},{58,-42}}, color={0,0,127})); | ||
connect(from_degC1.y, din4108_1.TAmb) annotation (Line(points={{-39,60},{0,60}, | ||
|
@@ -266,6 +281,8 @@ equation | |
90},{90,90},{90,82},{70,82}}, color={0,0,127})); | ||
connect(winOpnWidthSet.y, din16798_1.opnWidth_in) | ||
annotation (Line(points={{99,90},{90,90},{90,2},{70,2}}, color={0,0,127})); | ||
connect(winOpnWidthSet.y, din16798_2.opnWidth_in) annotation (Line(points={{99, | ||
90},{90,90},{90,-18},{110,-18}}, color={0,0,127})); | ||
connect(winOpnWidthSet.y, din4108_1.opnWidth_in) annotation (Line(points={{99, | ||
90},{90,90},{90,-38},{70,-38}}, color={0,0,127})); | ||
connect(winOpnWidthSet.y, ashrae.opnWidth_in) annotation (Line(points={{99,90}, | ||
|
@@ -280,6 +297,10 @@ equation | |
June 14, 2024, by Jun Jiang:<br/> | ||
First implementation (see <a href=\"https://github.com/RWTH-EBC/AixLib/issues/1492\">issue 1492</a>) | ||
</li> | ||
<li> | ||
Dec. 16, 2024, by Jun Jiang:<br/> | ||
Update due to model update (see <a href=\"https://github.com/RWTH-EBC/AixLib/issues/1561\">issue 1561</a>) | ||
</li> | ||
</ul> | ||
</html>", info="<html> | ||
<p>This example checks the models that simulate the window ventilation flow rate with the sash opening. For the sash opening type, all models are set to the bottom-hung opening.</p> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,8 +101,16 @@ model VentilationFlowRateSimpleOpening | |
winClrHeight=winClrHeight, | ||
redeclare model OpeningArea = | ||
AixLib.Airflow.WindowVentilation.OpeningAreas.OpeningAreaSimple, | ||
heightASL=200) "Model DIN 16798" | ||
heightASL=200) "Model DIN 16798, without window opening behavior" | ||
annotation (Placement(transformation(extent={{60,-20},{80,0}}))); | ||
AixLib.Airflow.WindowVentilation.EmpiricalExpressions.DIN16798 din16798_2( | ||
winClrWidth=winClrWidth, | ||
winClrHeight=winClrHeight, | ||
redeclare model OpeningArea = | ||
AixLib.Airflow.WindowVentilation.OpeningAreas.OpeningAreaSimple, | ||
heightASL=200, | ||
winOpnBeh=true) "Model DIN 16798, with window opening behavior" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here. Also, explicitly set winOpnBeh in any case to avoid changes if someone changes the default at some point. |
||
annotation (Placement(transformation(extent={{60,-40},{80,-20}}))); | ||
AixLib.Airflow.WindowVentilation.EmpiricalExpressions.DIN4108 din4108_1( | ||
winClrWidth=winClrWidth, | ||
winClrHeight=winClrHeight, | ||
|
@@ -181,6 +189,12 @@ equation | |
60},{0,-6},{58,-6}}, color={0,0,127})); | ||
connect(winSpe10Set.y, din16798_1.winSpe10) annotation (Line(points={{-79,30}, | ||
{-10,30},{-10,-12},{58,-12}}, color={0,0,127})); | ||
connect(from_degC.y, din16798_2.TRoom) annotation (Line(points={{-39,90},{10,90}, | ||
{10,-2},{52,-2},{52,-22},{58,-22}}, color={0,0,127})); | ||
connect(from_degC1.y, din16798_2.TAmb) annotation (Line(points={{-39,60},{0,60}, | ||
{0,-6},{50,-6},{50,-26},{58,-26}}, color={0,0,127})); | ||
connect(winSpe10Set.y, din16798_2.winSpe10) annotation (Line(points={{-79,30}, | ||
{-10,30},{-10,-12},{48,-12},{48,-32},{58,-32}}, color={0,0,127})); | ||
connect(from_degC.y, din4108_1.TRoom) annotation (Line(points={{-39,90},{10, | ||
90},{10,-42},{58,-42}}, color={0,0,127})); | ||
connect(from_degC1.y, din4108_1.TAmb) annotation (Line(points={{-39,60},{0,60}, | ||
|
@@ -201,6 +215,10 @@ equation | |
June 14, 2024, by Jun Jiang:<br/> | ||
First implementation (see <a href=\"https://github.com/RWTH-EBC/AixLib/issues/1492\">issue 1492</a>) | ||
</li> | ||
<li> | ||
Dec. 16, 2024, by Jun Jiang:<br/> | ||
Update due to model update (see <a href=\"https://github.com/RWTH-EBC/AixLib/issues/1561\">issue 1561</a>) | ||
</li> | ||
</ul> | ||
</html>", info="<html> | ||
<p>This example checks the models that simulate the window ventilation flow rate with the simple opening.</p> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a revision why this changed?