Skip to content

Commit

Permalink
Enabled hysteresis in freeze stat (#2977)
Browse files Browse the repository at this point in the history
For #2975
  • Loading branch information
mwetter authored Apr 27, 2022
1 parent 5f98229 commit 2912509
Show file tree
Hide file tree
Showing 7 changed files with 120 additions and 104 deletions.
9 changes: 8 additions & 1 deletion Buildings/Examples/VAVReheat/BaseClasses/FreezeStat.mo
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ model FreezeStat "Freeze thermostat with timed lockout"
annotation (Placement(transformation(extent={{40,-10},{60,10}})));
Buildings.Controls.OBC.CDL.Continuous.GreaterThreshold greThr(
final t=TSet,
final h=0) "Greater comparison"
final h=0.5)
"Greater comparison"
annotation (Placement(transformation(extent={{-60,-10},{-40,10}})));
equation
connect(locOut.y, freStaSig.u)
Expand Down Expand Up @@ -80,6 +81,12 @@ the set point.
</html>", revisions="<html>
<ul>
<li>
April 26, 2022, by Michael Wetter:<br/>
Enabled hysteresis for freeze stat. This is required to avoid simulation to stall.<br/>
This is for
<a href=\"https://github.com/lbl-srg/modelica-buildings/issues/2975\">#2975</a>.
</li>
<li>
April 23, 2021, by Michael Wetter:<br/>
First implementation.
</li>
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions Buildings/package.mo
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,15 @@ have been <b style=\"color:blue\">improved</b> in a
<b style=\"color:blue\">backward compatible</b> way:
</p>
<table class=\"releaseTable\" summary=\"summary\" border=\"1\" cellspacing=\"0\" cellpadding=\"2\" style=\"border-collapse:collapse;\">
<tr><td colspan=\"2\"><b>Buildings.Examples.VAVReheat</b>
</td>
</tr>
<tr><td valign=\"top\">Buildings.Examples.VAVReheat.BaseClasses.Controls.FreezeStat
</td>
<td valign=\"top\">Added hysteresis. Without it, models can stall due to state events.<br/>
This is for <a href=\"https://github.com/lbl-srg/modelica-buildings/issues/2975\">#2975</a>.
</td>
</tr>
<tr><td colspan=\"2\"><b>Buildings.Controls.OBC</b>
</td>
</tr>
Expand Down

0 comments on commit 2912509

Please sign in to comment.