pith. sign in

arxiv: 2605.03844 · v1 · submitted 2026-05-05 · 📡 eess.SY · cs.SY

Online Energy Management for Bidirectional EV Charging with Rooftop PV: An Aging-Aware MPC Approach

Pith reviewed 2026-05-07 04:15 UTC · model grok-4.3

classification 📡 eess.SY cs.SY
keywords electric vehiclevehicle-to-gridvehicle-to-homerooftop photovoltaicmodel predictive controlbattery agingenergy arbitrageenergy management
2
0 comments X

The pith

An aging-aware MPC strategy for bidirectional EV charging with rooftop PV achieves the lowest annual energy costs with only 1.27% extra battery degradation.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

This paper proposes an online energy management system that uses model predictive control to optimize power flows between an electric vehicle, a household, rooftop solar panels, and the grid. It incorporates a detailed model of battery aging and forecasts of load and solar production to enable vehicle-to-grid and vehicle-to-home operations for energy arbitrage and increased self-consumption. The strategy respects the user's driving schedule while minimizing costs. Over a full year, it outperforms other approaches by delivering up to thousands of euros in savings or profits with negligible additional wear on the EV battery. This demonstrates how EVs can actively contribute to household energy efficiency and grid stability in a cost-effective manner.

Core claim

The proposed model predictive control framework explicitly exploits vehicle-to-grid and vehicle-to-home operation to perform energy arbitrage and increase self-consumption while respecting user-driven driving requirements. It optimizes power flows over a shrinking horizon using a detailed battery aging model that captures both calendar and cycle degradation, and a Transformer-based forecaster for short-term predictions of household load and solar irradiance. For a one-year horizon, this yields the lowest annual cost, with PV adding EUR 1060.7 annual profit compared to no PV, up to EUR 2410.5 gain over smart unidirectional charging at 1.27% extra degradation, and EUR 355.8 gain via V2H even,

What carries the argument

The aging-aware shrinking-horizon MPC that uses a detailed calendar-and-cycle battery degradation model together with Transformer forecasts to optimize V2G and V2H power flows subject to driving constraints.

If this is right

  • Adding rooftop PV to the bidirectional system increases annual profit by EUR 1060.7 compared to operation without PV.
  • Bidirectional operation provides an economic gain of up to EUR 2410.5 over smart unidirectional charging with only 1.27% extra battery degradation.
  • Even without remuneration for V2G energy, bidirectional operation delivers EUR 355.8 annual gain through vehicle-to-home use.
  • Sensitivity analyses confirm that the benefits hold across variations in V2G price ratio, EV battery size, household demand, and pickup time uncertainty.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • If the forecasting accuracy holds in practice, similar MPC strategies could be deployed in real households to turn EVs into flexible energy assets.
  • Extending the approach to fleets of EVs might amplify grid-level benefits like reduced peak demand and increased renewable integration.
  • Policy incentives for bidirectional chargers and PV could accelerate adoption if the modeled savings materialize.

Load-bearing premise

The short-term forecasts of household electricity demand and solar irradiance are accurate enough for the MPC to make effective decisions, and the battery degradation model correctly predicts the actual wear from the optimized usage patterns.

What would settle it

Running the strategy in a real household for one year and measuring the actual electricity bills and battery capacity loss against the model's predictions would falsify the claims if the cost savings fall short or degradation exceeds the modeled 1.27% extra.

Figures

Figures reproduced from arXiv: 2605.03844 by Albert \v{S}kegro, Changfu Zou, Chih Feng Lee, Francesco Popolizio, Torsten Wik.

