3

Using PyFMI to call 2 FMUs

I want to perform co-simulation using 2 different FMUs. One FMU is my EnergyPlus model, the second FMU is the control algorithm developed in Matlab.

I am wondering whether is possible to use PyFMI to call the two FMUs and use PyFMI as my master controller. Do you know or have any example/documentation to explain how it can be done?

Charalampos Angelopoulos's avatar
386
Charalampos Angelopoulos
asked 2020-12-02 12:54:38 -0500, updated 2020-12-03 11:14:28 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

3

Yes, it is possible to use PyFMI to call the FMUs. Check out this article that describes how you can perform co-simulation with two FMUs: https://www.modelon.com/co-simulation...

Thierry Nouidui's avatar
1.5k
Thierry Nouidui
answered 2020-12-03 12:22:25 -0500
edit flag offensive 0 remove flag delete link

Comments

Hi Thierry, can both FMUs be energyplus FMUs?

sajithwjay's avatar sajithwjay (2020-12-20 18:51:28 -0500) edit

I suggest giving it a try.

Thierry Nouidui's avatar Thierry Nouidui (2020-12-22 01:54:09 -0500) edit

I have been trying to connect two FMUs and the challenging part has been defining the "connections" between the two energyplus FMUs. Is there any guidance on that?

sajithwjay's avatar sajithwjay (2020-12-24 16:06:30 -0500) edit
add a comment see more comments