Abstract
In a vehicle-to-home (V2H) operation, an electric vehicle (EV) acts as a mobile electricity storage, providing electricity to the home when needed. This influences household electricity demand, which can impact the optimal sizing of electricity systems and the overall electricity cost. This study investigates the optimal sizing of solar photovoltaic (SPV) systems and battery energy storage (BES) for grid-connected residential houses incorporating EVs, with a focus on vehicle-tohome (V2H) capabilities. To achieve cost-effective electricity use, the particle swarm optimization (PSO) is applied alongside a new rule-based home electricity management system (HEMS). Uncertainties related to EV availability, such as arrival/departure schedules and initial state of charge (SOC) are modelled using stochastic approaches. The analysis explores the effects of integrating V2H, daily export limits, and dynamic electricity pricing. Simulation outcomes reveal that enabling V2H in grid-connected homes can decrease the need for a dedicated BES while still achieving approximately 6.8 % cost savings compared to configurations utilizing \text{PV}, \text{BES} , and EVs without V2H operation.