IBM / rl-testbed-for-energyplus

Reinforcement Learning Testbed for Power Consumption Optimization using EnergyPlus
MIT License
177 stars 74 forks source link

No eplusout.csv in the output file, thus cannot use monitoring function #105

Closed DDDOH closed 1 year ago

DDDOH commented 2 years ago

Hi, I run the simulation till the step function returns DONE=True, and got a list of outputs but without eplusout.csv.

image

The environment is the manually installed energyplus 9.5.0 on MacOS with an M1 chip. But when I run exactly the same code in a Linux docker the eplusout.csv shows.

Is it possible to fix this issue by working around the code? Or do I have to switch to docker instead?

antoine-galataud commented 2 years ago

Hi @DDDOH, there should be no difference in code executed inside and outside a container: EnergyPlus is called with -r which invokes transformation of .eso to the expected .csv. It happens at the very end of the execution of the simulation (hence end of episode) and it’s tackled by a different binary (ReadVarsESO). Could you try to rerun for 2 complete episodes and check the output folder of the first one? If eplusout.csv is still missing please share the logs of the execution.

DDDOH commented 1 year ago

Thanks for your reply. I tried run the code in the docker environment and the issue is resolved. The missing .csv may related to the MacOS M1 version Energyplus.