V2G System Optimization for Photovoltaic and Wind Energy Utilization: Bilevel Programming with Dual Incentives of Real-Time Pricing and Carbon Quotas
Abstract
1. Introduction
- ♦
- Based on the dual-incentive mechanism of RTP and carbon quota, a bilevel programming model that makes full use of the bidirectional influence between PS and MGs is built;
- ♦
- Fully considering the charging and discharging characteristics and driving needs of EVs, the MG integrates PWE to maximize its benefits;
- ♦
- An RTP mechanism based on DR is established, which effectively arouses the enthusiasm of MGs to participate in the operation of the power grid;
- ♦
- Considering the non-convex factors in the model, a bilevel distributed genetic algorithm is designed to solve the bilevel programming problem, which not only protects the privacy of both the supply side and demand side but also improves the operation speed.
2. System Framework
3. EVs Connected to the Grid with Carbon Quotas
3.1. EVs’ Charging Requirements
3.2. Carbon Emissions from EV Charging
3.3. Carbon Quota for EVs
3.4. Utility and Cost Functions of EVs
4. Photovoltaic and Wind Energy
5. Bilevel Programming Problem
5.1. Upper-Level Programming Problem
5.2. Lower-Level Programming Problem
6. Distributed Real-Time Pricing Genetic Algorithm
| Algorithm 1: Genetic algorithm of MG i. | |
| Step 1: | Set the maximum number of evolutions for the lower-level program to T1 and the size of the initial solutions to n1, as the initial solutions. The individual gene length and the predefined maximum satisfaction are l1 and F1, respectively. The probability of gene crossover and mutation are denoted pm and um, respectively. The termination condition is , where is the number of iterations; |
| Step 2: | The MG receives the electricity price provided by the PS then calculates its corresponding satisfaction value, which is defined as the objective function of (18), and each MG is evaluated according to it; |
| Step 3: | Selection, crossover, and mutational genetic manipulation produce new generations of MGs . The optimal MG is selected, and if the maximum satisfaction is achieved, the optimal solution of the lower-level planning is obtained. Otherwise, repeat the above steps until the maximum number of iterations T1 is reached or satisfaction exceeds the predetermined maximum F1. |
| Algorithm 2: Genetic algorithm for the whole grid. | |
| Step 1: | Set the maximum number of evolutions for the genetic algorithm to T2 and the number of initial solutions to n2, as the initial solutions. The individual gene length and maximum satisfaction are l2 and F2, respectively. The probability of gene crossover and mutation are denoted pm and um. The termination condition is . Here, the initial solution is the vector composed of the price of each time slot. Set the number of initial iterations to 1; |
| Step 2: | Send all the price vectors to each MG. Each MG employs the genetic algorithm to calculate its optimal power consumption strategy under different prices and transmits it on to the data center; |
| Step 3: | The data center calculates the upper-level optimization objective function and takes it as the satisfaction function. Compare the corresponding satisfaction of different MGs, and evaluate every one accordingly; |
| Step 4: | Selection, crossover, and mutational genetic manipulation produce new generations of prices . The optimal MG is selected, and if the maximum satisfaction is achieved, the optimal solution of the whole model is obtained. Otherwise, repeat the above steps until the maximum number of iterations T2 is reached or satisfaction exceeds the predetermined maximum F2. |
7. Numerical Simulation
8. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Nomenclature
| Nomenclature | Parameters | ||
| Abbreviations | power consumption of essential appliance (except EVs) of MG i in time slot k | ||
| RTP | real-time pricing | minimum and maximum power consumption of essential appliance of MG i in time slot k | |
| PS | power supplier | power generation capacity of PS in time slot k | |
| EV | electric vehicle | minimum and maximum power generation of PS in time slot k | |
| MG | microgrid | amount of electricity stored by EV q | |
| V2G | vehicle-to-grid | charging, discharging, or idle capacity of EV q | |
| DR | demand response | target level to be met or exceeded | |
| PWE | photovoltaic and wind energy | carbon quota obtained by the EV q in MG i during time slot k | |
| Sets and indices | active output of thermal power units | ||
| set of microgrid | PWE sources’ output | ||
| set of time slots | photovoltaic power output | ||
| set of electric vehicles of MG i | output of wind energy | ||
| i | index for MG | carbon emissions of EV q in time slot k | |
| k | index for time slot | carbon emission reduction of EV q | |
| q | index for electric vehicle | electricity price in time slot k |
References
- Schumm, L.; Haas, J.; Peer, R.; Sterner, M. The role of hydrogen offtaker regulation in highly renewable electricity systems. Energy 2026, 342, 139513. [Google Scholar] [CrossRef]
- Dahash, A.; Bott, C.; Giordano, F.; Serageldin, A. Simulation-based planning for cost-effective and energy-efficient large-scale seasonal thermal energy storage systems. Renew. Energy 2026, 258, 124813. [Google Scholar] [CrossRef]
- Zeng, I.Y.; Du, C.; Xiong, J.; Gong, T.; Wu, T. Tax policy or carbon emission quota: A theory on traditional ICEV transportation regulation. Energy 2024, 289, 129848. [Google Scholar] [CrossRef]
- Thomas, B.; Costoya, X.; Decastro, M.; Iglesias, G.; Gómez-Gesteira, M. Forecasting offshore wind energy in Atlantic Europe using CMIP6 dynamically downscaled data. Energy 2026, 342, 139595. [Google Scholar] [CrossRef]
- Tran, H.G.; Ton-That, L.; Thao, N.G.M. Lagrange multiplier-based optimization for hybrid energy management system with renewable energy sources and electric vehicles. Electronics 2023, 12, 4513. [Google Scholar] [CrossRef]
- Liu, W.J.; Chiu, W.Y.; Hua, W.Q. Blockchain-enabled renewable energy certificate trading: A secure and privacy-preserving approach. Energy 2024, 290, 130110. [Google Scholar] [CrossRef]
- Giourka, P.; Petridis, S.; Seitaridis, A.; Angelakoglou, K.; Martinopoulos, G.; Kosmatopoulos, E.; Nikolopoulos, N. Operational smart charging and its environmental impacts: Evidence from three EU use cases with an innovative LCA tool, VERIFY-EV. Energies 2025, 18, 6215. [Google Scholar] [CrossRef]
- Sun, L.; Xie, C.; Zhang, G.; Ding, Y.; Gao, Y.; Liu, J. Dual-layer real-time scheduling strategy for electric vehicle charging and discharging in a microgrid park based on the “Dual electricity price reservation-surplus refund without additional charges mechanism”. Electronics 2025, 14, 249. [Google Scholar] [CrossRef]
- Ru, J.; Gillott, M.; Shipman, R. Vehicle-to-grid (V2G) research: A decade of progress, achievements, and future directions. Energies 2025, 18, 6148. [Google Scholar] [CrossRef]
- Wei, M.; Liu, Y.; Wang, H.; Yuan, S.; Hu, J. State of charge prediction for electric vehicles based on integrated model architecture. Mathematics 2025, 13, 2197. [Google Scholar] [CrossRef]
- Peng, Y.; Zhang, Y.; Yu, D.Z.; Liu, S.; Zhang, Y.; Shi, Y. Optimizing multi-depot mixed fleet vehicle-drone routing under a carbon trading mechanism. Mathematics 2024, 12, 4023. [Google Scholar] [CrossRef]
- Eti, S.; Yüksel, S.; Dinçer, H.; Kalkavan, H.; Hacioglu, U.; Mikhaylov, A.; Danish, M.S.S.; Pinter, G. Assessment of technical and financial challenges for renewable energy project alternatives. Clean. Eng. Technol. 2024, 18, 100719. [Google Scholar] [CrossRef]
- Wang, L.; Jiao, S.; Xie, Y.; Xia, S.; Zhang, D.; Zhang, Y.; Li, M. Two-way dynamic pricing mechanism of hydrogen filling stations in electric-hydrogen coupling system enhanced by blockchain. Energy 2022, 239, 122194. [Google Scholar] [CrossRef]
- Tao, L.; Gao, Y.; Cao, L.; Zhu, H. Distributed real-time pricing for smart grid considering sparse constraints and integration of distributed energy and storage devices. COMPEL Int. J. Comput. Math. Electr. 2021, 40, 978–996. [Google Scholar] [CrossRef]
- Yu, Z.-X.; Li, M.-S.; Xu, Y.-P.; Aslam, S.; Li, Y.-K. Techno-economic planning and operation of the microgrid considering real-time pricing demand response program. Energies 2021, 14, 14154597. [Google Scholar] [CrossRef]
- Cong, L.; Jørgensen, B.N.; Ma, Z.G. Integrated multi-timescale battery dispatch and overload mitigation: An agent-based optimization framework for high EV penetration in danish distribution networks. Electronics 2025, 14, 1612. [Google Scholar] [CrossRef]
- Zhu, H.B.; Liu, C.P.; Feng, X.; Liu, S.T.; Wang, Z.Y. Real-time demand response and energy scheduling with power storage devices. Chin. J. Manag. Sci. 2021, 29, 102–110. Available online: https://www.sciengine.com/doi/pdf/9303598A123944FC8477C91643879DB6 (accessed on 27 September 2021).
- Borja-Jaimes, V.; Valdez-Martínez, J.S.; Beltrán-Escobar, M.; Cruz-Rojas, A.; Gil-Velasco, A.; Coronel-Escamilla, A. A review of fractional order calculus applications in electric vehicle energy storage and management systems. Mathematics 2025, 13, 2920. [Google Scholar] [CrossRef]
- Erdinc, O.; Paterakis, N.G.; Mendes, T.D.P.; Bakirtzis, A.G.; Catalao, J.P.S. Smart household operation considering bi-directional EV and ESS utilization by real-time pricing based DR. IEEE Trans. Smart Grid 2015, 6, 1281–1291. [Google Scholar] [CrossRef]
- Rahbari-Asr, N.; Chow, M.-Y.; Chen, J.; Deng, R. Distributed real-time pricing control for large-scale unidirectional V2G with multiple energy suppliers. IEEE Trans. Ind. Inform. 2017, 12, 1953–1962. [Google Scholar] [CrossRef]
- Zheng, C.; Huang, W.; Zhai, S.; Pan, K.; He, X.; Liu, X.; Su, S.; Shen, C.; Ai, Q. Blockchain-enabled cross-chain coordinated trading strategy for electricity-carbon-green certificate in virtual power plants: Multi-market coupling and low-carbon operation optimization. Energies 2025, 18, 3443. [Google Scholar] [CrossRef]
- Tian, N.; Shao, B.; Zeng, H.; Zhao, X.; Zhao, W. Low-carbon economic operation of natural gas demand side integrating dynamic pricing signals and user behavior modeling. Entropy 2025, 27, 1120. [Google Scholar] [CrossRef]
- Meng, W.; Yang, Z.; Yu, J.; Lin, X.; Yu, M.; Zhu, Y. Multi-market coupling mechanism of offshore wind power with energy storage participating in electricity, carbon, and green certificates. Energies 2025, 18, 4086. [Google Scholar] [CrossRef]
- Ma, J.; Dong, W.; Shen, B.; Zhang, J. Two-stage energy dispatch for microgrids based on CVar-dynamic cooperative game theory considering EV dispatch potential and travel risks. Energies 2025, 18, 6105. [Google Scholar] [CrossRef]
- Luo, Y.; Gao, Y. Real-time pricing strategy considering carbon emissions and time coupling in smart grid: A binary integer bilevel optimization model with decision-making. Eng. Appl. Artif. Intell. 2025, 141, 109858. [Google Scholar] [CrossRef]
- He, Y.; Gu, C.; Gao, Y. Bi-level day-ahead and real-time hybrid pricing model and its reinforcement learning method. Energy 2025, 322, 135316. [Google Scholar] [CrossRef]
- Asgher, U.; Rasheed, M.B.; Al-Sumaiti, A.S.; Ur-Rahman, A.; Ali, I.; Alzaidi, A.; Alamri, A. Smart energy optimization using heuristic algorithm in smart grid with integration of solar energy sources. Energies 2018, 11, 3494. [Google Scholar] [CrossRef]
- Li, Y.; Yang, Z.; Li, G.; Mu, Y.; Zhao, D.; Chen, C.; Shen, B. Optimal scheduling of isolated microgrid with an electric vehicle battery swapping station in multistakeholder scenarios: A bi-level programming approach via real-time pricing. Appl. Energy 2018, 232, 54–68. [Google Scholar] [CrossRef]
- Grimm, V.; Orlinskaya, G.; Schewe, L.; Schmidt, M.; Zöttl, G. Optimal design of retailer-prosumer electricity tariffs using bilevel optimization. Omega 2020, 102, 102327. [Google Scholar] [CrossRef]
- Chiu, T.-C.; Shih, Y.-Y.; Pang, A.-C.; Pai, C.-W. Optimized day-ahead pricing with renewable energy demand-side management for smart grids. IEEE Internet Things J. 2016, 4, 374–383. [Google Scholar] [CrossRef]