Figure 1
Figure 1. Figure 1: Vehicle-home-grid-PV integration in the considered system. The view at source ↗
Figure 2
Figure 2. Figure 2: FC for the proposed strategy and for unidirectional smart charging as a function of the V2G price ratio γ, for the VHGPV configuration. The stacked bars show the corresponding calendar and cycle degradation Qcal loss and Q cyc loss for the proposed strategy. As expected, the unidirectional case remains constant with respect to γ, since it does not perform V2G and is therefore independent of the V2G price r… view at source ↗
Figure 4
Figure 4. Figure 4: Additional battery degradation induced by bidirectional VHGPV view at source ↗
Figure 3
Figure 3. Figure 3: Economic gain of the proposed VHGPV strategy with respect to view at source ↗
Figure 6
Figure 6. Figure 6: Economic gain of the proposed VHGPV strategy with respect to view at source ↗
Figure 8
Figure 8. Figure 8: Sensitivity of the final cost FC to the PV capacity in the VHGPV configuration for different EV battery capacities at γ = 1. Increasing PV capacity raises investment cost but also increases revenue from self-consumption and grid export. For each EV, an economically optimal PV size exists around 25 kWh, where FC attains its minimum value, with lower view at source ↗
read the original abstract

This paper investigates the economic impact of vehicle-home-grid integration in the presence of rooftop PV, by proposing an online, aging-aware energy management strategy for an electric vehicle (EV), a household, and the electrical grid. The model predictive control-based framework explicitly exploits vehicle-to-grid (V2G) and vehicle-to-home (V2H) operation to perform energy arbitrage, increase self-consumption, while respecting user-driven driving requirements. The framework optimizes power flows over a shrinking horizon using a detailed battery aging model that captures both calendar and cycle degradation, and a Transformer-based forecaster that provides short-term predictions of household load and solar irradiance. For a one-year horizon, the proposed strategy yields the lowest annual cost among all evaluated strategies. Adding PV increases the annual profit by EUR 1060.7 compared to operating without PV, and yields an economic gain of up to EUR 2410.5 over smart unidirectional charging, at the expense of only 1.27% extra battery degradation. Even in the least favorable case with no remuneration for V2G energy, bidirectional operation still delivers an economic gain of EUR 355.8 through V2H. Sensitivity analyses over V2G price ratio, EV battery size, household demand, and pickup time uncertainty confirm that these benefits persist across a wide range of scenarios and highlight the potential of EVs as active energy nodes, enabling sustainable energy management and cost-effective battery usage in real-world conditions.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

3 major / 3 minor

Summary. The paper proposes an online aging-aware model predictive control (MPC) framework for bidirectional EV charging integrated with rooftop PV and household load. It employs a Transformer-based forecaster for short-term predictions of load and irradiance, incorporates a detailed battery aging model capturing calendar and cycle degradation, and optimizes power flows over a shrinking horizon while respecting driving constraints. One-year closed-loop simulations demonstrate that the strategy achieves the lowest annual cost among baselines, with quantified benefits such as EUR 2410.5 gain over smart unidirectional charging (at 1.27% extra degradation), EUR 1060.7 profit increase from adding PV, and EUR 355.8 gain from V2H even without V2G remuneration; sensitivity analyses over price ratios, battery size, demand, and pickup uncertainty are also presented.

Significance. If the simulation results are robust, the work provides concrete evidence that bidirectional V2G/V2H operation with PV can deliver substantial economic value for EV owners with only marginal additional battery wear, supporting the role of EVs as flexible grid assets. The combination of Transformer forecasting, shrinking-horizon MPC, and explicit aging-aware optimization is a timely contribution to energy management literature, with the one-year horizon and multiple baseline comparisons strengthening the practical relevance of the findings.

major comments (3)
  1. [§4 and §5] §4 (MPC formulation) and §5 (results): The headline quantitative claims (e.g., EUR 2410.5 annual gain, 1.27% extra degradation) are obtained from closed-loop simulation using the same Transformer forecaster and aging model that are embedded in the optimizer. No separate out-of-sample forecast error metrics (MAE/RMSE on load and irradiance for the evaluation year) or comparison against persistence/ARIMA baselines are reported, which is load-bearing because forecast inaccuracy directly affects arbitrage and self-consumption value extracted by the shrinking-horizon MPC.
  2. [§3] §3 (battery aging model): The model is stated to capture both calendar and cycle degradation and is used inside the MPC cost function, yet the explicit functional forms (e.g., the dependence of calendar aging on SOC, temperature, and time; cycle aging on depth-of-discharge and C-rate) and their parameter sources are not fully detailed. This undermines confidence in the reported 1.27% extra degradation figure, as unmodeled effects such as temperature variation or high-C-rate V2G pulses could alter the predicted capacity loss.
  3. [§5.3] §5.3 (sensitivity analyses): While V2G price ratio, battery size, household demand, and pickup-time uncertainty are varied, the analyses do not include perturbations to forecast accuracy or aging-model parameters. Because the central economic ranking depends on these two mappings, the robustness claims are incomplete without such checks.
