Reinforcement Learning Testbed for Power-Consumption Optimization

Takao Moriyama, Giovanni De Magistris, Michiaki Tatsubori, Tu-Hoa Pham, Asim Munawar, Ryuki TachibanaarXiv 2018

TL;DR

Researchers from IBM have developed a Deep Reinforcement Learning (DRL) framework that reduces data center cooling energy consumption by 22% compared to standard model-based controllers. By releasing an open-source OpenAI Gym-compatible wrapper for the EnergyPlus simulator, they have provided a standardized testbed for the research community to develop and benchmark energy-efficient control algorithms.

What Problem Does This Paper Address?

Data centers are massive energy consumers, accounting for roughly 3% of global electricity usage. A significant portion of this energy is dedicated to cooling systems (HVAC). Traditionally, these systems are managed by "model-based" controllers that rely on complex physical equations governing thermodynamics and fluid dynamics.

However, these models are notoriously difficult to design accurately and often fail to account for the messy, non-linear realities of a functioning data center. This leads to suboptimal energy use or unstable temperature control. The authors sought a "model-free" alternative that could learn to optimize cooling automatically, simply by observing the environment and receiving a reward for efficient performance.

Methods

The team replaced the built-in EnergyPlus controller with a DRL agent using the Trust Region Policy Optimization (TRPO) algorithm.

To bridge the gap between modern AI frameworks and legacy building simulation software, they developed a simulation wrapper called EnergyPlusEnv. This wrapper follows the popular OpenAI Gym interface, allowing researchers to plug in standard RL libraries directly. The system architecture, shown in Figure 1, uses named pipes to facilitate real-time communication between the Python-based DRL process and the EnergyPlus simulation engine.

![Fig.

  1. Control of each zone of data center](/figures/art_ab53f21ef73a4da2a67ddb338647e1ac)

A critical component of their method was the reward function design. The agent was rewarded for two things:

  1. Temperature Stability: Using a combination of Gaussian-shaped and trapezoid penalties to keep server room temperatures near a target of 23.5°C.
  2. Energy Efficiency: A penalty proportional to the total electrical power consumed.

Datasets

The study utilized the "2ZoneDataCenterHVAC_wEconomizer.idf" model, a standard benchmark in the EnergyPlus 8.8.0 distribution. To test the agent's robustness, they evaluated it against one year of historical weather data from five distinct US climates:

  • CA: San Francisco (Moderate)
  • CO: Golden (Cold)
  • FL: Tampa (Hot)
  • IL: Chicago (Cold/Variable)
  • VA: Washington D.C. (Moderate/Variable)

Key Insights and Ideas

  • Model-Free Superiority: The DRL agent outperformed the physics-based model without ever "knowing" the laws of thermodynamics. It learned the optimal relationship between setpoint temperatures and fan speeds purely through trial and error.
  • The Importance of Diverse Training: An agent trained only on San Francisco's moderate climate struggled when faced with the extremes of Colorado or Florida. However, an agent trained on a mix of climates (CA, CO, and FL) generalized remarkably well, proving that DRL can be robust enough for global deployment.
  • Standardization is Key: By providing an OpenAI Gym wrapper, the authors have lowered the barrier to entry for AI researchers to tackle climate-critical engineering problems.

Key Results

  • 22% Energy Savings: The robust DRL agent (trained on multiple climates) achieved a 22.1% average reduction in total electrical demand power compared to the baseline EnergyPlus controller.
  • High Precision: Despite the energy savings, the agent maintained excellent thermal control, with 99.6% of temperature readings falling within the safe operating range of 22.0°C to 25.0°C.
  • Stability: After approximately 200,000 simulation timesteps, the reward values stabilized, indicating that the agent had successfully learned a reliable control policy.

Limitations and Future Work

The primary limitation is that this work was conducted entirely within a simulated environment. While EnergyPlus is a high-fidelity simulator, "sim-to-real" transfer remains a challenge in reinforcement learning. Real-world sensors are noisier, and hardware constraints are less forgiving than software ones.

The authors acknowledge this and state that their next step is to deploy and validate this DRL controller within an actual IBM data center. They also noted that extending simulation periods required relaxing some convergence tolerances in the simulator to prevent errors, suggesting that further refinement of the simulation-agent interface may be needed for even longer-term studies.

Summary updated

BibTeX
@misc{moriyama2018reinforcement,
  author = {Takao Moriyama and Giovanni De Magistris and Michiaki Tatsubori and Tu-Hoa Pham and Asim Munawar and Ryuki Tachibana},
  title = {{Reinforcement Learning Testbed for Power-Consumption Optimization}},
  year = {2018},
  eprint = {1808.10427},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1808.10427},
}
Figure