IBM / rl-testbed-for-energyplus

Reinforcement Learning Testbed for Power Consumption Optimization using EnergyPlus
MIT License
189 stars 77 forks source link

Support for custom IDF files? #117

Open asrjy opened 11 months ago

asrjy commented 11 months ago

Is there any guide to adding our own IDF files with our own control actions? I'm looking to train an agent on the Chilled Water Temperature Setpoint of the Large Office Prototype Building. But from the existing IDF files, there are quite a lot of EMS Variables initiated. I'm more familiar with the ML side of things so it is confusing. Do we have to create these EMS Actuators as well if we want to use our own IDF files?

antoine-galataud commented 11 months ago

Hi @asrjy, it's indeed possible to use your own IDF file and this will require modifications.

As described in the original paper from section 3.2 to 3.5, there are some steps to follow to modify E+ model (add EMS sensors and actuators, ...).

You'll also need to modify the gym environment to take into account your observation and action spaces. Have a look for instance at https://github.com/IBM/rl-testbed-for-energyplus/blob/master/gym_energyplus/envs/energyplus_model_2ZoneDataCenterHVAC_wEconomizer_Temp.py to see what parts of the code require an adaptation. That depends on your specific needs.