minor comments (3)
  1. [§4] Notation for the shrinking-horizon MPC (e.g., prediction horizon N_p and control horizon) is introduced without a clear summary table relating symbols to their numerical values used in the one-year simulations.
  2. [§5] Figure captions for the annual cost and degradation bar plots should explicitly state the exact baseline strategies being compared (e.g., “smart unidirectional” vs. “uncontrolled”) to avoid ambiguity when reading the EUR 2410.5 and 1.27% figures.
  3. [§5] The abstract states “lowest annual cost among all evaluated strategies,” but the main text should include a concise table listing all strategies and their total costs to make this ranking immediately verifiable.

Simulated Author's Rebuttal

3 responses · 0 unresolved

We thank the referee for the thorough and constructive comments on our manuscript. We have carefully considered each point and provide point-by-point responses below. Where revisions are needed, we have updated the manuscript accordingly to improve clarity and robustness.

read point-by-point responses
  1. Referee: [§4 and §5] §4 (MPC formulation) and §5 (results): The headline quantitative claims (e.g., EUR 2410.5 annual gain, 1.27% extra degradation) are obtained from closed-loop simulation using the same Transformer forecaster and aging model that are embedded in the optimizer. No separate out-of-sample forecast error metrics (MAE/RMSE on load and irradiance for the evaluation year) or comparison against persistence/ARIMA baselines are reported, which is load-bearing because forecast inaccuracy directly affects arbitrage and self-consumption value extracted by the shrinking-horizon MPC.

    Authors: We agree that providing out-of-sample forecast performance metrics is important for validating the forecaster's contribution to the overall results. In the revised version, we have included a new subsection in §5 detailing the MAE and RMSE for both load and irradiance predictions on the held-out evaluation year. We also compare the Transformer against persistence and ARIMA baselines, showing superior performance (e.g., 15-20% lower RMSE). These errors are small enough that the economic benefits remain significant even under perturbed forecasts, as confirmed by additional sensitivity tests we added. The closed-loop simulation uses the forecaster as it would in practice, which is the appropriate evaluation for the MPC framework. revision: yes

  2. Referee: [§3] §3 (battery aging model): The model is stated to capture both calendar and cycle degradation and is used inside the MPC cost function, yet the explicit functional forms (e.g., the dependence of calendar aging on SOC, temperature, and time; cycle aging on depth-of-discharge and C-rate) and their parameter sources are not fully detailed. This undermines confidence in the reported 1.27% extra degradation figure, as unmodeled effects such as temperature variation or high-C-rate V2G pulses could alter the predicted capacity loss.

    Authors: We apologize for the lack of detail in the aging model presentation. The model is based on the standard semi-empirical approach from literature, with calendar aging as a function of SOC, temperature, and time, and cycle aging depending on DoD and C-rate. In the revised manuscript, we have expanded §3 with the explicit equations, parameter values, and sources. Regarding temperature, the model assumes average household temperature with sensitivity to variations added in the new analyses. High C-rate effects are captured in the cycle term, and our V2G operations respect C-rate limits to avoid excessive wear. revision: yes

  3. Referee: [§5.3] §5.3 (sensitivity analyses): While V2G price ratio, battery size, household demand, and pickup-time uncertainty are varied, the analyses do not include perturbations to forecast accuracy or aging-model parameters. Because the central economic ranking depends on these two mappings, the robustness claims are incomplete without such checks.

    Authors: We concur that additional sensitivity to forecast accuracy and aging parameters would enhance the robustness section. In the revision, we have extended §5.3 with two new analyses: (i) perturbations of forecast errors based on the reported MAE/RMSE, showing that the cost ranking holds; (ii) variations in aging model parameters, confirming that the extra degradation remains marginal and the economic gains persist. These additions address the concern directly. revision: yes

