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

Using PyFMI to call 2 FMUs

asked 2020-12-02 12:54:38 -0500

Charalampos Angelopoulos gravatar image

updated 2020-12-03 11:14:28 -0500

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-12-03 12:22:25 -0500

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:

edit flag offensive delete link more


Hi Thierry, can both FMUs be energyplus FMUs?

sajithwjay gravatar image sajithwjay  ( 2020-12-20 18:51:28 -0500 )edit

I suggest giving it a try.

Thierry Nouidui gravatar image 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 gravatar image sajithwjay  ( 2020-12-24 16:06:30 -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

1 follower


Asked: 2020-12-02 12:54:38 -0500

Seen: 126 times

Last updated: Dec 03 '20