- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » how to use interactive simulation?
how to use interactive simulation?
how to use interactive simulation?
Hi:
I try to use interacitve simulation and have downloaded the TwoTanks example. It works fine.
Now I try to build another model, such as Modelica.Fluid.Examples.Tanks.EmptyTanks. In OMShell, I bulidModel it, and get Modelica.Fluid.Examples.Tanks.EmptyTanks.exe.
Then I run Modelica.Fluid.Examples.Tanks.EmptyTanks.exe. It needs pthreadGC2.dll and libgfortran-3.dll. I copy them from OpenModelica1.9.0 directory.
Finally, Modelica.Fluid.Examples.Tanks.EmptyTanks.exe can run, and communicates with the Client.exe in the TwoTanks example. The first setcontrolclienturl#1#127.0.0.1#10500#end
settransferclienturl#2#127.0.0.1#10502#end
setfilter#3#tank1.h#source.flowLevel#end is OK.
But when start#4#end, there is a error: The instruction at "0x004706c8" referenced memory at "0xfffffff". The memory could not be "written".
Why?
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » how to use interactive simulation?