Working with OpenModelica
- OpenModelica 1.9.1:
- open source
-
simple graphical editor
-
Modelica engine reliable in many applications
-
good support of the MFL
- Simple tests:
- Tank, Pipe work
- CurveMFL gives undefined values
- Curve works
- computes pressure difference from mass flow
- assumes fixed density and viscosity
- almost identical simulation results (in Dymola)
- TeeBranches:
- Models based on FluidDissipation library → error while
flattening the equations
- simplified TeeBranch1 works
- TeeBranch1C (adds a little compressibility)
→ wild results
- basic TeeBranch works
- Complete systems:
- initial version (100 components, 10000 equations) →
Modelica compiler crashes early
- stable at around 6000 equations
- slightly reduced model could be used successfully