First time here? Check out the Help page!

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 5 years ago

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!!

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 5 years ago

updated 5 years ago

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.

Preview: (hide)
link

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  ( 5 years ago )

The one which uses the Schedule object can be found here

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

Thierry Nouidui's avatar Thierry Nouidui  ( 5 years ago )

Thank you very much

DanW's avatar DanW  ( 5 years ago )

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  ( 5 years ago )

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  ( 4 years ago )

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: 5 years ago

Seen: 425 times

Last updated: Apr 23 '19