- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Calling openmodelica from java
Calling openmodelica from java
Re: Calling openmodelica from java
You could either use the Java interface (modelica_java.jar, distributed with OpenModelica). There are examples on how to use it in the testsuite:
http://openmodelica.org/svn/OpenModelic … uite/java/
Else you could connect directly using CORBA (since the java interface doesn't contain special functions for simulate(), etc anyway). There is an example on how to do that in the testsuite (which modelica_java.jar is based on):
http://openmodelica.org/svn/OpenModelic … _advanced/
- sjoelund.se
- 1700 Posts
Re: Calling openmodelica from java
We also have a Java-Corba client as an Eclipse project that you can use to connect to OMC:
http://www.ida.liu.se/~adrpo/omc/corba/_java/
Cheers,
Adrian Pop/
- adrpo
- 885 Posts
Re: Calling openmodelica from java
nhuytan wrote:
i can not verify username and password .
http://www.openmodelica.org/index.php/d … ource-code
- sjoelund.se
- 1700 Posts
Re: Calling openmodelica from java
adrpo wrote:
We also have a Java-Corba client as an Eclipse project that you can use to connect to OMC:
http://www.ida.liu.se/~adrpo/omc/corba/_java/
Cheers,
Adrian Pop/
I see,
Adrian, is there any example or guide on how to use it?
Cheers!
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Calling openmodelica from java