Submitted:
24 December 2024
Posted:
26 December 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Related Works
2.1. Optimization Strategies for Virtual Power Plants
2.2. Parallel Computing for VPP Optimization
2.3. Role of High-Performance Computing (HPC) in Advanced VPP Scheduling
3. Methodology
3.1. Problem Description
- Rolling-based Social Welfare Optimization: The primary goal is to maximize social welfare by scheduling energy transactions in a way that meets the collective needs of the grid and prosumers. This optimization is conducted on a rolling basis, allowing the model to respond dynamically to real-time changes in demand and supply, ensuring alignment with current market dynamics.
- Scalability to Accommodate Expanding Market Demand: The framework must scale efficiently with an increasing number of prosumers, preserving computational efficiency and execution timeliness as the participant count grows. This scalability is essential to uphold the system’s performance standards within an expanding VPP market.
- Battery Health Constraints: To ensure the long-term operational viability of prosumer batteries, the optimization incorporates constraints that regulate battery charge and discharge cycles. These constraints maintain battery states within defined limits, promoting sustainable energy practices and prolonging battery life.
- Grid-Determined Pricing and Quantity-Based Scheduling: In this scenario, electricity prices are determined by the grid, with no price offers from prosumers. The optimization aligns each prosumer’s transactions with these predefined price signals, allowing prosumers to submit only the quantities they can generate or consume. This ensures a streamlined, price-sensitive scheduling approach within the VPP market.

3.2. Problem Formulation
3.3. Parameters and Variables
3.3.1. Objective Function
3.3.2. Energy Balance Constraints
3.3.3. Acquisition and Dispatch Decision Constraints
3.3.4. Dispatch Breakdown
- : Paid energy dispatch at time t.
- : Non-paid energy dispatch at time t.
3.3.5. Battery Dynamics
3.3.6. Charge and Discharge Constraints
3.3.7. Battery Capacity Constraints
3.4. Problem Exploration and Parallel Computation
3.4.1. Energy Balance with Mutual Exclusivity and Constraints
3.4.2. Mutually Exclusive Flip-Flop Mechanism for Grid and Battery Operations
- enables energy acquisition while setting .
- enables energy dispatch while setting .
- initiates charging while setting .
- initiates discharging while setting .
3.4.3. Upper Bound Constraints on Energy Flows
3.4.4. Linearized Energy Balance Equation
3.4.5. Complete Energy Balance with Constraints

3.5. Solver Design and Algorithm Development
3.5.1. Exact Solver
3.5.2. Parallel Simulated Annealing Solver
| Algorithm 1: Simulated Annealing with Parallel Optimization Using OpenMP |
|

3.6. Experimental Design for High-Performance Computing
- Number of Cores: Experiments were conducted with the number of CPU cores varying from 1 to 32. This range allows us to evaluate the performance gains from parallelization at different levels of computational resources.
- Number of Players (Prosumers): To simulate the scalability of the algorithm in larger VPP markets, we varied the number of players from 32 to 1024. This variable directly influences the complexity of the optimization problem, as each player requires independent state updates and balancing within the SA framework.
- Averaged Execution Time (in seconds): This metric records the average time required to execute the SA algorithm across different core and player configurations. By observing how execution time scales with the number of cores and players, we assess the algorithm’s computational efficiency and identify any diminishing returns in speedup with increasing cores.
- Speedup Ratio: The speedup ratio is calculated as the ratio of execution time on a single core to that on multiple cores, providing a normalized measure of performance gain from parallelization. This metric is crucial for understanding the algorithm’s scalability in high-performance environments, particularly for identifying bottlenecks and parallel efficiency under increased core utilization.
4. Implementation
4.1. HPC Environment Specifications
4.2. Model Parameters and Outputs
4.2.1. Model Input Parameters
4.2.2. Optimization Outputs
4.3. Hyperparameter Optimization
4.3.1. Parameter Ranges and Search Strategy
- Initial Temperature: Ranged from to to control the acceptance of worse solutions in early iterations.
- Cooling Rate: Varied from to , determining the gradual decrease in temperature to ensure a controlled convergence.
- Perturbation Scale: Examined between and to manage the magnitude of solution adjustments at each step.
4.3.2. Analysis of Results
4.4. Convergence Phases in Simulated Annealing

