Mixing volume verification around zero flow with heat exchange
This model verifies whether the equations in
Annex60.Fluid.Interfaces.StaticTwoPortConservationEquation are
consisent for all foreseeable cases. All MixingVolume
instances contain the correct setting for
prescribedHeatFlowRate. Switching the value will
result in an error in each case. This error either is a
non-physical solution to the (non-)linear system or a division by
zero, which halts the simulation.
If you use Dymola, set Advanced.Define.AimForHighAccuracy
= false to increase the chance of the error being produced
for this simple example.
Contents
- January 27, 2016, by Filip Jorissen:
Changed heat flow rate at zero flow to avoid triggering of
conservation of energy check. This is for issue
470.
- November 2, 2016, by Michael Wetter:
Removed assertion as the variable that are tested are already part
of the regression test. Also, the previous implementation mixed
graphical with textual programming, which we try to avoid.
This is for issue
441.
- January 27, 2016, by Michael Wetter:
Removed algorithm specification in experiment annotation.
- July 2, 2015 by Michael Wetter:
Revised example.
- June 30, 2015 by Filip Jorissen:
First implementation to test issue
282.
Generated at 2026-04-04T18:18:28Z by OpenModelicaOpenModelica 1.26.3 using
GenerateDoc.mos