Skip to content

Commit

Permalink
Templates • AWHP plant (#3770)
Browse files Browse the repository at this point in the history
* Added template models for air to water heat pump plants.

---------

Co-authored-by: Michael Wetter <[email protected]>
  • Loading branch information
AntoineGautier and mwetter authored Apr 5, 2024
1 parent 527f606 commit f1607e1
Show file tree
Hide file tree
Showing 317 changed files with 25,900 additions and 140 deletions.
12 changes: 7 additions & 5 deletions Buildings/Fluid/HeatPumps/EquationFitReversible.mo
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ model EquationFitReversible

output Real PLR(min=0, nominal=1, unit="1") = equFit.PLR
"Part load ratio";

Buildings.Controls.OBC.CDL.Utilities.Assert aleMes(
message="uMod cannot be -1 if reverseCycle is false.")
if not per.reverseCycle
"Generate alert message if control input is not valid"
annotation (Placement(transformation(extent={{-52,-90},{-32,-70}})));

protected
constant Modelica.Units.SI.SpecificEnergy h1_default=
Medium1.specificEnthalpy_pTX(
Expand Down Expand Up @@ -117,11 +124,6 @@ protected
"Indicator, outputs true if in cooling mode"
annotation (Placement(transformation(extent={{-80,-90},{-60,-70}})));

Buildings.Controls.OBC.CDL.Utilities.Assert aleMes(message="uMod = -1 (cooling) is not allowed as reverseCycle is false.")
if not per.reverseCycle
"Generate alert message if control input is not valid"
annotation (Placement(transformation(extent={{-52,-90},{-32,-70}})));

equation
connect(equFit.QSou_flow,QSou_flow)
annotation (Line(points={{11,-2},{32,-2},{32,-88},{110,-88}}, color={0,0,127}));
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
73 changes: 73 additions & 0 deletions Buildings/Resources/Images/Templates/Components/Pumps/Single.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f1607e1

Please sign in to comment.