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

How to perform co-simulation with EP and Dymola?

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

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?

Thanks!!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

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

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

The installation package does not include those files. However, you should be able to get them from

https://github.com/NREL/EnergyPlus/tr... ( 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

Comments

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 -0600 )edit

The one which uses the Schedule object can be found here

https://drive.google.com/open?id=1Bf7...

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

Thank you very much

DanW's avatar DanW  ( 2019-04-27 08:32:11 -0600 )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 -0600 )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 -0600 )edit

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

3 followers

Stats

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

Seen: 404 times

Last updated: Apr 23 '19