Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

How to perform co-simulation with EP and Dymola?

asked 2019-04-10 22:01:12 -0500

DanW's avatar

Hello, everyone

I read the document named ExternalInterfacesApplicationGuide and learned that EP can be coupled with FMU imported from Dymola. There are some examples in this file, but I can not find example files in the installation package. How can I find these examples ? Besides, how to perform co-simulation while EP is master and Dymola is slave?


edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2019-04-23 08:46:26 -0500

updated 2019-04-23 08:47:01 -0500

The installation package does not include those files. However, you should be able to get them from ( The files in question are_ExternalInterface-functionalmockupunit-to-actuator.idf, _ExternalInterface-functionalmockupunit-to-schedule.idf, _ExternalInterface-functionalmockupunit-to-variable.idf).

Since the IDF files of the development branch may differ from the E+ version you are currently using, I suggest to use the files as pointers so you know how to implement the objects in your own IDF file.

The ExternalInterfacesApplicationGuide along with the InputOutputReference and the aformentioned IDF files should be sufficient to get you up to speed so you can set-up a co-simulation example.

If you are still encountering issues, then let me know so I can post a working example file for E+ 9.1.

edit flag offensive delete link more


Hello Dr.Nouidui, thank you for your reply. I am still encountering this problem, so could you please send me a working example file? Thank you!

DanW's avatar DanW  ( 2019-04-23 08:55:36 -0500 )edit

The one which uses the Schedule object can be found here

Thierry Nouidui's avatar Thierry Nouidui  ( 2019-04-23 08:59:31 -0500 )edit

Thank you very much

DanW's avatar DanW  ( 2019-04-27 08:32:11 -0500 )edit

Hello Dr. Nouidui, thank you for your help. Now I can realize the co-simulation using the fmu files in EP package. However, I have another quick question that how can I export a new fmu from Dymola which can be co-simulated in EP. Are there any tools or manuals?

DanW's avatar DanW  ( 2019-05-09 01:13:47 -0500 )edit

Hello Dr. Nouidui. I was wondering if you could also include the Modelica model that the FMU came from. Thank you.

carolyng's avatar carolyng  ( 2020-05-29 11:45:00 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer


Question Tools



Asked: 2019-04-10 22:01:12 -0500

Seen: 364 times

Last updated: Apr 23 '19