Abstract
Photovoltaic (PV)-assisted electric vehicle (EV) charging can reduce grid dependence and charging-related emissions, while smart charging and vehicle-to-grid (V2G) operation can improve flexibility and renewable energy utilization. This study develops an hourly techno-economic model for a commercial PV-powered charging station in Riyadh, Saudi Arabia, with explicit separation of the value created by PV, unidirectional smart charging and bidirectional V2G. The case study considers a 150 kWdc/130 kWac PV system, 40 EVs with 60 kWh batteries, 11 kW chargers, and a 100 kW export limit. It covers four main annual operating scenarios and a smart-charging-only ablation case: grid-only charging, PV plus grid, rule-based V2G, and a daily perfect-foresight linear-programming (LP) V2G. The 8760 h framework models stochastic charging sessions, state-of-charge (SOC) constraints, converter losses, monthly two-tier tariffs, battery-throughput degradation cost, 25-year discounted cash-flow analysis, sensitivity analysis, parametric sizing analysis, and numerical verification. The optimized V2G scenario reduced annual grid imports from 368.7 to 117.7 MWh, decreased the net electricity cost from Saudi Riyal (SAR) 110,799 to SAR 27,543, and increased PV self-consumption to approximately 90%, while satisfying all 10,406 charging sessions. However, the highest incremental net present value (NPV) was obtained for unidirectional smart charging without V2G (SAR 462,248; internal rate of return (IRR) of 16.5%), followed by PV plus grid (SAR 386,412), optimized V2G (SAR 87,606), and rule-based V2G (SAR 35,287). Relative to smart charging alone, optimized V2G lowers the annual electricity cost by only about SAR 227 while requiring about SAR 260,000 of additional capital cost. The results show that V2G can enhance operational flexibility, but its incremental economic value is very sensitive to charger premiums, compensation, tariff levels, discount rates, PV costs, and battery degradation, and V2G becomes competitive with smart charging alone under boundary conditions when the assumed Saudi tariff structure does not provide. Because the weather and EV behavior are synthetic, the results are a model-based feasibility assessment rather than empirical evidence from Riyadh. For Saudi commercial charging sites, PV-coupled smart charging should thus be the initial flexibility measure, with V2G added where dedicated flexibility revenues justify bidirectional investment.