Printable Version of Topic

Click here to view this topic in its original format

Modelica Forum _ SimulationX Forum _ C# talking with Dymola

Posted by: Renata Aug 19 2008, 09:36 PM


I have a model in modelica and I want to run it and get its result and use in a C# program.

How can I make my program in C# talk with Dymola, so I can run it in Dymola and get the results?



Posted by: dragos Nov 5 2008, 09:41 AM

Hello Renata,

One Modelica simulation created with Dymola can be executed as a DDE server. If you create your C# application as a DDE client you will be able to communicate with the Modelica simulation. I already done that using the NDde library ( It is actually very simple to use.


Powered by Invision Power Board (
© Invision Power Services (