Modelica

Srijit Kumar Bhadra srijit at yahoo.com
Sat Jul 1 00:15:20 EDT 2006


Is it possible to process Modelica models with Python?
I found one possible approach:
(a) Use ModelicaXML (http://www.ida.liu.se/~adrpo/ModelicaXML) to
represent Modelica code as XML
(b) Generate Python code (using numpy and scipy) from this XML file.

Is there any better approach?

Best Regards,
Srijit

michael.tiller at gmail.com wrote:

> Srijit Kumar Bhadra wrote:
> > I am looking for possible options to interface Modelica
> > (http://www.modelica.org/) with Python (scipy and numpy). Any
> > suggestions?
>
> When you say "interface", what do you mean?
>
> Do you want to be able to process Modelica models or do you simply want
> to be able to communicate with a Modelica tool.
> 
> > Best Regards,
> > Srijit
> 
> --
> Mike




More information about the Python-list mailing list