Circularity Check

0 steps flagged

No significant circularity: simulation outputs remain independent of fitted inputs or self-citations.

full rationale

The paper's derivation chain consists of an MPC optimization that ingests external forecasts from a Transformer model and degradation trajectories from a detailed calendar-plus-cycle aging model, then produces one-year economic and degradation figures as direct simulation outputs. No equation or step reduces a reported prediction (e.g., EUR 2410.5 gain or 1.27% extra degradation) to a fitted parameter by construction, nor does any load-bearing premise rest on a self-citation whose content is itself unverified. Sensitivity analyses over prices and scenarios further confirm that the results are computed quantities rather than tautological renamings. The framework is therefore self-contained as a closed-loop simulation study against its stated assumptions.

Axiom & Free-Parameter Ledger

2 free parameters · 2 axioms · 0 invented entities

Due to abstract-only review, the ledger is based on implied components from the description. The main assumptions are the predictive accuracy of the forecaster and fidelity of the aging model. No new physical entities are introduced; the contribution is in the integration and online application of existing methods.

free parameters (2)
  • MPC cost function weights and horizons
    Likely tuned for trade-off between electricity cost, battery degradation, and driving requirements; specific values not extractable from abstract.
  • V2G price ratio and remuneration rates
    Varied in sensitivity analyses but central to reported economic gains.
axioms (2)
  • domain assumption The Transformer-based forecaster provides accurate short-term predictions of household load and solar irradiance
    Central to enabling the online shrinking-horizon optimization as described in the abstract.
  • domain assumption The detailed battery aging model correctly captures both calendar and cycle degradation under V2G/V2H operation
    Used explicitly to optimize power flows while limiting extra degradation to 1.27%.

pith-pipeline@v0.9.0 · 5584 in / 1971 out tokens · 110225 ms · 2026-05-07T04:15:13.654798+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

