Hi,
I have tried Fluid models in SM. For a long time did try building models in SM, yet past the basic editing, there were always errors that I believe had to do with the Flow connectors. I built the same models in OMEdit and they run. With those working models, I then try them in SM, but no luck. The models are not complicated: a sink and source (ideal gas), two valves, and a volumetric compressor. Even using only standard Modelica 3.2.3 elements, it does not work. I tried with with SM12 and SM12.1. Often they seem ok in SM yet fail in compiling in MC or fail the run.
This is unfortunate since the SM environment is much nicer to work in and the integration with Mathematica is great. Yet I must say that OMEdit is getting much better and has several advantages over SM:
- being able to arrange and move plots around - while SM has a nice presentation, they are a fixed stack order, meaning if you want to change this, you must rebuild the work
(yet OMEdit doesn't save plot settings, so each has its own issues)
- Optimaztion is much better in OMEdit:
1) It is easier to do parameter sweeps in OMEdit and appears to be faster than the SM->Mathematic path
2) The OMOtim package of OMEdit allows system optimisation of the system - it is much faster than the parametric optimisation of SM->M.
I do have great hope for SM13 with learning all the tricks of OMEdit and of course Fluids.
For now I am working OMEdit for my fluid projects an then -> .xls -> Mathematica for post-processing.
- perhaps more than you asked, but for thought.