| References | RTP | Welfare | EV | Charging and Discharging of EVs | Carbon Quotas | Multi-Time Slots | DR | PWE |
|---|---|---|---|---|---|---|---|---|
| [13] | - | ● | - | - | - | ● | ● | ● |
| [14] | ● | ● | - | - | - | ● | ● | ● |
| [15] | ● | ● | - | - | ● | ● | ● | ● |
| [16] | - | ● | ● | ● | - | ● | ● | - |
| [17] | ● | ● | ● | ● | - | ● | ● | ● |
| [18] | - | - | ● | ● | - | ● | ● | - |
| [19] | ● | ● | ● | ● | - | ● | ● | - |
| [20] | ● | ● | ● | ● | - | ● | ● | - |
| [21] | - | ● | - | - | ● | ● | ● | ● |
| [22] | ● | ● | - | - | ● | ● | ● | - |
| [23] | - | ● | - | - | ● | ● | ● | ● |
| [24] | - | - | ● | - | - | ● | ● | ● |
| [25] | ● | ● | - | - | - | ● | ● | ● |
| [26] | ● | ● | - | - | ● | ● | ● | ● |
| This article | ● | ● | ● | ● | ● | ● | ● | ● |
| MG | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 0.01 | 0 | 30 | 0.093 | 65 | 25 | 40 | 3 | 25 | 20 | 14 | 5 |
| 2 | 0.01 | 0 | 20 | 0.095 | 65 | 25 | 35 | 3 | 25 | 20 | 14 | 5 |
| 3 | 0.01 | 0 | 10 | 0.093 | 65 | 25 | 30 | 3 | 25 | 20 | 14 | 5 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Cui, J.; Feng, X.; Zhu, H.; Wang, Z. V2G System Optimization for Photovoltaic and Wind Energy Utilization: Bilevel Programming with Dual Incentives of Real-Time Pricing and Carbon Quotas. Mathematics 2026, 14, 114. https://doi.org/10.3390/math14010114
Cui J, Feng X, Zhu H, Wang Z. V2G System Optimization for Photovoltaic and Wind Energy Utilization: Bilevel Programming with Dual Incentives of Real-Time Pricing and Carbon Quotas. Mathematics. 2026; 14(1):114. https://doi.org/10.3390/math14010114
Chicago/Turabian StyleCui, Junfeng, Xue Feng, Hongbo Zhu, and Zongyao Wang. 2026. "V2G System Optimization for Photovoltaic and Wind Energy Utilization: Bilevel Programming with Dual Incentives of Real-Time Pricing and Carbon Quotas" Mathematics 14, no. 1: 114. https://doi.org/10.3390/math14010114
APA StyleCui, J., Feng, X., Zhu, H., & Wang, Z. (2026). V2G System Optimization for Photovoltaic and Wind Energy Utilization: Bilevel Programming with Dual Incentives of Real-Time Pricing and Carbon Quotas. Mathematics, 14(1), 114. https://doi.org/10.3390/math14010114