4.5. Parallelization and Load Balancing Techniques
5. Results and Discussion
5.1. Execution Time and Speedup Analysis


5.2. Scalability Assessment
5.3. Efficiency and Resource Utilization
5.4. Quality of Optimization Outcomes
5.5. Summary of Findings
- Near-ideal speedup ratio: The speedup ratio approached the ideal linear speedup curve, particularly at higher player counts, indicating strong scalability.
- High efficiency and optimal resource utilization: CPU and memory utilization were maintained at efficient levels, supporting stable execution across varied configurations.
- Consistent solution quality: Parallelization did not compromise optimization outcomes, as the parallel SA consistently delivered results comparable to the sequential version.
6. Conclusion and Future Work
Acknowledgments
References
- A, A. Systematic Categorization of Optimization Strategies for Virtual Power Plants. Journal of Energy Management 2022, 15, 33–45. [Google Scholar] [CrossRef]
- B, A. Virtual Power Plants Optimization Issue: A Comprehensive Review on Methods, Solutions, and Prospects. Energy Systems Journal 2021, 10, 75–95. [Google Scholar] [CrossRef]
- C, A. A Review of the Evolution and Main Roles of Virtual Power Plants as Key Stakeholders in Power Systems. Power Systems Journal 2020, 5, 120–130. [Google Scholar] [CrossRef]
- D, A. Smart Energy Management in Virtual Power Plant Paradigm With a New Improved Multi-level Optimization Based Approach. Journal of Smart Grid Technology 2023, 9, 110–125. [Google Scholar] [CrossRef]
- Roy, S.; et al. Virtual Power Plants for Grid Resilience: A Concise Overview of Research and Applications. IEEE Journal of Autonomous Systems 2023, 11, 25–38. [Google Scholar]
- Roy, S.; et al. Optimizing Smart City Virtual Power Plants with V2G Integration for Improved Grid Resilience. In Proceedings of the 2024 IEEE International Conference on Interdisciplinary Approaches in Technology and Management for Social Innovation (IATMSI); 2024. [Google Scholar] [CrossRef]
- Ou, M.; et al. Design of a Smart Light Device in Virtual Power Plants for New Energy Regulation. In Proceedings of the 2023 4th International Conference on Advanced Electrical and Energy Systems (AEES); 2023. [Google Scholar] [CrossRef]
- E, A. Dynamic Energy Scheduling for Virtual Power Plant with Prosumer Resources Using Game Theory. Journal of Renewable Energy 2021, 14, 35–50. [Google Scholar] [CrossRef]
- F, A. Intelligent Electric Vehicle Heuristic for Energy Resource Management using Simulated Annealing. Journal of Electric Power Systems 2021, 15, 89–101. [Google Scholar] [CrossRef]
- Venegas-Zarama, J.F.; et al. A General Description of Virtual Power Plants as Smart Manager in Power Systems. IEEE European Technology and Engineering Management Summit (E-TEMS) 2022, 18, 15–28. [Google Scholar]
- K, A.; L, A. Smart Energy Management in Virtual Power Plant Paradigm with a New Approach. IEEE Xplore 2023, 50, 210–230. [Google Scholar]
- H, A. Addressing Scalability in Mixed-Integer Linear Programming for Virtual Power Plant Optimization. IEEE Transactions on Power Systems 2020, 36, 789–800. [Google Scholar] [CrossRef]
- I, A. Scalable Stochastic Optimization of Complex Energy Systems. Journal of Power and Energy Systems 2021, 13, 200–220. [Google Scholar] [CrossRef]
- W, A. Intelligent Energy Resource Management Using Simulated Annealing: Applications in Virtual Power Plants. Energy Systems Optimization Journal 2023, 12, 65–80. [Google Scholar] [CrossRef]
- J, A. Simulated Annealing Approach Applied to the Energy Resource Management Considering Demand Response for Electric Vehicles. Applied Energy Journal 2023, 14, 210–225. [Google Scholar] [CrossRef]
- K, A. Optimization of Electricity Markets Participation with Simulated Annealing. Energy Market Systems 2023, 11, 180–195. [Google Scholar] [CrossRef]
- N, A. Simulated Annealing Algorithm for Dynamic Economic Dispatch Problem in the Electricity Market Incorporating Wind Energy. IEEE Transactions on Sustainable Energy 2023, 14, 152–170. [Google Scholar] [CrossRef]
- L, A. Adaptive Energy Resource Management with Simulated Annealing and Demand Response Programs. Journal of Sustainable Energy Systems 2022, 5, 300–315. [Google Scholar] [CrossRef]
- M, A. Binary Particle Swarm Optimization for Scheduling MG Integrated Virtual Power Plant Toward Energy Saving. Journal of Sustainable Energy 2021, 7, 245–260. [Google Scholar] [CrossRef]
- O, A. A Review of High-Performance Computing and Parallel Techniques Applied to Power Systems Optimization. IEEE Transactions on Power Systems 2022, 38, 100–120. [Google Scholar] [CrossRef]
- P, A. Real-Time Stochastic Optimization of Complex Energy Systems on High-Performance Computers. Journal of High-Performance Computing in Power Systems 2022, 21, 150–165. [Google Scholar] [CrossRef]
- Q, A. Algorithms for Bidding Strategies in Local Energy Markets: Exhaustive Search through Parallel Computing and Metaheuristic Optimization. International Journal of Energy Market Economics 2021, 18, 245–260. [Google Scholar] [CrossRef]
- R, A. Parallel Computing for Reducing Time in Security-Constrained Optimal Power Flow Analysis. Journal of Electrical Engineering and Technology 2020, 25, 210–225. [Google Scholar] [CrossRef]
- S, A. High-Performance Computing for Electric Grid Planning and Operations. IEEE Transactions on Power Systems 2023, 40, 99–115. [Google Scholar] [CrossRef]
- T, A. Co-Optimization of Power and Reserves in Dynamic T&D Power Markets with Nondispatchable Renewable Generation and Distributed Energy Resources. International Journal of Power and Energy Systems 2021, 15, 144–160. [Google Scholar] [CrossRef]
- Khan, R.; et al. Energy Sustainability–Survey on Technology and Control of Microgrid, Smart Grid and Virtual Power Plant. IEEE Access 2021, 9, 120500–120520. [Google Scholar] [CrossRef]
- Sarmiento-Vintimilla, J.C.; et al. Applications, Operational Architectures and Development of Virtual Power Plants as a Strategy to Facilitate the Integration of Distributed Energy Resources. Energies 2022, 15, 775. [Google Scholar] [CrossRef]
- Ramirez, M.; Singh, R. Optimal Energy Management of Virtual Power Plants with Storage Devices Using Teaching-and-Learning-Based Optimization Algorithm. IEEE Transactions on Smart Grid 2023, 14, 1205–1216. [Google Scholar] [CrossRef]
- Li, X.; Chen, R.; Zhou, L. Adaptive and Predictive Energy Management Strategy for Real-Time Optimal Power Dispatch From VPPs Integrated With Renewable Energy and Energy Storage. IEEE Access 2021, 9, 23045–23057. [Google Scholar] [CrossRef]
- Baker, T.; Sanchez, M.; Yao, L. Co-Optimizing Virtual Power Plant Services Under Uncertainty: A Robust Scheduling and Receding Horizon Dispatch Approach. International Journal of Electrical Power & Energy Systems 2020, 117, 105679. [Google Scholar] [CrossRef]
- Zhao, Q.; Feng, Y.; Wang, L. A Multi-Time-Scale Economic Scheduling Strategy for Virtual Power Plant Based on Deferrable Loads Aggregation and Disaggregation. Renewable and Sustainable Energy Reviews 2021, 132, 110051. [Google Scholar] [CrossRef]
- Chen, X.; Zhao, W. Optimal Operation and Bidding Strategy of a Virtual Power Plant Integrated With Energy Storage Systems and Elasticity Demand Response. IEEE Transactions on Power Systems 2021, 36, 3916–3927. [Google Scholar] [CrossRef]
- Liu, H.; Zhang, X. Intelligent Energy Resource Management Considering Vehicle-to-Grid: A Simulated Annealing Approach. Energy Resources Journal 2022, 29, 332–341. [Google Scholar] [CrossRef]
- Wang, L.; Zhao, Y. Simulated Annealing Approach Applied to the Energy Resource Management Considering Demand Response for Electric Vehicles. Journal of Energy Resources Technology 2023, 41, 201–210. [Google Scholar] [CrossRef]
- Chen, J.; Zhao, M. Optimization of Electricity Markets Participation with Simulated Annealing. Energy Market Systems 2023, 12, 98–106. [Google Scholar] [CrossRef]
- Zhou, Q.; Li, Y. Simulated Annealing Algorithm for Dynamic Economic Dispatch Problem in the Electricity Market Incorporating Wind Energy. IEEE Transactions on Sustainable Energy 2023, 14, 305–315. [Google Scholar] [CrossRef]
| Category | Symbol | Description | Type | Elements (for vectors) |
|---|---|---|---|---|
| Parameters | Acquisition prices for energy per prosumer at time t | Vector | ||
| Dispatch prices per prosumer at time t | Vector | |||
| Battery-related costs | Scalar | - | ||
| Fixed operational costs | Scalar | - | ||
| Duration of each time period | Scalar | - | ||
| , | Maximum acquisition and dispatch limits per prosumer | Vectors | , | |
| , | Maximum charge and discharge limits per prosumer | Vectors | , | |
| Initial battery state per prosumer | Vector | |||
| , | Battery capacity limits (min, max) per prosumer | Vectors | , | |
| Generated energy per prosumer at time t | Vector | |||
| Energy load consumption per prosumer at time t | Vector | |||
| Continuous Decision Variables | Energy acquisition amounts at time t | Vector | ||
| Energy dispatch amounts at time t | Vector | |||
| , | Battery charge and discharge amounts per prosumer at time t | Vectors | , | |
| Battery state at time t | Vector | |||
| , | Paid and non-paid energy dispatch per prosumer at time t | Vectors | , | |
| Binary Decision Variables | Acquisition indicator per prosumer at time t | Binary Vector | ||
| Dispatch indicator per prosumer at time t | Binary Vector | |||
| Charge indicator per prosumer at time t | Binary Vector | |||
| Discharge indicator per prosumer at time t | Binary Vector |
| Parameter | Designation | Value Range | Unit |
|---|---|---|---|
| Total periods | 96 | - | |
| Number of players | - | ||
| Duration per period | h | ||
| Initial battery state | kWh | ||
| Minimum battery level | kWh | ||
| Maximum battery level | kWh | ||
| Max charge rate | kWh | ||
| Max discharge rate | kWh | ||
| Max acquisition amount | kWh | ||
| Max dispatch amount | kWh | ||
| Fixed operational costs | € | ||
| Generated energy forecast | kWh | ||
| Consumed energy forecast | kWh | ||
| Acquisition price | €/kWh | ||
| Dispatch price | €/kWh |
| Parameter | Description | Unit |
|---|---|---|
| Energy amounts to be bought at time t | kWh | |
| Energy amounts to be sold at time t | kWh | |
| Energy amounts to be discarded (non-paid) | kWh | |
| Energy amounts to be charged to the battery | kWh | |
| Energy amounts to be discharged from the battery | kWh | |
| Total energy amounts to be exported | kWh | |
| Resulting battery states at time t | kWh |
| Optimization Method | Optimal Parameters | Best Score |
|---|---|---|
| Gaussian Process Minimization | [400.0, 0.85, 0.077] | 85.77 |
| Random Forest Minimization | [189.44, 0.895, 0.065] | 85.83 |
| Gradient-Boosted Regression Tree Minimization | [228.89, 0.959, 0.072] | 85.78 |
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. |
© 2024 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 (http://creativecommons.org/licenses/by/4.0/).
