- Notifications
You must be signed in to change notification settings - Fork3
Code for ACM e-Energy 2021 paper: "On the Joint Control of Multiple Building Systems with Reinforcement Learning"
License
sustainable-computing/COBS-joint-control
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository contains the code forOn the Joint Control of Multiple Building Systems with Reinforcement Learning. Please cite our paper if you find this work helpful:
Tianyu Zhang, Gaby Baasch, Omid Ardakanian, and Ralph Evins, "On the Joint Control of Multiple Building Systems with ReinforcementLearning", In Proceedings of the Twelfth ACM International Conference on Future EnergySystems (ACM e-Energy ’21), June 28–July 2, 2021
@inproceedings{10.1145/3447555.3464855,author ={Zhang, Tianyu and Baasch, Gaby and Ardakanian, Omid and Evins, Ralph},title ={On the Joint Control of Multiple Building Systems with Reinforcement Learning},year ={2021},isbn ={9781450383332},publisher ={Association for Computing Machinery},address ={New York, NY, USA},url ={https://doi.org/10.1145/3447555.3464855},doi ={10.1145/3447555.3464855},booktitle ={Proceedings of the Twelfth ACM International Conference on Future EnergySystems},location ={Virtual Event, Italy},series ={e-Energy ’21}}
This paper explores rule-based and RL-based control of building subsystems (HVAC, lighting, shading) in a 5-zone office building in Pittsburgh, Pennsylvania in January (heating season) and July (cooling season). The floor area of this building is 5,000 square feet. The control setpoints that we adjust using different algorithms to maximize energy savings, thermal comfort, and visual comfort are supply air temperature setpoint and blind angle setpoint. ThisIDF file describes the simulated building. The building is simulated in theEnergyPlus 9.3.0 environment and is controlled via theCOmprehensive Building Simulator (COBS) which interacts with EnergyPlus. COBS is used in this work to programmatically execute rule-based control scenarios and to train the RL agents. The office building we control is depicted in the figure below.
This repository is licensed underMIT.Code is written byTianyu Zhang andGaby Baasch.
We welcome contributions to this work in different forms, such as bug reports, pull requests, etc.
Make sure to haveEnergyPlus 9.3.0 installed on your computer. The code is not compatible with other version of EnergyPlus. Download theCOBS simulator and add its path to your python environment to run the code correctly.
Packages | Version |
---|---|
pandas | 1.1.5 |
numpy | 1.19.4 |
matplotlib | 3.3.3 |
torch | 1.7.1 |
eppy | 0.5.53 |
Execute themain.py
by
python3 main.py [-h] [--start_run START_RUN] --end_run END_RUN [--seed SEED] [--chkpt_dir CHKPT_DIR] --agent_type AGENT_TYPE [--alpha ALPHA] [--automatic_entropy_tuning G] [--min_action MIN_ACTION] [--max_action MAX_ACTION] --network NETWORK [--reward_type REWARD_TYPE] [--reward_param REWARD_PARAM] [--power_mult POWER_MULT] [--therm_mult THERM_MULT] [--vis_mult VIS_MULT] [--planning_steps PLANNING_STEPS] [--save_root SAVE_ROOT] [--eplus_path EPLUS_PATH] [--epw_path EPW_PATH] [--control_sat CONTROL_SAT] [--control_therm CONTROL_THERM] --season SEASON --blinds BLINDS [--control_blinds_multi CONTROL_BLINDS_MULTI] [--zone_blinds_multi ZONE_BLINDS_MULTI] --daylighting DAYLIGHTING [--testing TESTING] [--random_occupancy RANDOM_OCCUPANCY] [--multi_agent MULTI_AGENT] [--load_sat LOAD_SAT] [--load_sat_path LOAD_SAT_PATH] [--no_train_split NO_TRAIN_SPLIT] [--vav VAV]
An example command would be:
python3 main.py --daylighting True --season heating --blinds False --control_blinds_multi False --random_occupancy True --vav False --multi_agent False --network leaky --control_sat True --load_sat False --load_sat_path '<path>' --control_therm False --power_mult 1.0 --therm_mult 0.7 --vis_mult 0.4 --save_root '<path>' --end_run 400 --agent_type PPO --reward_type OCTO --eplus_path '<path>'
About
Code for ACM e-Energy 2021 paper: "On the Joint Control of Multiple Building Systems with Reinforcement Learning"
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Contributors3
Uh oh!
There was an error while loading.Please reload this page.