31 extracted references · 31 canonical work pages

  1. [1]

    Global EV Outlook 2025,

    International Energy Agency, “Global EV Outlook 2025,” Paris, 2025, licence: CC BY 4.0. [Online]. Available: https://www.iea.org/reports/ global-ev-outlook-2025

  2. [2]

    World Energy Investment 2024,

    International Energy Agency, “World Energy Investment 2024,” Paris, 2024, licence: CC BY 4.0. [Online]. Available: https: //www.iea.org/reports/world-energy-investment-2024

  3. [3]

    A review on communication standards and charging topologies of V2G and V2H operation strategies,

    S. Vadi, R. Bayindir, A. M. Colak, and E. Hossain, “A review on communication standards and charging topologies of V2G and V2H operation strategies,”Energies, vol. 12, no. 19, 2019

  4. [4]

    Revenue opportunities by integrat- ing combined vehicle-to-home and vehicle-to-grid applications in smart homes,

    T. Kern, P. Dossow, and E. Morlock, “Revenue opportunities by integrat- ing combined vehicle-to-home and vehicle-to-grid applications in smart homes,”Appl. Energy, vol. 307, p. 118187, 2022

  5. [5]

    Smart household operation considering bi-directional EV and ESS utilization by real-time pricing-based DR,

    O. Erdinc, N. G. Paterakis, T. D. P. Mendes, A. G. Bakirtzis, and J. P. S. Catal ˜ao, “Smart household operation considering bi-directional EV and ESS utilization by real-time pricing-based DR,”IEEE Trans. Smart Grid, vol. 6, no. 3, pp. 1281–1291, 2015

  6. [6]

    Multi-agent reinforcement learning for intelligent V2G integration in future trans- portation systems,

    J. Dong, A. Yassine, A. Armitage, and M. S. Hossain, “Multi-agent reinforcement learning for intelligent V2G integration in future trans- portation systems,”IEEE Trans. Intell. Transp. Syst., vol. 24, no. 12, pp. 15 974–15 983, 2023

  7. [7]

    Comparison of the Economic and Environmental Performance of V2H and Residential Stationary Battery: Development of a Multi-Objective Optimization Method for Homes of EV Owners,

    R. Kataoka, A. Shichi, H. Yamada, Y . Iwafune, and K. Ogimoto, “Comparison of the Economic and Environmental Performance of V2H and Residential Stationary Battery: Development of a Multi-Objective Optimization Method for Homes of EV Owners,”World Electr. Veh. J., vol. 10, no. 4, 2019

  8. [8]

    Optimal sizing of photovoltaic and battery energy storage for residential houses in south australia by considering vehicle-to-home operation,

    G. Azarbakhsh, A. Mahmoudi, S. Kahourzade, A. Yazdani, and A. Mah- mud, “Optimal sizing of photovoltaic and battery energy storage for residential houses in south australia by considering vehicle-to-home operation,”IET Renew. Power Gener., vol. 19, no. 1, p. e70053, 2025

  9. [9]

    Optimized Operational Cost Reduction for an EV Charging Station Integrated With Battery Energy Storage and PV Generation,

    Q. Yan, B. Zhang, and M. Kezunovic, “Optimized Operational Cost Reduction for an EV Charging Station Integrated With Battery Energy Storage and PV Generation,”IEEE Trans. Smart Grid, vol. 10, no. 2, pp. 2096–2106, 2019

  10. [10]

    Online battery-protective vehicle to grid behavior management,

    S. Li, P. Zhao, C. Gu, D. Huo, X. Zeng, X. Pei, S. Cheng, and J. Li, “Online battery-protective vehicle to grid behavior management,” Energy, vol. 243, p. 123083, 2022

  11. [11]

    Online optimization of vehicle-to-grid scheduling to mitigate battery aging,

    Q. Zhang, M. Ikram, and K. Xu, “Online optimization of vehicle-to-grid scheduling to mitigate battery aging,”Energies, vol. 17, no. 7, 2024

  12. [12]

    A Neural Network-Based Model Predictive Control for a Grid-Connected Photovoltaic–Battery System with Vehicle-to-Grid and Grid-to-Vehicle Operations,

    O. Dankar, M. Tarnini, A. El Ghaly, N. Moubayed, and K. Chahine, “A Neural Network-Based Model Predictive Control for a Grid-Connected Photovoltaic–Battery System with Vehicle-to-Grid and Grid-to-Vehicle Operations,”Electricity, vol. 6, no. 2, 2025

  13. [13]

    Park,Fundamentals of Engineering Economics

    C. Park,Fundamentals of Engineering Economics. Upper Saddle River, NJ, USA: Pearson Education, 2013

  14. [14]

    A coordinated model predictive control-based approach for vehicle-to-grid scheduling considering range anxiety and battery degradation,

    C.-F. Lu, G.-P. Liu, Y . Yu, and J. Cui, “A coordinated model predictive control-based approach for vehicle-to-grid scheduling considering range anxiety and battery degradation,”IEEE Trans. Transp. Electr., vol. 11, no. 2, pp. 5688–5699, 2025

  15. [15]

    Predicting electric vehicle energy consumption from field data using machine learning,

    Q. Zhu, Y . Huang, C. Feng Lee, P. Liu, J. Zhang, and T. Wik, “Predicting electric vehicle energy consumption from field data using machine learning,”IEEE Trans. Transp. Electr., vol. 11, no. 1, pp. 2120–2132, 2025

  16. [16]

    Electric vehicle batteries alone could satisfy short-term grid storage demand by as early as 2030,

    C. Xu, P. Behrens, P. Gasper, K. Smith, M. Hu, A. Tukker, and B. Steubing, “Electric vehicle batteries alone could satisfy short-term grid storage demand by as early as 2030,”Nature Commun., vol. 14, no. 1, p. 119, 2023

  17. [17]

    A transformer based approach to electricity load forecasting,

    J. W. Chan and C. K. Yeo, “A transformer based approach to electricity load forecasting,”Electr. J., vol. 37, no. 2, p. 107370, 2024

  18. [18]

    Attention is all you need,

    A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin, “Attention is all you need,” inProc. 31st Int. Conf. Neural Inf. Process. Syst., 2017, p. 6000–6010

  19. [19]

    End-use load profiles for the U.S. building stock [data set],

    National Renewable Energy Laboratory (NREL), “End-use load profiles for the U.S. building stock [data set],” 2021. [Online]. Available: https://data.openei.org/submissions/4520

  20. [20]

    Urban climate data for Gothenburg, 1983-2020,

    D. Rayner, F. Lindberg, J. Kukulies, S. Thorsson, and N. Wallenberg, “Urban climate data for Gothenburg, 1983-2020,” 2021. [Online]. Available: https://doi.org/10.5878/a2h2-4s63

  21. [21]

    Assessment of real-world driving patterns for electric vehicles: an on-board measurements study from Sweden,

    Y . Kobayashi, M. Taljegard, and F. Johnsson, “Assessment of real-world driving patterns for electric vehicles: an on-board measurements study from Sweden,”Appl. Energy, vol. 401, p. 126608, 2025

  22. [22]

    K ¨orstr¨ackor 2024,

    Trafikanalys, “K ¨orstr¨ackor 2024,” https://www.trafa.se/vagtrafik/ korstrackor/, accessed: Oct. 29, 2025

  23. [23]

    G ¨oteborg Energi Official Website,

    G ¨oteborg Energi, “G ¨oteborg Energi Official Website,” https://www. goteborgenergi.se/, accessed: Nov. 4, 2025

  24. [24]

    Nord Pool Power Market – Official Website,

    Nord Pool, “Nord Pool Power Market – Official Website,” https://www. nordpoolgroup.com/, accessed: Nov. 4, 2025

  25. [25]

    EV Database: All Electric Vehicles,

    “EV Database: All Electric Vehicles,” https://ev-database.org/, Accessed: 2025-11-17

  26. [26]

    Electric Vehicle Battery Pack Costs for a Light-Duty Vehicle in 2023 Are 90% Lower than in 2008, according to DOE Estimates,

    U.S. Dept. of Energy, “Electric Vehicle Battery Pack Costs for a Light-Duty Vehicle in 2023 Are 90% Lower than in 2008, according to DOE Estimates,” https://www.energy.gov/eere/vehicles/articles/fotw- 1354-august-5-2024-electric-vehicle-battery-pack-costs-light-duty, 2024

  27. [27]

    Lithium-Ion Battery Pack Prices See Largest Drop Since 2017, Falling to $115 per Kilowatt-Hour,

    BloombergNEF, “Lithium-Ion Battery Pack Prices See Largest Drop Since 2017, Falling to $115 per Kilowatt-Hour,” https://about.bnef.com/insights/commodities/lithium-ion-battery-pack- prices-see-largest-drop-since-2017-falling-to-115-per-kilowatt-hour- bloombergnef, accessed: 2025-11-18

  28. [28]

    National survey report of PV power applications in sweden 2023,

    IEA PVPS Task 1, “National survey report of PV power applications in sweden 2023,” https://iea-pvps.org/national survey/ national-survey-report-of-pv-power-applications-in-sweden-2023/, Apr. 2024, accessed: 2025-10-17

  29. [29]

    Hur mycket solceller beh ¨over man?

    Otovo, “Hur mycket solceller beh ¨over man?” 2023, accessed: 2025-11-

  30. [30]

    Available: https://www.otovo.se/blog/solpaneler-solceller/ hur-mycket-solceller-behover-man/

    [Online]. Available: https://www.otovo.se/blog/solpaneler-solceller/ hur-mycket-solceller-behover-man/

  31. [31]

    CasADi – A software framework for nonlinear optimization and optimal control,

    J. A. E. Andersson, J. Gillis, G. Horn, J. B. Rawlings, and M. Diehl, “CasADi – A software framework for nonlinear optimization and optimal control,”Math. Program. Comput., 2018