A Study of Reinforcement Learning Based Predictive Control Framework for Optimal Bidirectional Electric Vehicle Charging in a Small Office Building
Abstract
Vehicle-to-Building (V2B) operation enables electric vehicles (EVs) to provide flexible energy resources for building energy management, but bidirectional charging requires coordinated management of EV availability, building demand, photovoltaic (PV) generation, demand-response (DR) events, and electricity prices. This thesis proposes a reinforcement learning-based predictive control (RLPC) framework for bidirectional EV charging to ensure EV fulfillment, reduce energy costs, and mitigate peak grid demand. A modified Soft Actor-Critic (SAC) supervisory controller generates 24-hour charging and discharging power envelopes for charging-station groups using forecasts of building demand and PV generation, DR notifications, and pricing signals. These envelopes are converted into per-EV power setpoints by a rule-based regulatory controller that accounts for real-time EV availability, energy requirements, and battery limits. EVnet-Gym is developed for training and evaluation under stochastic EV behavior, building demand, PV generation, electricity prices, and battery constraints. Simulation results show that RLPC reduces accumulated energy cost by approximately 57% compared with as-fast-as-possible (AFAP) charging and 17% compared with limited as-fast-as-possible (LAFAP) charging, while maintaining EV battery fulfillment above 98% relative to user-specified departure targets. Based on daily peak comparisons, RLPC reduces all-day peak grid import by approximately 86% relative to AFAP. Relative to LAFAP, RLPC reduces morning on-DR peak demand by approximately 7%, but increases afternoon on-DR and off-DR peak demand by approximately 27% and 9%, respectively. This reflects a trade-off between energy-cost reduction through bidirectional V2B utilization and higher peak demand during afternoon on-DR and off-DR periods. Overall, RLPC reduces operating costs, supports peak-demand mitigation, and satisfies EV charging requirements.
Details
- Journal / source
- Spectrum Research Repository (Concordia University)
- Published
- 2026
- Type
- dissertation
- Access
- Free to read
- Citations
- 0
Research areas
Related EV research
Performance and cost of materials for lithium-based rechargeable automotive batteries
Review of Battery Charger Topologies, Charging Power Levels, and Infrastructure for Plug-In Electric and Hybrid Vehicles
This paper reviews the current status and implementation of battery chargers, charging power levels, and infrastructure for plug-in electric vehicles and hybrids. Charger systems are categorized into off-board…
Batteries and fuel cells for emerging electric vehicle markets
Electrical energy storage for transportation—approaching the limits of, and going beyond, lithium-ion batteries
The escalating and unpredictable cost of oil, the concentration of major oil resources in the hands of a few politically sensitive nations, and the long-term impact of CO2 emissions on global climate…