EnergyplusToFMU cannot work on Mac

36 views
Skip to first unread message

Qiwei QIN

unread,
Jun 24, 2020, 12:58:10 PM6/24/20
to energyplus-fmu
Dear all,
I have tried the EnergyPlusToFmu 3.0.0 on my Mac OS. I have tried the rununittest.py and it can create the .fmu file but cannot simulate it.
The python shell stock like the picture1 and the log.txt is as attachment.picture1.jpeg
_fmu_export_schedule_log.txt

thierry...@yahoo.de

unread,
Jun 24, 2020, 2:28:40 PM6/24/20
to Qiwei QIN, energyplus-fmu
Which master are you using to drive the FMU?



Sent from my Huawei Mobile
--
You received this message because you are subscribed to the Google Groups "energyplus-fmu" group.
To unsubscribe from this group and stop receiving emails from it, send an email to energyplus-fm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/energyplus-fmu/6570880c-682f-46e3-bff2-02691acc6df0n%40googlegroups.com.

Qiwei QIN

unread,
Jun 24, 2020, 3:38:45 PM6/24/20
to energyplus-fmu
Thank you for your response quickly.
I have tried to install the PyFMI by command pip install PyFMI for Python2.7 but failed. So I have used the Anaconda for installing the package.
Right now, I found that the .fmu file has successfully created but cannot simulated by EnergyPlus 9.3.0

Qiwei QIN

unread,
Jun 24, 2020, 10:38:25 PM6/24/20
to energyplus-fmu
I wanna using Python and EnergyPlus cosimulation to fulfill a reinforcement learning control or MPC control( The model is created in python, Energyplus is like an emulated environment).  I tried using the EnergyPlusFMU version 3 runUnitTest.py.
My operation system is MacOs 10.15 and EnergyPlus is 9-3-0. Python 2.7 in Anaconda. Right now, I can see that the .fmu file has been successfully created but when going to simulation. The terminal is always like the following pictures:
截屏2020-06-24 下午10.19.54.png
截屏2020-06-24 下午10.19.54.png

Qiwei QIN

unread,
Jun 25, 2020, 11:37:21 AM6/25/20
to energyplus-fmu
Dear sir,
After checking the systems, it works. It seems that the reason is the Firewall of my system has stopped the communication between the anaconda and Energyplus. Right now I succeed.
Thanks for your help

在2020年6月24日星期三 UTC-4 下午2:28:40<Thierry Stephane Nouidui> 写道:

Thierry Nouidui

unread,
Jun 25, 2020, 11:44:04 AM6/25/20
to Qiwei QIN, energyplus-fmu

Qiwei QIN

unread,
Jun 25, 2020, 7:57:02 PM6/25/20
to energyplus-fmu
It seems that not the reason I mentioned before, there are three versions of E+ in my Mac, I found that no matter I choose which version of E+, it always is run by E+9-2-0. The version of Energyplus 9-2-0 in my Mac is modified by the following:

No matter what, it finally works in my systems, but I am curious about why. It seems some issues about the system variables about the PATH or something else?

Thanks

Thierry Nouidui

unread,
Jun 26, 2020, 4:30:46 AM6/26/20
to Qiwei QIN, energyplus-fmu
Please note that when running the unit test, the path of EnergyPlus that is provided will be used to export the IDF file as an FMU. 
To run the FMU, the EnergyPlusFMU will use the version of EnergyPlus that is found on the System Path. 
If you type energyplus in the prompt shell of your mac, then the version of EnergyPlus that will start wil be the one used by the FMU to run. That version is the one that is on your System Path



--
Prof. Thierry Nouidui
Nouidui Consulting Group
https://nouidui.com/index.php/consulting/

Qiwei QIN

unread,
Jun 26, 2020, 4:30:37 PM6/26/20
to Thierry Nouidui, Qiwei QIN, energyplus-fmu
Thank you for your response. 

You received this message because you are subscribed to a topic in the Google Groups "energyplus-fmu" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/energyplus-fmu/mcx60BrzLrE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to energyplus-fm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/energyplus-fmu/CAJ1Na0i2Y1%2BKR%3DFLLcRo7m4XF%2BsZx8H8pAnUW1d4fXLNSHtnUw%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages