Research on the Optimization Decision Method for Hydrogen Load Aggregators to Participate in Peak Shaving Market
Abstract
1. Introduction
2. The Mechanism of HLA’s Participation in the Peak Shaving Market
2.1. The Transaction Organization and Transaction Process of the Two-Stage Peak Shaving Market
2.2. HLA’s Strategy for Participating in the Peak Shaving Market
2.2.1. Peak Shaving Demand Forecasting Model
- (1)
- Long Short-Term Memory network principles [33]
- (2)
- Multi-scale feature fusion
- (3)
- Multi-head attention mechanism
- (4)
- Early Stop Strategy
- (5)
- CNN-LSTM time series prediction model
- (1)
- Enter historical data
- With a time resolution of 1 h, input the 30-day continuous peak shaving demand sequence;
- Each sample contains 24 h full cycle data to form a (days × 24)-dimensional feature matrix.
- (2)
- Data preprocessing
- Time series reconstruction;
- Data standardization;
- Dataset partitioning: Split the training set in an 8:2 ratio;
- Tensor transformation;
- Data loading: Build an iterative loader of batch size 4, with the training set randomly shuffled.
- (3)
- Model building
- Feature extraction layer;
- Time Series Modeling Layer: Multi-head Attention mechanism, LSTM units (Hidden layer 50 nodes, tanh gating);
- Cascading: CNN output dimensionally transformed input attention-LSTM module.
- (4)
- Model training
- Iterative optimization: Use a maximum training round of 200 epochs;
- Dynamic learning rate: Initial value 0.001;
- Early stop mechanism: Termination without improvement for 10 consecutive epochs of validation loss;
- Weight preservation: Always retain the model parameters corresponding to the best validation loss.
- (5)
- Demand forecasting
- Enter the latest 24 h standardized data;
- Forward propagation for predicted values;
- Reverse normalization processing;
- Output the demand forecast sequence for the next 24 h.
- (6)
- Result Analysis
2.2.2. HLA Declaration Strategy Mechanism
- Enter data:
- (1)
- Market environment data;
- (2)
- Electrolyzer peak shaving cost parameters and calculation.
- Dynamic quotation:
- 3.
- Hourly profit projections
- (1)
- Bidding analysis: First, rank the bids of other bidders in ascending order. Then calculate the cumulative capacity curve. Finally, look for the critical point of the demand gap.
- (2)
- Dynamic decision logic:
- When there is a remaining demand, first call dynamic_eps to calculate the quote offset. Then, generate the bid price: max (critical price −eps, cost price +0.1). Finally, the allocation takes the smaller value of the remaining demand versus the capacity limit.
- Generate a triplet of hourly allocation, profit, and quote.
- 4.
- Global optimization of allocation
- (1)
- Dynamic programming: By maintaining a state dictionary to record the maximum profit and distribution path at different capacities, the state space is expanded hour by hour, always retaining the optimal solution at each capacity point, and ultimately the state with the maximum total profit is selected as the optimal bidding scheme.
- (2)
- Remaining capacity allocation: First, collect the candidate list of unallocated time periods. Then, sort by capacity utilization. Finally, allocate the remaining capacity in sequence to the periods with the highest utilization rate.
- 5.
- Output the result.
2.3. Electrolytic Cell
2.3.1. Cost Analysis
2.3.2. Cost Model
- (1)
- Life wear cost
- (2)
- Cost of water consumption
- (3)
- Electricity cost
3. Two-Stage Peak Shaving Model
3.1. Peak Shaving Market Clearing Model
3.1.1. Objective Function
3.1.2. Constraints
- (1)
- Peak shaving capacity equality constraints
- (2)
- Unit operating equation constraints
- (3)
- Constraints related to thermal power units
- Operational constraints for thermal power units
- b.
- Climbing constraint for thermal power units
- c.
- Quotation constraints for thermal power units
- (4)
- Hla-related constraints
- Electrolyzer operation constraints
- b.
- Capacity constraints for hydrogen storage tanks
- c.
- Quotation constraints for HLA
- (5)
- Electrochemical energy storage constraints
- Charge and discharge power constraints
- b.
- Energy storage state constraints
- c.
- Quotation constraints for electrochemical energy storage:
- (6)
- Constraints related to pumped storage power stations
- a.
- Capacity constraints for pumped storage power stations:
- b.
- Pumping power constraints for pumped storage stations:
- c.
- Quotation constraints for pumped storage power stations:
3.2. HLA Capacity Allocation Model
3.2.1. Objective Function
3.2.2. Constraints
- (1)
- Peak shaving capacity equality constraints
- (2)
- Electrolyzer operating power constraints
- (3)
- Hydrogen storage tank capacity constraint
3.3. Two-Stage Liquidation Model
- (1)
- Input data: Input the 4-quota curves of 3 thermal power units on a typical day, the quota curve of the pumped storage power station, the quota curve of the electrochemical energy storage, the quota curve of the hydrogen load aggregator, and the relevant parameters for the hydrogen load peak shaving cost.
- (2)
- Marginal clearing algorithm:
- (a)
- Collect all valid quotations (filter out invalid segments where capacity/price is 0);
- (b)
- Sort by price in ascending order (preferentially select the low-cost units);
- (c)
- Accumulate capacity until the demand is met, and each thermal power unit is only allowed to win one segment per hour;
- (d)
- The price of the last quota that meets the demand is set as the marginal price;
- (e)
- Verify whether the total capacity matches the demand to prevent calculation errors.
- (3)
- Result display and output the winning results of the hydrogen load aggregator.
- (4)
- Capacity allocation algorithm:
- (a)
- Calculate the peak shaving cost, including the degradation cost of the electrolyzer (including three loss modes: operation, fluctuation, and start-stop), power cost, and water consumption cost;
- (b)
- Pre-calculate the marginal cost of all hydrogen loads for all hours;
- (c)
- Greedy allocation: select the load with the lowest marginal cost for priority allocation per hour;
- (d)
- Constraint verification: verify whether the allocation meets the maximum power limit and hydrogen storage capacity limit;
- (e)
- Output the allocation result.
- (5)
- Output all results: clearing results of the peak shaving auxiliary service market, internal capacity allocation results of the hydrogen load aggregator.
4. Case Analysis
4.1. Verification and Comparison of Predictions
4.2. Case Analysis of HLA’s Participation in Peak Shaving Market Before and After
4.2.1. Before HLA Participation
4.2.2. After HLA Participation
4.2.3. Analysis of HLA Internal Capacity Allocation Results
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
HLA | Hydrogen Load Aggregator |
CNM-LSTM | Convolutional Neural Networks–Long Short-Term Memory |
PBDR | Price-Based Demand Response |
DPR | Deep Peak Regulating |
References
- Zhao, G.; Qian, G.; Wang, S.; Ding, Q.; Zhu, H. Analysis on green and low-carbon development path for power industry to realize carbon peak and carbon neutrality. Huadian Technol. Publ. House 2021, 43, 11–20. (In Chinese) [Google Scholar]
- Jing, P.; Xu, G.; Zhao, B.; Yang, C.; Wang, L.; Jin, Y.; Xiao, Y. Large-scale Energy Storage Technology for Global Energy Internet. Smart Grid 2015, 3, 486–492. (In Chinese) [Google Scholar]
- Zhang, H.; Yuan, T.; Tan, J. Medium and Long-term Forecast of Hydrogen Load in Unified Energy System. Proc. CSEE 2021, 41, 3364–3372+3662. (In Chinese) [Google Scholar]
- Cai, G.; Kong, L.; Xuan, Y.; Sun, B. Overview of Research on Wind Power Coupled with Hydrogen Production Technology. Autom. Electr. Power Syst. 2014, 38, 127–135. (In Chinese) [Google Scholar]
- Wu, B.; Fu, Y.; Wu, Y.; Zhou, Y. Electricity Spot Market Trading Mechanism Considering Renewable Energy Curtailment and Peak Shaving Compensation. In Proceedings of the 2025 2nd International Conference on Smart Grid and Artificial Intelligence (SGAI), Changsha, China, 21–23 March 2025; pp. 1298–1304. [Google Scholar] [CrossRef]
- Ma, Y.; Chen, Y.; Tang, J.; Qiu, W.; Chen, X.; Li, J.; Lin, Z. Optimal Operational Strategy of Virtual Power Plant Considering the Participation in the Joint Markets of the Electricity Spot and Auxiliary Service Market. In Proceedings of the 2023 6th International Conference on Energy, Electrical and Power Engineering (CEEPE), Guangzhou, China, 12–14 May 2023; pp. 1586–1590. [Google Scholar] [CrossRef]
- Manoochehri, H.; Fereidunian, A. A multimarket approach to peak-shaving in Smart Grid using time-of-use prices. In Proceedings of the 2016 8th International Symposium on Telecommunications (IST), Tehran, Iran, 27–28 September 2016; pp. 707–712. [Google Scholar] [CrossRef]
- Li, B.; Xu, S.; Fu, J.; Fu, X.; Wang, Y.; Zhu, X.; Li, C.; Li, J. Optimal Scheduling of Multiple Energy Storage-Thermal Power Units under Electricity Market. In Proceedings of the 2024 IEEE 4th New Energy and Energy Storage System Control Summit Forum (NEESSC), Hohhot, China, 29–31 August 2024; pp. 255–260. [Google Scholar] [CrossRef]
- Tziovani, L.; Hadjidemetriou, L.; Timotheou, S. Energy Storage Arbitrage and Peak Shaving in Distribution Grids Under Uncertainty. In Proceedings of the 2022 IEEE PES Innovative Smart Grid Technologies Conference Europe (ISGT-Europe), Novi Sad, Serbia, 10–12 October 2022; pp. 1–5. [Google Scholar] [CrossRef]
- Fan, Y.; Zhang, P.; Luo, L.; Cao, Y.; Wang, N.; Chen, Y.; Yang, J.; Qin, Z. Operational Strategy of Virtual Power Plant for Participating in Coupled Peak-Shaving and Carbon Markets. In Proceedings of the 2024 IEEE PES 16th Asia-Pacific Power and Energy Engineering Conference (APPEEC), Nanjing, China, 25–27 October 2024; pp. 1–6. [Google Scholar] [CrossRef]
- Lan, G.; Zhang, Z.; Guo, M.; Lan, L.; Lyu, R.; Wang, S. Research on Virtual Power Plants Participating in Ancillary Service Market. In Proceedings of the 2022 2nd International Conference on Electrical Engineering and Control Science (IC2ECS), Nanjing, China, 16–18 December 2022; pp. 979–985. [Google Scholar]
- Zhao, S.; Song, J.; Wang, A.; Li, Z. Power Spot Market Operation Optimization Considering Time-Sharing Bidding Game of New Energy-Thermal Power Bilateral Peak-Load Trading. Acta Energiae Solaris Sin. 2024, 45, 153–161. (In Chinese) [Google Scholar] [CrossRef]
- Zhang, Z.; Cong, W.; Liu, S.; Li, C.; Qi, S. Auxiliary service market model considering the participation of pumped-storage power stations in peak shaving. Front. Energy Res. 2022, 10, 915125. [Google Scholar] [CrossRef]
- Zhang, K.; Yang, X.; Zhang, H.; Yang, C.; Zhang, L. A Study on the Optimal Configuration of Hydrogen Energy Storage in the distribution Network Considering Photovoltaic-Energy Storage Coupling Participating and Peak Shaving. Power Syst. Clean Energy 2023, 39, 95–103+112. (In Chinese) [Google Scholar]
- Zou, Y.; Hu, Z.; Zhou, S.; Luo, Y.; Han, X.; Xiong, Y. Day-ahead and intraday two-stage optimal dispatch considering joint peak shaving of carbon capture power plants and virtual energy storage. Sustainability 2024, 16, 2890. [Google Scholar] [CrossRef]
- He, F.; Zhou, Q.; Zhang, Y.; Wang, B.; Hu, X.; Li, G. The Joint Peak Regulation-Electricity Clearing Model Considering Multiple Types of Subjects. Power Syst. Clean Energy 2024, 40, 48–55. (In Chinese) [Google Scholar]
- Yu, H.; Dong, S.; Lu, Z.; Zhou, Y.; Wen, G.; Zhang, Y.; Gao, Y.; Li, X. Bidding Strategy of Energy Storage Participating in the Auxiliary Market of Peak and Frequency Modulation in New Power System. Electr. Power 2023, 56, 48–60. (In Chinese) [Google Scholar]
- Li, J.; An, C.; Li, C.; Zhang, Z.; Liu, R. Multi-Objective Optimization Scheduling Method Considering Peak Regulating Market Transactions for Energy Storage-New Energy-Thermal Power. Trans. China Electrotech. Soc. 2023, 38, 6391–6406. (In Chinese) [Google Scholar] [CrossRef]
- Zhang, X.; Gao, X.; Zhu, J.; Chen, P.; Guo, Y.; Lu, C. Joint Optimization of Day-Ahead Energy and Peak Regulation Considering Multi-Type Market Entities. Acta Energiae Solaris Sin. 2024, 45, 357–366. (In Chinese) [Google Scholar] [CrossRef]
- Yu, H.; Zhang, M.; Xu, J.; Dong, Y.; Weng, J. Low-Carbon Economic Dispatching Strategy of Virtual Power Plant Participating in Electricity Market Considering Carbon Trading and Demand Response. J. Shanghai Univ. Electr. Power 2023, 39, 211–218. (In Chinese) [Google Scholar]
- Qi, L.; Zheng, W.; Zou, Q.; Song, J.; Chen, M.; Dai, X. Research on the Offer Strategy of Energy Storage Participation in the Deep Peaking Auxiliary Market. Sci. Technol. Ind. 2023, 23, 55–59. (In Chinese) [Google Scholar]
- Zhang, Y.; Min, L.; Tian, K.; Fan, L.; Hu, C. Research on Peak Shaving Demand Forecasting of Power Grid Based on Ridge Regression. Hydropower Pumped Storage 2021, 7, 74–76. (In Chinese) [Google Scholar]
- Pan, M. Research on the Trading Mechanism of the Day-Ahead Peak and Frequency Regulation Ancillary Services Market with Large-Scale Wind Power. Master’s Thesis, Harbin Institute of Technology, Harbin, China, 2020. [Google Scholar]
- Zhang, A. Medium and Long-Term Power Demand Forecasting Based on a Multi-Indicator Model. Master’s Thesis, Changsha University of Science & Technology, Changsha, China, 2013. (In Chinese). [Google Scholar]
- Yang, J. Research on the Two-Stage Operation Optimisation of an Integrated Energy System Taking into Account Source-Load Fluctuations. Master’s Thesis, North China Electric Power University (Beijing), Beijing, China, 2021. (In Chinese). [Google Scholar]
- Shi, X.; Xing, H.; Wang, H.; Huang, C.; Zhao, J. Low-carbon optimal scheduling of wind-solar-to-hydrogen ammonia synthesis system based on opportunity constraints. High Volt. Eng. 2025, 1–14. (In Chinese) [Google Scholar] [CrossRef]
- Yang, L.; Wu, F.; Song, X.; Shi, L.; Lin, K.; Hong, F. Data-Driven Chance-Constrained Schedule Optimization of Cascaded Hydropower and Photovoltaic Complementary Generation Systems for Shaving Peak Loads. Sustainability 2023, 15, 16916. [Google Scholar] [CrossRef]
- Lei, K.; Chang, J.; Wang, X.; Guo, A.; Wang, Y.; Ren, C. Peak shaving and short-term economic operation of hydro-wind-PV hybrid system considering the uncertainty of wind and PV power. Renew. Energy 2023, 215, 118903. [Google Scholar] [CrossRef]
- Lin, L.; Tian, X. Analysis of Deep Peak Regulation and Its Benefit of Thermal Units in Power System with Large Scale Wind Power Integrated. Power Syst. Technol. 2017, 41, 8. (In Chinese) [Google Scholar] [CrossRef]
- Li, J.; Dong, F.; Guo, Q.; Luo, X.; Hao, Q.; Li, Q.; Zhu, X.; Li, C. Quantitative Assessment of the Integrated Efficiency of Pumped Storage Power Stations Considering Peak Shifting Characteristics. J. Glob. Energy Interconnect. 2024, 7, 567–578. [Google Scholar]
- Zhu, Y. Economic Evaluation of Large-Scale Energy Storage Technology for Multi-Energy Coupled Power Generation SYSTEM. Master’s Thesis, Zhejiang University, Zhejiang, China, 2024. (In Chinese). [Google Scholar]
- Chen, Y.; Chen, J.; Zhang, W.; Ni, C.; Zhao, B. Optimal scheduling strategy of distributed electric-thermo-hydrogen system considering lifetime decay characteristics of electrolytic cell and battery. Electr. Power Autom. Equip. 2023, 43, 135–142. [Google Scholar]
- Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [PubMed]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, L.; Polosukhin, I. Attention is all you need. arXiv 2017, arXiv:1706.03762. [Google Scholar]
- Caruana, R. Multitask learning. Mach. Learn. 1997, 28, 41–75. [Google Scholar] [CrossRef]
Parameters | Numerical Value | Parameters | Numerical Value |
---|---|---|---|
L/segment | 4 | / | 190 |
/Year | 20 | / | 74,864.8 |
patience | 10 | & | 0.9 |
10,000 | /MW | 30 | |
/MW | 394 | 0.1 | |
/(m3/MW·h) | 749 | 0.9 | |
/(m3/MW·h) | 998 |
Parameters | Numerical Value | Parameters | Numerical Value |
---|---|---|---|
/(yuan/ton) | 600 | &&/yuan | 0 |
/(yuan/ton) | 8000 | &&/yuan | 1000 |
/(yuan/kW) | 4000 | /(yuan/cubic meter) | 3 |
/(yuan/MW·h) | 500 |
RMSE | MAE | MAPE | |
---|---|---|---|
LSTM | 6.930 | 5.604 | 11.485% |
SVM | 4.474 | 3.829 | 7.571% |
ELM | 7.081 | 5.700 | 10.948% |
CNN-LSTM | 4.680 | 3.573 | 6.582% |
GPU | 5.016 | 3.826 | 9.536% |
XGBoost | 5.290 | 4.249 | 8.732% |
Transformer | 4.681 | 3.802 | 8.054% |
Before HLA Participation | After HLA Participation | |
---|---|---|
System operator costs/yuan | 1,033,091.33 | 974,823.02 |
Thermal power unit G1 revenue/yuan | 317,578.13 | 247,947.58 |
Thermal power unit G2 revenue/yuan | 403,786.10 | 294,974.81 |
Thermal power unit G3 revenue/yuan | 108,288.10 | 99,853.38 |
Pumped storage power station revenue/yuan | 147,315 | 99,516.2 |
Electrochemical energy storage revenue/yuan | 56,124 | 39,639.5 |
HLA earnings/yuan | / | 192,891.55 |
HLA | Hydrogen Load 1 | Hydrogen Load 2 | Hydrogen Load 3 | |
---|---|---|---|---|
Peak shaving capacity/MW | 285.5 | 23.37 | 49.46 | 212.7 |
Revenue/yuan Entry 1 | 192,891.55 | 18,721.9 | 33,281.82 | 140,887.8 |
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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Lei, Z.; Gu, L.; Hu, Z.; Shi, T. Research on the Optimization Decision Method for Hydrogen Load Aggregators to Participate in Peak Shaving Market. Processes 2025, 13, 3346. https://doi.org/10.3390/pr13103346
Lei Z, Gu L, Hu Z, Shi T. Research on the Optimization Decision Method for Hydrogen Load Aggregators to Participate in Peak Shaving Market. Processes. 2025; 13(10):3346. https://doi.org/10.3390/pr13103346
Chicago/Turabian StyleLei, Zhenya, Libo Gu, Zhen Hu, and Tao Shi. 2025. "Research on the Optimization Decision Method for Hydrogen Load Aggregators to Participate in Peak Shaving Market" Processes 13, no. 10: 3346. https://doi.org/10.3390/pr13103346
APA StyleLei, Z., Gu, L., Hu, Z., & Shi, T. (2025). Research on the Optimization Decision Method for Hydrogen Load Aggregators to Participate in Peak Shaving Market. Processes, 13(10), 3346. https://doi.org/10.3390/pr13103346