Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion Modelica/Thermal/HeatTransfer/Examples/Motor.mo
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,22 @@ Using Modelica.Thermal.FluidHeatFlow it would be possible to model the coolant a
<p>
Simulate for 7200 s; plot Twinding.T and Tcore.T.
</p>
</html>"),
</html>",
figures = {
Figure(
title = "Temperatures",
identifier = "83343",
preferred = true,
plots = {
Plot(
curves = {
Curve(y = Twinding.T, legend = "Temperature of winding"),
Curve(y = Tcore.T, legend = "Temperature of core")
}
)
}
)
}
),
experiment(StopTime=7200, Interval=0.01));
end Motor;
19 changes: 18 additions & 1 deletion Modelica/Thermal/HeatTransfer/Examples/TwoMasses.mo
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,23 @@ Simulate for 5 s and plot the variables<br>
mass1.T, mass2.T, T_final_K or<br>
Tsensor1.T, Tsensor2.T, T_final_degC
</p>
</html>"),
</html>",
figures = {
Figure(
title = "Temperatures",
identifier = "cd25b",
preferred = true,
plots = {
Plot(
curves = {
Curve(y = mass1.T, legend = "Temperature of mass1"),
Curve(y = mass2.T, legend = "Temperature of mass2"),
Curve(y = T_final_K, legend = "Projected final temperature")
}
)
}
)
}
),
experiment(StopTime=1.0, Interval=0.001));
end TwoMasses;
Loading