3

How to perform co-simulation with EP and Dymola?

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

DanW's avatar
83
DanW
asked 2019-04-10 22:01:12 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

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.

Thierry Nouidui's avatar
1.5k
Thierry Nouidui
answered 2019-04-23 08:46:26 -0500, updated 2019-04-23 08:47:01 -0500
edit flag offensive 0 remove flag delete 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 (2019-04-23 08:55:36 -0500) 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 -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
add a comment see more comments