Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Any development guide for OMEdit?

Any development guide for OMEdit?

Hello, everyone.
I am interested in the qt clients of openmodelica especially the OMEdit.
From OpenModelicaSystem.pdf I find some development guides such as class overview for OMNotebook.
Is there anything similar for OMEdit and where can I find them?
Actually I developed my own compiler for modelica and I try  to find a GUI to call it (finally I find OMEdit), so any help on OMCProxy is also welcome.
I would appreciate if anyone can give some help! current/smile

Re: Any development guide for OMEdit?

Unfortunately, there is no development guide for OMEdit except the source code.
Basically all communication with the OpenModelica compiler happens via an API call inside the omc DLL.
Previously we had a CORBA communication with the omc.exe process but we changed that to C API calls from a DLL.
All calls were routed via OMCProxy.cpp.

What kind of API does your compiler has?

OMEdit in general does calls to APIs like loadModel, getClasses, getComponents, getAnnotations, simulate, instantiateModel, etc.
Some documentation of the API you can find here:
https://build.openmodelica.org/Document … pting.html

Cheers,
Adrian Pop/

Re: Any development guide for OMEdit?

There is some information about classes in my Thesis http://liu.diva-portal.org/smash/record … swid=6339. However, some of the information might be obsolete.

Adeel.

Edited by: adeas - Jul-19-15 15:02:46

Re: Any development guide for OMEdit?

For integrating the OMEdit modeling environment with another simulation tool, it should be possible to do https://openmodelica.org/doc/OpenModeli … totalmodel from OMC to create an mo-file that the other tool calls to simulate. Much less functionality that would be necessary.

There are 0 guests and 0 other users also viewing this topic
You are here: