- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Simulation of standard library...
Simulation of standard library examples with SimForge
Simulation of standard library examples with SimForge
Hi all,
I'm trying to run one of the examples that are included in the Modelica standard library, for example this one: Modelica.Fluid.Examples.HeatingSystem
I'm using SimForge 0.9 RC2 and the Modelica standard library 3.1
What is the correct procedure? Some things I tried:
- When I double click on the example, it opens. When I want to check the model, SimForge gets stuck
- When I create a new model, and drag the example to it, I get the following model
model ExampleTest
Modelica.Fluid.Examples.HeatingSystem TestExample;
end ExampleTest
When checking this model, I get: Null - you can save this file with "save as" and reload the file later
Thanks for your help,
Roel
Re: Simulation of standard library examples with SimForge
There is no correct way to use Modelica.Fluid in OpenModelica as it doesn't yet support the whole of Modelica.Media.
As for SimForge, I have no clue
- sjoelund.se
- 1700 Posts
Re: Simulation of standard library examples with SimForge
Thanks for your reply.
But even if I would try to simulate an example from another library, eg thermal or electrical.
Would the simple model as proposed in my previous post work?
and if OpenModelica does not support the Media, does it mean I cannot use the standard library components that make use of a medium? All components that are interesting to me (HVAC systems) use a 'medium'...
thanks,
roel
Re: Simulation of standard library examples with SimForge
Defining what OpenModelica supports or not is complicated, because everything is divided into frontend and backend. We can flatten most code since the people funding the project think that's most important (but this means we can't simulate all code we support).
You could try looking in: http://openmodelica.org/svn/OpenModelic … istration/ (login using the subversion password http://www.openmodelica.org/index.php/d … rce-code).
The simple answer is: Modelica.Media, Multibody 3.1, Multibody 2.2, enumerations have the poorest support.
As for SimForge, I think you're on the right track but since I find command-line OpenModelica works better, I'm not really qualified to answer questions regarding graphical model editors.
- sjoelund.se
- 1700 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Simulation of standard library...