A Cost Optimization Method Based on Adam Algorithm for Integrated Demand Response
Abstract
:1. Introduction
- An IES internal coupling model based on CCHP technology is established. This model can clarify the relationship between the input and output of an IES. An IDR optimization model based on this coupling model is also established to explore the cost advantages of energy coupling in IDR management.
- Based on the proposed IDR optimization model, an optimization method that does not transmit energy users’ private information is proposed. This method is based on the Adam algorithm and can optimize costs generated by the IDR management of energy users under incomplete information markets.
- Compared with other distributed optimization algorithms, the computing framework based on the Adam algorithm proposed in this study can improve the efficiency and accuracy of the IDR optimization process.
2. Distribution-Side IDR Model
2.1. CCHP Internal Coupling Relationship Modeling
2.2. IDR Design of IES
- The LSO carries out day-ahead load forecasting and reports it to the ISO for bidding to enter the power market.
- The LSO obtains the load reduction index from the market clearing results of the ISO.
- The LSO determines the dispatching plan by solving the IDR optimization model, informs consumers of the results, and controls the operation of CCHP;
- Consumers adjust their energy demand at the specified time. CCHP adjusts its energy production accordingly to balance the load, and the net load of the IES is reduced as planned.
2.3. IDR Management Model Based on Demand-Side Coupling
3. IDR Management Based on Adam
3.1. Overview of the Adam Algorithm
3.2. A New Cost Optimization Method Based on Adam
Algorithm 1 Training process of FL with Adam |
Server executes: Initialize for each round n = 0,1,2,… do for each client i do Client Update for end for end Server execution end |
Clientkexecutes: Client Update : return to server Client k execution end |
Algorithm 2 New cost optimization method based on the Adam algorithm |
Server executes: Initialize and for each round i = 0,1,2,… do for each client k do Client Update for end if Loop end if end for end Server execution end |
Client k executes: Client Update : return to server Client k execution end |
4. Example Analysis
- (1)
- Scenario I: was set by emphasizing the investigation of the supporting effect of nonelectrical resources on the IDR of electrical resources. The new optimization method based on Adam was used for this calculation example.
- (2)
- Scenario II: was set by emphasizing the investigation of the influence of demand-side coupling on the supply of nonelectrical resources (with heating power supply as an example). The new optimization method based on Adam was also applied to this scenario.
- (3)
4.1. Scenario I
4.2. Scenario II
4.3. Scenario III
5. Discussion
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviation
IES | Integrated energy system |
CCHP | Combined cooling, heating, and power |
IDR | Integrated demand response |
ADMM | alternating direction method of multipliers |
Adam | Adaptive moment estimation |
ISO | Independent system operator |
LSO | Local system operator |
FL | Federated learning |
D-PPDS | distributed perturbation primal–dual subgradient |
Appendix A
LSO Index i | (MW) | (USD2/MW) | |
---|---|---|---|
1 | 8.52 | 0.96 | 90 |
2 | 8.06 | 1.00 | 88 |
3 | 8.01 | 0.91 | 92 |
4 | 7.13 | 1.1 | 90 |
5 | 7.41 | 0.92 | 94 |
6 | 6.31 | 0.98 | 96 |
7 | 7.14 | 0.97 | 92 |
8 | 7.67 | 1.1 | 98 |
Period (h) | 0–8 | 8–14, 17–19, 22–24 | 14–17, 19–22 |
---|---|---|---|
Electricity prices (USD/MWh) | 64 | 71 | 79 |
References
- Zhou, S.Y.; Cai, G.W.; Yang, D.Y.; Wang, L.X. Ambient data-driven on-line evaluation method of power system small signal stability. Autom. Electr. Power Syst. 2022, 46, 94–100. [Google Scholar]
- Reihani, E.; Motalleb, M.; Thornton, M.; Ghorbani, R. A novel approach using flexible scheduling and aggregation to optimize demand response in the developing interactive grid market architecture. Appl. Energy 2016, 183, 445–455. [Google Scholar] [CrossRef]
- Mansour-Saatloo, A.; Agabalaye-Rahvar, M.; Mirzaei, M.A.; Mohammadi-Ivatloo, B.; Abapour, M.; Zare, K. Robust scheduling of hydrogen based smart micro energy hub with integrated demand response. J. Clean. Prod. 2020, 267, 122041. [Google Scholar] [CrossRef]
- He, L.; Lu, Z.; Geng, L.; Zhang, J.; Li, X.; Guo, X. Environmental economic dispatch of integrated regional energy system considering integrated demand response. Int. J. Electr. Power Energy Syst. 2020, 116, 105525. [Google Scholar] [CrossRef]
- Wang, J.; Zhong, H.; Ma, Z.; Xia, Q.; Kang, C. Review and prospect of integrated demand response in the multi-energy system. Appl. Energy 2017, 202, 772–782. [Google Scholar] [CrossRef]
- Chen, S.; Chen, Q.; Xu, Y. Strategic bidding and compensation mechanism for a load aggregator with direct thermostat control capabilities. IEEE Trans. Smart Grid 2016, 9, 2327–2336. [Google Scholar] [CrossRef]
- Peng, D.; Pei, W.; Xiao, H.; Yang, Y.; Tang, C. Data-driven Consumer Demand Response Behavior Modelization and Application. Power Syst. Technol. 2021, 45, 2577–2586. [Google Scholar]
- Kement, C.E.; Gultekin, H.; Tavli, B. A holistic analysis of privacy-aware smart grid demand response. IEEE Trans. Ind. Electron. 2020, 68, 7631–7641. [Google Scholar] [CrossRef]
- Gong, Y.; Cai, Y.; Guo, Y.; Fang, Y. A privacy-preserving scheme for incentive-based demand response in the smart grid. IEEE Trans. Smart Grid 2015, 7, 1304–1313. [Google Scholar] [CrossRef]
- Liang, Z.; Alsafasfeh, Q.; Jin, T.; Pourbabak, H.; Su, W. Risk-constrained optimal energy management for virtual power plants considering correlated demand response. IEEE Trans. Smart Grid 2017, 10, 1577–1587. [Google Scholar] [CrossRef]
- Zhang, C.; Xu, Y.; Li, Z.; Dong, Z.Y. Robustly coordinated operation of a multi-energy microgrid with flexible electric and thermal loads. IEEE Trans. Smart Grid 2018, 10, 2765–2775. [Google Scholar] [CrossRef]
- Wang, Z.; Lei, B.; Yang, L. Multi-objective double-step optimal dispatching of regional integrated energy system considering combined electric and heat demand response. Proc. CSU-EPSA 2021, 33, 120–127. [Google Scholar]
- Chen, L.; Tang, H.; Wu, J.; Li, C.; Wang, Y. A robust optimization framework for energy management of CCHP users with integrated demand response in electricity market. Int. J. Electr. Power Energy Syst. 2022, 141, 108181. [Google Scholar] [CrossRef]
- Saberi-Beglar, K.; Zare, K.; Seyedi, H.; Marzband, M.; Nojavan, S. Risk-embedded scheduling of a CCHP integrated with electric vehicle parking lot in a residential energy hub considering flexible thermal and electrical loads. Appl. Energy 2023, 329, 120265. [Google Scholar] [CrossRef]
- Yuan, Y.; Bai, Z.; Liu, Q.; Hu, W.; Zheng, B. Potential of applying the thermochemical recuperation in combined cooling, heating and power generation: Route of enhancing the operation flexibility. Appl. Energy 2021, 301, 117470. [Google Scholar] [CrossRef]
- Saberi, K.; Pashaei-Didani, H.; Nourollahi, R.; Zare, K.; Nojavan, S. Optimal performance of CCHP based microgrid considering environmental issue in the presence of real time demand response. Sustain. Cities Soc. 2019, 45, 596–606. [Google Scholar] [CrossRef]
- Duong, N.D.; Madhukumar, A.S.; Niyato, D. Stackelberg Bayesian game for power allocation in two-tier networks. IEEE Trans. Veh. Technol. 2015, 65, 2341–2354. [Google Scholar] [CrossRef]
- Xia, S.; Lin, F.; Chen, Z.; Tang, C.; Ma, Y.; Yu, X. A Bayesian game based vehicle-to-vehicle electricity trading scheme for blockchain-enabled internet of vehicles. IEEE Trans. Veh. Technol. 2020, 69, 6856–6868. [Google Scholar] [CrossRef]
- Rajaei, A.; Fattaheian-Dehkordi, S.; Fotuhi-Firuzabad, M.; Moeini-Aghtaie, M. Decentralized transactive energy management of multi-microgrid distribution systems based on ADMM. Int. J. Electr. Power Energy Syst. 2021, 132, 107126. [Google Scholar] [CrossRef]
- Yang, L.; Luo, J.; Xu, Y.; Zhang, Z.; Dong, Z. A distributed dual consensus ADMM based on partition for DC-DOPF with carbon emission trading. IEEE Trans. Ind. Inform. 2019, 16, 1858–1872. [Google Scholar] [CrossRef]
- Abapour, S.; Mohammadi-Ivatloo, B.; Hagh, M.T. A Bayesian game theoretic based bidding strategy for demand response aggregators in electricity markets. Sustain. Cities Soc. 2020, 54, 101787. [Google Scholar] [CrossRef]
- Liu, X.; Tang, D.; Dai, Z. A bayesian game approach for demand response management considering incomplete information. J. Mod. Power Syst. Clean Energy 2021, 10, 492–501. [Google Scholar] [CrossRef]
- Yuan, Z.P.; Li, P.; Li, Z.L.; Xia, J. Data-driven risk-adjusted robust energy management for microgrids integrating demand response aggregator and renewable energies. IEEE Trans. Smart Grid 2022, 14, 365–377. [Google Scholar] [CrossRef]
- Shi, Y.; Tuan, H.D.; Savkin, A.V.; Lin, C.-T.; Zhu, J.G.; Poor, H.V. Distributed model predictive control for joint coordination of demand response and optimal power flow with renewables in smart grid. Appl. Energy 2021, 290, 116701. [Google Scholar] [CrossRef]
- Chang, Z.; Zhang, Y.; Chen, W. Electricity price prediction based on hybrid model of adam optimized LSTM neural network and wavelet transform. Energy 2019, 187, 115804. [Google Scholar] [CrossRef]
- Duchi, J.; Hazan, E.; Singer, Y. Adaptive subgradient methods for online learning and stochastic optimization. J. Mach. Learn. Res. 2011, 12, 2121–2159. [Google Scholar]
- Tieleman, T.; Hinton, G. Lecture 6.5-rmsprop, coursera: Neural networks for machine learning. In Technical Report; University of Toronto: Toronto, ON, Canada, 2012; p. 6. [Google Scholar]
- Peng, Y.; Rios, A.; Kavuluru, R.; Lu, Z. Chemical-protein relation extraction with ensembles of SVM, CNN, and RNN models. arXiv 2018, arXiv:1802.01255. [Google Scholar]
- Chen, X.; Liu, S.; Sun, R.; Hong, M. On the convergence of a class of adam-type algorithms for non-convex optimization. arXiv 2018, arXiv:1808.02941. [Google Scholar]
- Jais, I.K.M.; Ismail, A.R.; Nisa, S.Q. Adam optimization algorithm for wide and deep neural network. Knowl. Eng. Data Sci. 2019, 2, 41–46. [Google Scholar] [CrossRef]
- Hao, R.; Lu, T.; Ai, Q.; He, H. Data-oriented distributed demand response optimization with global inequality constraints based on multi-agent system. Int. J. Electr. Power Energy Syst. 2021, 133, 107025. [Google Scholar] [CrossRef]
- Vesterlund, M.; Toffolo, A.; Dahl, J. Simulation and analysis of a meshed district heating network. Energy Convers. Manag. 2016, 122, 63–73. [Google Scholar] [CrossRef]
- Chen, C.; Lyu, L.; Yu, H.; Chen, G. Practical attribute reconstruction attack against federated learning. IEEE Trans. Big Data 2022, 14, 1–12. [Google Scholar] [CrossRef]
- Hu, H.; Salcic, Z.; Sun, L.; Dobbie, G.; Yu, P.S.; Zhang, X. Membership inference attacks on machine learning: A survey. ACM Comput. Surv. (CSUR) 2022, 54, 235. [Google Scholar] [CrossRef]
- Kairouz, P.; McMahan, H.B.; Avent, B.; Bellet, A.; Bennis, M.; Bhagoji, A.N.; Bonawitz, K.; Charles, Z.; Cormode, G.; Cummings, R.; et al. Advances and open problems in federated learning. Found. Trends® Mach. Learn. 2021, 14, 1–210. [Google Scholar] [CrossRef]
LSO Index i | (MW) | (MW) | (MW) |
---|---|---|---|
1 | 6.73 | −1.79 | −0.35 |
2 | 7.90 | −0.15 | −0.03 |
3 | 5.52 | −2.48 | −0.49 |
4 | 6.40 | −0.72 | −0.14 |
5 | 4.96 | −2.45 | −0.49 |
6 | 3.41 | −2.89 | −0.57 |
7 | 5.38 | −1.75 | −0.35 |
8 | 2.52 | −5.15 | −1.03 |
With Coupling (USD) | Without Coupling (USD) | Improvement (%) | |
---|---|---|---|
Total cost: | 4385.12 | 5351.73 | 18% |
Method | Single Iteration Time (ms) | Convergence Iterations | Total Time Spent (ms) | Convergence Error (%) |
---|---|---|---|---|
D-PPDS (8 buses) | 4.83 | 52 | 251 | 0.65 |
ADMM (8 buses) | 6.27 | 79 | 495 | 0.93 |
Adam-based (8 buses) | 5.93 | 46 | 273 | 0.34–0.61 |
D-PPDS (33 buses) | 4.99 | 76 | 379 | 0.91 |
ADMM (33 buses) | 6.44 | 101 | 650 | 1.18 |
Adam-based (33 buses) | 5.94 | 48 | 285 | 0.23–0.55 |
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. |
© 2023 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
Cheng, H.; Ai, Q. A Cost Optimization Method Based on Adam Algorithm for Integrated Demand Response. Electronics 2023, 12, 4731. https://doi.org/10.3390/electronics12234731
Cheng H, Ai Q. A Cost Optimization Method Based on Adam Algorithm for Integrated Demand Response. Electronics. 2023; 12(23):4731. https://doi.org/10.3390/electronics12234731
Chicago/Turabian StyleCheng, Haoyuan, and Qian Ai. 2023. "A Cost Optimization Method Based on Adam Algorithm for Integrated Demand Response" Electronics 12, no. 23: 4731. https://doi.org/10.3390/electronics12234731
APA StyleCheng, H., & Ai, Q. (2023). A Cost Optimization Method Based on Adam Algorithm for Integrated Demand Response. Electronics, 12(23), 4731. https://doi.org/10.3390/electronics12234731