Skip to content

Commit 17a2c29

Browse files
authored
Merge pull request #2006 from ibpsa/issue2005_partialCarnot_parameterEvaluation
Update PartialCarnot.mo to set Evaluate=true for structural parameter
2 parents 21c8335 + 3d28d88 commit 17a2c29

File tree

1 file changed

+9
-2
lines changed
  • IBPSA/Fluid/HeatPumps/ModularReversible/RefrigerantCycle/BaseClasses

1 file changed

+9
-2
lines changed

IBPSA/Fluid/HeatPumps/ModularReversible/RefrigerantCycle/BaseClasses/PartialCarnot.mo

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ partial model PartialCarnot
66
annotation(Dialog(group="Nominal condition"));
77
parameter Boolean use_constAppTem=false
88
"=true to fix approach temperatures at nominal values. This can improve simulation speed"
9-
annotation(Dialog(group="Efficiency"));
9+
annotation(Evalute=true, Dialog(group="Efficiency"));
1010
parameter Modelica.Units.SI.TemperatureDifference TAppCon_nominal(min=0)
1111
"Temperature difference between refrigerant and working fluid outlet in condenser"
1212
annotation (Dialog(group="Efficiency"));
@@ -125,7 +125,14 @@ equation
125125
and chiller with the Carnot approach.
126126
</p>
127127
</html>", revisions="<html>
128-
<ul><li>
128+
<ul>
129+
<li>
130+
May 2, 2025, by Michael Wetter:<br/>
131+
Set <code>Evaluate=true</code> for <code>use_constAppTem</code>. This is a structural parameter, if evaluated during
132+
translation, it has shown to remove a 2x2 nonlinear system of equations to compute the approach temperatures.<br/>
133+
This is for <a href=\"https://github.com/ibpsa/modelica-ibpsa/issues/2005\">IBPSA, #2005</a>.
134+
</li>
135+
<li>
129136
<i>October 2, 2022</i> by Fabian Wuellhorst:<br/>
130137
First implementation (see issue <a href=
131138
\"https://github.com/ibpsa/modelica-ibpsa/issues/1576\">#1576</a>)

0 commit comments

Comments
 (0)