VidyutVanika: A Reinforcement Learning Based Broker Agent for a Power Trading Competition

Susobhan Ghosh, Easwar Subramanian, Sanjay P. Bhat, Sujit Gujar, Praveen ParuchuriAAAI 2019

Abstract

A smart grid is an efficient and sustainable energy system that integrates diverse generation entities, distributed storage capacity, and smart appliances and buildings. A smart grid brings new kinds of participants in the energy market served by it, whose effect on the grid can only be determined through high fidelity simulations. Power TAC offers one such simulation platform using real-world weather data and complex state-of-the-art customer models. In Power TAC, autonomous energy brokers compete to make profits across tariff, wholesale and balancing markets while maintaining the stability of the grid. In this paper, we design an autonomous broker VidyutVanika, the runner-up in the 2018 Power TAC competition. VidyutVanika relies on reinforcement learning (RL) in the tariff market and dynamic programming in the wholesale market to solve modified versions of known Markov Decision Process (MDP) formulations in the respective markets.

Introduction

In the evolving landscape of smart grids, autonomous brokers serve as vital intermediaries, purchasing bulk energy from wholesale markets and retailing it to consumers through diverse tariff structures. This role necessitates a complex balancing act: brokers must mitigate the risks of over-purchasing (incurring storage or penalty fees) and under-purchasing (facing high balancing fees). The Power Trading Agent Competition (Power TAC) provides a sophisticated simulation environment to evaluate broker strategies against state-of-the-art customer models and real-world weather data. This paper presents VidyutVanika (VV), a broker agent that utilizes reinforcement learning and neural network-based forecasting to navigate these market complexities.

System Architecture and Methodology

VidyutVanika's design is modular, separating responsibilities into distinct components for retail and wholesale operations, supported by a robust data repository system.

The internal architecture of VidyutVanika, highlighting the data flow from repositories to the specialized Tariff and Wholesale modules.

The Tariff Module (TM)

The TM is responsible for designing and publishing retail tariffs. It models the retail market as a Markov Decision Process (MDP) and employs Q-learning to derive optimal pricing strategies. A significant innovation in VV is its reward function, which focuses on maximizing net profit while excluding balancing charges, which are managed by the wholesale module. To address transmission capacity fees—penalties for high usage during peak hours—VV includes a "Tariff Designer." This component transforms near-optimal fixed-price tariffs into Time-of-Use (TOU) tariffs, incentivizing customers to shift their consumption to off-peak periods, thereby reducing the broker's infrastructure costs.

The Wholesale Module (WM)

The WM handles energy procurement from generators. It utilizes an MDP solved via dynamic programming to determine the optimal "limit price" for bids. To improve procurement efficiency, VV uses a Bid/Ask Quantity Predictor to distribute orders across 24 concurrent auctions, seeking the lowest possible clearing prices. Furthermore, the module implements a "Dummy Order" (DOQAP) strategy, placing small, low-cost bids to probe the market and estimate the "Last Clearing Price," providing critical data for future bidding cycles.

Demand Forecasting with Neural Networks

Unlike many previous agents that relied on simple heuristics, VV employs a Neural Network-based Customer Usage Predictor (CUP). By processing real-world weather forecasts and historical consumption data, CUP achieves an average prediction accuracy of 84%. This high-fidelity forecasting is essential for minimizing the supply-demand imbalances that lead to costly penalties.

Evaluation and Results

The performance of VidyutVanika was evaluated using data from the 324 games of the Power TAC 2018 tournament, incorporating real-world weather data and 14-day bootstrap simulation periods.

Comparison of subscribed customer percentages across different broker configurations, demonstrating VidyutVanika's market dominance.

VidyutVanika secured the runner-up position in the 2018 Finals. As illustrated in Figure 2, VV maintained the highest average market share across both 2-broker and 7-broker scenarios. This dominance in customer acquisition did not come at the cost of stability; VV's superior demand forecasting allowed it to manage a large customer base while keeping imbalance costs lower than many competitors with fewer subscribers. Notably, VV won the highest number of individual games (112 out of 204), demonstrating its robustness across varied competitive landscapes. Ablation studies confirmed the efficacy of the RL-based approach, showing that the removal of the TM or WM resulted in profit losses ranging from 17% to 28%.

Discussion and Future Work

VidyutVanika demonstrates that the integration of weather-aware neural networks and reinforcement learning provides a significant edge in power trading. By actively shaping customer behavior through TOU tariffs and utilizing information-probing "dummy orders," VV successfully navigated the "hidden state" problems of the wholesale market.

However, limitations remain. VV currently remains passive in the balancing market, missing opportunities to use customer-side storage for grid stabilization. Additionally, while VV excelled in multi-broker games, it showed some vulnerability in specific head-to-head matches due to end-game transmission fee calculations. Future iterations will focus on active balancing market participation and refining strategies for the final stages of competition.

Summary updated

BibTeX
@inproceedings{ghosh2019vidyutvanika,
  author = {Susobhan Ghosh and Easwar Subramanian and Sanjay P. Bhat and Sujit Gujar and Praveen Paruchuri},
  title = {{VidyutVanika: A Reinforcement Learning Based Broker Agent for a Power Trading Competition}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  url = {https://openreview.net/forum?id=fwlepxNSHK},
}
Figure