Skip to content

Commit

Permalink
Fix model comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu committed Sep 18, 2014
1 parent 84ed6d2 commit 1bd5d36
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
within ModelicaByExample.DiscreteBehavior.CoolingRevisited;
model NewtonCoolingMaxFunction "Cooling example with min function"
model NewtonCoolingMaxFunction "Cooling example with max function"
type Temperature=Real(unit="K", min=0);
type ConvectionCoefficient=Real(unit="W/(m2.K)", min=0);
type Area=Real(unit="m2", min=0);
Expand All @@ -14,7 +14,7 @@ model NewtonCoolingMaxFunction "Cooling example with min function"
Temperature T_inf "Ambient temperature";
Temperature T "Temperature";
initial equation
der(T) = 0 "Steady state initial conditions";
der(T) = 0 "Steady state initial condition";
equation
T_inf = 298.15 - max(0, 20*(time-0.5));
m*c_p*der(T) = h*A*(T_inf-T) "Newton's law of cooling";
Expand Down

0 comments on commit 1bd5d36

Please sign in to comment.