Skip to content

Commit a6f7097

Browse files
author
Michael Tiller
committed
Merge pull request #211 from tbeu/patch-min-max-comment
Fix model comment
2 parents 84ed6d2 + 1bd5d36 commit a6f7097

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ModelicaByExample/DiscreteBehavior/CoolingRevisited/NewtonCoolingMaxFunction.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
within ModelicaByExample.DiscreteBehavior.CoolingRevisited;
2-
model NewtonCoolingMaxFunction "Cooling example with min function"
2+
model NewtonCoolingMaxFunction "Cooling example with max function"
33
type Temperature=Real(unit="K", min=0);
44
type ConvectionCoefficient=Real(unit="W/(m2.K)", min=0);
55
type Area=Real(unit="m2", min=0);
@@ -14,7 +14,7 @@ model NewtonCoolingMaxFunction "Cooling example with min function"
1414
Temperature T_inf "Ambient temperature";
1515
Temperature T "Temperature";
1616
initial equation
17-
der(T) = 0 "Steady state initial conditions";
17+
der(T) = 0 "Steady state initial condition";
1818
equation
1919
T_inf = 298.15 - max(0, 20*(time-0.5));
2020
m*c_p*der(T) = h*A*(T_inf-T) "Newton's law of cooling";

0 commit comments

Comments
 (0)