An Energy Flow Control Strategy for Residential Buildings with Electric Vehicles as Storage and PV Systems
Abstract
Modern power systems increasingly integrate renewable energy sources (RESs), electric mobility, and dynamic market participation. Dynamic electricity pricing, reflecting real-time market conditions, is increasingly important for prosumers worldwide, enabling flexible and efficient energy management. The growing adoption of electric vehicles (EVs) and bidirectional charging technologies (V2G, V2H) allows EVs to act as mobile battery energy storage systems (mBESSs). This study presents a Python 3.11-based application for simulating and analyzing energy flows in residential systems with photovoltaic (PV) installations, EVs acting as mBESS, and optional stationary battery energy storage systems (BESSs), using real 2024 data on consumption, PV production, and market prices. The energy management system (EMS) employs a rule-based algorithm to optimize energy use and economic benefits, adjusting dispatch between PV systems, the grid, mBESSs, and BESSs based on price coefficients α and β. Simulation scenarios were developed based on two EV availability patterns: Profile 1, representing users unavailable during standard working hours, and Profile 2, representing users with intermittent availability for brief excursions. The results demonstrate substantial electricity cost reductions: For a Nissan Leaf e+ with Profile 1, annual costs decrease by approximately 20% compared to a system without EVs. With PV generation and Profile 2, costs drop by 57% relative to the baseline, while adding a stationary BESS further reduces costs by nearly 95%. It should be noted that the results were obtained assuming zero energy costs for propulsion. Therefore, the economic benefits reported here represent an upper-bound estimate and would be lower under real-world driving conditions. These findings highlight that coordinated EMS operation with EVs as mBESSs, supported by optional BESSs, can maximize economic performance and provide prosumers with a practical framework for flexible and efficient energy management.
Details
- Journal / source
- Energies
- Published
- 2026
- Type
- article
- Access
- Free to read
- Citations
- 1
- Licence
- cc-by
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…