Heuristic Retailer’s Day-Ahead Pricing Based on Online-Learning of Prosumer’s Optimal Energy Management Model
Abstract
:1. Introduction
1.1. Background and Motivation
1.2. Related Works
- Neglecting data privacy (free access to private information of prosumers) in retailers’ decision-making model for optimal pricing.
- Applying centralized approaches such as integration methods to solve the optimization problem of retailer pricing interacting with prosumers, which is inherently a distributed problem.
- Not using forecasting and learning in retailer’s pricing as a powerful tool for solving this inherently distributed problem.
1.3. Novelties and Contributions
- designing and modeling the optimal pricing problem of the retailer in interaction with prosumer by presenting a distributed approach based on online learning;
- participation of prosumer in price-based DR without operator interference;
- minimum information exchange between market beneficiaries and the retailer’s lack of free access to private information of the prosumer’s decision-making model; and
- the retailer’s optimal pricing is independent of the prosumer model due to the lack of necessity for an initial database in the presented algorithm.
2. Problem Definition
2.1. Modeling of Prosumer Energy Management
2.1.1. CHP Model
2.1.2. Model of Power-Only Unit
2.1.3. Model of Heat-Only Unit
2.1.4. Model of the Electrical Storage System
2.1.5. Model of the Heat Storage System
2.1.6. Model of Demand Response
2.1.7. Heat and Power Balance Constraints
2.1.8. Objective Function in Prosumer Energy Management Model
2.2. Retailer Prediction by Using Multivariate Linear Regression
2.3. Putting the Pieces Together
3. Simulation Results
3.1. Data
3.2. First Case Study: 30% Demand Response
3.3. Second Case Study: 10% Demand Response
4. Conclusions
- The proposed distributed model, in both case studies, led to the convergence of prosumer cost and retailer’s profit.
- Such an approach adheres to the problem of preserving privacy and private information of the prosumer and the retailer.
- Increasing demand response to the retailer’s suggested prices prevented the retailer from taking advantage of the passive behavior of its prosumers and also reduced the prosumer’s cost by up to almost 10%.
- By using online learning, without prior information and during the replication of the algorithm, the retailer learned the model behavior of the prosumer with appropriate accuracy.
- It was shown that with increasing demand response, the correlation coefficient of retailer’s prices with prices taken from the wholesale market increased due to the greater activation of the prosumer to the prices.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Nomenclature
Sets | |
t | Set of time intervals |
i | Set of CHP units |
q | Set of power-only units |
Set of blocks related to the operational cost of power-only units | |
j | Set of the retail price and estimated power database |
Parameters | |
CHP | |
Number of CHP units | |
Price of natural gas | |
The efficiency of CHP units | |
Power-only | |
Rated power of block related to the operational cost of | |
power-only unit q | |
Ramp up rate of power-only unit q | |
Ramp down rate of power-only unit q | |
Minimum down time of power-only unit q | |
Number of power-only unit | |
Number of blocks related to the operational cost of power-only unit | |
The power price of power-only unit q at block | |
Heat-Only | |
The price of power of heat-only unit | |
Rated power of heat-only unit | |
Electrical Energy Storage (ESS) | |
The maximum charging rate of ESS | |
The maximum discharging rate of ESS | |
The minimum level of energy in ESS | |
The maximum level of energy in ESS | |
Discharging efficiency of ESS | |
Charging efficiency of ESS | |
Thermal Energy Storage (TES) | |
The minimum level of energy in TES | |
The maximum level of energy in TES | |
The maximum charging rate of TES | |
The maximum discharging rate of TES | |
Charging efficiency of TES | |
Discharging efficiency of TES | |
Demand Response | |
Electrical power demand before demand response in each hour | |
Minimum load shifting from desire demand in each hour | |
Maximum load shifting from desire demand in each hour | |
Thermal desire demand in each hour | |
The retail price which is considered as a parameter in the prosumer | |
model in each hour | |
Retailer | |
The wholesale price in each hour | |
Maximum price of daily wholesale prices | |
Minimum price of daily wholesale prices | |
Fixed load | |
B | Matrix of predicting coefficients |
Bias matrix | |
Variables | |
CHP | |
The electrical output power of CHP unit i at time t | |
The thermal output power of CHP unit i at time t | |
Power-Only | |
Output power of power-only unit q at time t, block | |
Spinning state of power-only unit q at time t | |
Heat-only | |
The thermal output power of heat-only unit at time t | |
Electrical Energy Storage | |
Discharging power of ESS | |
Charging power of ESS | |
Amount of energy stored in ESS | |
Thermal Energy Storage | |
Charging power of TES | |
Discharging power of TES | |
Amount of energy stored in TES | |
Demand Response | |
Demand after implementation of demand response | |
Percentage of shifting load | |
Electrical demand, which is supplied by the retailer in each hour | |
Retailer | |
Retailer prices in each hour |
References
- Nazari-Heris, M.; Mohammadi-Ivatloo, B.; Gharehpetian, G. A comprehensive review of heuristic optimization algorithms for optimal combined heat and power dispatch from economic and environmental perspectives. Renew. Sustain. Energy Rev. 2018, 81, 2128–2143. [Google Scholar] [CrossRef]
- Dehghanpour, K.; Nehrir, M.H.; Sheppard, J.W.; Kelly, N.C. Agent-based modeling of retail electrical energy markets with demand response. IEEE Trans. Smart Grid 2016, 9, 3465–3475. [Google Scholar] [CrossRef] [Green Version]
- Mehdinejad, M.; Shayanfar, H.A.; Mohammadi-Ivatloo, B.; Nafisi, H. Designing a robust decentralized energy transactions framework for active prosumers in peer-to-peer local electricity markets. IEEE Access 2022, 10, 26743–26755. [Google Scholar] [CrossRef]
- Khorasany, M.; Razzaghi, R.; Gazafroudi, A.S. Two-stage mechanism design for energy trading of strategic agents in energy communities. Appl. Energy 2021, 295, 117036. [Google Scholar] [CrossRef]
- Golmohamadi, H.; Keypour, R. Retail energy management in electricity markets: Structure, challenges and economic aspects-a review. Technol. Econ. Smart Grids Sustain. Energy 2017, 2, 20. [Google Scholar] [CrossRef] [Green Version]
- Khorasany, M.; Mishra, Y.; Ledwich, G. A decentralized bilateral energy trading system for peer-to-peer electricity markets. IEEE Trans. Ind. Electron. 2019, 67, 4646–4657. [Google Scholar] [CrossRef] [Green Version]
- Lu, R.; Hong, S.H.; Zhang, X. A dynamic pricing demand response algorithm for smart grid: Reinforcement learning approach. Appl. Energy 2018, 220, 220–230. [Google Scholar] [CrossRef]
- Nojavan, S.; Zare, K.; Mohammadi-Ivatloo, B. Optimal stochastic energy management of retailer based on selling price determination under smart grid environment in the presence of demand response program. Appl. Energy 2017, 187, 449–464. [Google Scholar] [CrossRef]
- Nourollahi, R.; Nojavan, S.; Zare, K. Risk-Based Purchasing Energy for Electricity Consumers by Retailer Using Information Gap Decision Theory Considering Demand Response Exchange. In Electricity Markets; Springer: Cham, Switzerland, 2020; pp. 135–168. [Google Scholar]
- Alipour, M.; Zare, K.; Mohammadi-Ivatloo, B. Optimal risk-constrained participation of industrial cogeneration systems in the day-ahead energy markets. Renew. Sustain. Energy Rev. 2016, 60, 421–432. [Google Scholar] [CrossRef]
- Jin, M.; Feng, W.; Marnay, C.; Spanos, C. Microgrid to enable optimal distributed energy retail and end-user demand response. Appl. Energy 2018, 210, 1321–1335. [Google Scholar] [CrossRef]
- Alipour, M.; Zare, K.; Seyedi, H.; Jalali, M. Real-time price-based demand response model for combined heat and power systems. Energy 2019, 168, 1119–1127. [Google Scholar] [CrossRef]
- Farsangi, A.S.; Hadayeghparast, S.; Mehdinejad, M.; Shayanfar, H. A novel stochastic energy management of a microgrid with various types of distributed energy resources in presence of demand response programs. Energy 2018, 160, 257–274. [Google Scholar] [CrossRef]
- Ju, L.; Wu, J.; Lin, H.; Tan, Q.; Li, G.; Tan, Z.; Li, J. Robust purchase and sale transactions optimization strategy for electricity retailers with energy storage system considering two-stage demand response. Appl. Energy 2020, 271, 115155. [Google Scholar] [CrossRef]
- Yin, S.; Ai, Q.; Li, J.; Li, Z.; Fan, S. Energy pricing and sharing strategy based on hybrid stochastic robust game approach for a virtual energy station with energy cells. IEEE Trans. Sustain. Energy 2020, 12, 772–784. [Google Scholar] [CrossRef]
- Zhou, Y.; Yu, W.; Zhu, S.; Yang, B.; He, J. Distributionally robust chance-constrained energy management of an integrated retailer in the multi-energy market. Appl. Energy 2021, 286, 116516. [Google Scholar] [CrossRef]
- Sharifi, R.; Anvari-Moghaddam, A.; Fathi, S.H.; Vahidinasab, V. A bi-level model for strategic bidding of a price-maker retailer with flexible demands in day-ahead electricity market. Int. J. Electr. Power Energy Syst. 2020, 121, 106065. [Google Scholar] [CrossRef]
- Clastres, C.; Khalfallah, H. Dynamic pricing efficiency with strategic retailers and consumers: An analytical analysis of short-term market interactions. Energy Econ. 2021, 98, 105169. [Google Scholar] [CrossRef]
- Aghamohammadloo, H.; Talaeizadeh, V.; Shahanaghi, K.; Aghaei, J.; Shayanfar, H.; Shafie-khah, M.; Catalão, J.P. Integrated Demand Response Programs and Energy Hubs Retail Energy Market Modelling. Energy 2021, 234, 121239. [Google Scholar] [CrossRef]
- Dadashi, M.; Haghifam, S.; Zare, K.; Haghifam, M.R.; Abapour, M. Short-term scheduling of electricity retailers in the presence of Demand Response Aggregators: A two-stage stochastic Bi-Level programming approach. Energy 2020, 205, 117926. [Google Scholar] [CrossRef]
- Do Prado, J.C.; Qiao, W. A Stochastic Bilevel Model for an Electricity Retailer in a Liberalized Distributed Renewable Energy Market. IEEE Trans. Sustain. Energy 2020, 11, 2803–2812. [Google Scholar] [CrossRef]
- Chawda, S.; Mathuria, P.; Bhakar, R. Risk-based retailer profit maximization: Time of Use price setting for elastic demand. Int. Trans. Electr. Energy Syst. 2019, 29, e12036. [Google Scholar] [CrossRef]
- Xiao, Y.; Wang, X.; Pinson, P.; Wang, X. Transactive energy based aggregation of prosumers as a retailer. IEEE Trans. Smart Grid 2020, 11, 3302–3312. [Google Scholar] [CrossRef]
- Nikzad, M.; Samimi, A. Integration of designing price-based demand response models into a stochastic bi-level scheduling of multiple energy carrier microgrids considering energy storage systems. Appl. Energy 2021, 282, 116163. [Google Scholar] [CrossRef]
- Lu, R.; Hong, S.H.; Yu, M. Demand response for home energy management using reinforcement learning and artificial neural network. IEEE Trans. Smart Grid 2019, 10, 6629–6639. [Google Scholar] [CrossRef]
- Xu, B.; Wang, J.; Guo, M.; Lu, J.; Li, G.; Han, L. A hybrid demand response mechanism based on real-time incentive and real-time pricing. Energy 2021, 231, 120940. [Google Scholar] [CrossRef]
- Mehdinejad, M.; Shayanfar, H.; Mohammadi-Ivatloo, B. Peer-to-peer decentralized energy trading framework for retailers and prosumers. Appl. Energy 2022, 308, 118310. [Google Scholar] [CrossRef]
- Hemmati, M.; Mirzaei, M.A.; Abapour, M.; Zare, K.; Mohammadi-ivatloo, B.; Mehrjerdi, H.; Marzband, M. Economic-environmental analysis of combined heat and power-based reconfigurable microgrid integrated with multiple energy storage and demand response program. Sustain. Cities Soc. 2021, 69, 102790. [Google Scholar] [CrossRef]
- Nazari-Heris, M.; Mirzaei, M.A.; Asadi, S.; Mohammadi-Ivatloo, B.; Zare, K.; Jebelli, H. A hybrid robust-stochastic optimization framework for optimal energy management of electric vehicles parking lots. Sustain. Energy Technol. Assess. 2021, 47, 101467. [Google Scholar] [CrossRef]
- Roustaee, M.; Kazemi, A. Multi-objective energy management strategy of unbalanced multi-microgrids considering technical and economic situations. Sustain. Energy Technol. Assess. 2021, 47, 101448. [Google Scholar] [CrossRef]
Ref. | [14] | [23] | [17] | [16] | [24] | [15] | [18] | [19] | [20] | [25] | [26] | [21] | [22] | Current Paper |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Retailer Pricing | - | ✓ | ✓ | - | ✓ | ✓ | ✓ | ✓ | - | - | ✓ | ✓ | ✓ | ✓ |
DR (S/O) | O | - | S | - | O | O | O | O | O | S | S | - | - | S |
Data Privacy | - | ✓ | - | - | - | - | - | - | - | ✓ | ✓ | - | - | ✓ |
Learning | - | - | - | - | - | - | - | - | - | ✓ | - | - | - | ✓ |
Parameters | First Type CHP | Second Type CHP | Units | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
75 | 75 | % | ||||||||||||
97 | 97 | % | ||||||||||||
A | B | C | D | A | B | C | D | E | F | |||||
FOR | P | 263 | 195 | 45 | 56 | P | 142 | 142 | 120 | 40 | 48 | 48 | kW | |
H | 0 | 210 | 120 | 0 | H | 0 | 35 | 118 | 69 | 11 | 0 | kW |
Parameters | First Unit | Second Unit | Third Unit | Units |
---|---|---|---|---|
Maximum output power | 150 | 180 | 200 | kW |
Minimum output power | 0 | 0 | 0 | kW |
0.030 | 0.037 | 0.044 | $/kWh | |
0.036 | 0.040 | 0.049 | $/kWh | |
0.039 | 0.045 | 0.054 | $/kWh | |
60 | 80 | 100 | kW | |
110 | 120 | 150 | kW | |
150 | 180 | 200 | kW | |
2 | 2 | 2 | hour | |
2 | 2 | 2 | hour | |
80 | 90 | 100 | kW/h | |
80 | 90 | 100 | kW/h |
Parameters | Value | Units |
---|---|---|
1000 | kWh | |
50 | kWh | |
600 | kW | |
600 | kW | |
90 | % | |
80 | % |
Parameters | Value | Units |
---|---|---|
0 | kW | |
1000 | kW | |
20 | kW | |
20 | kW | |
95 | % | |
93 | % |
Demand Response | Prosumer Cost ($) | Retail Profit ($) | Wholesale & Retail Price Covariance |
---|---|---|---|
30% | 3723 | 50.20 | 0.8836 |
10% | 3908 | 55.66 | 0.8657 |
No demand response | 4053 | 58.18 | 0.8590 |
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
Nejati Amiri, M.H.; Mehdinejad, M.; Mohammadpour Shotorbani, A.; Shayanfar, H. Heuristic Retailer’s Day-Ahead Pricing Based on Online-Learning of Prosumer’s Optimal Energy Management Model. Energies 2023, 16, 1182. https://doi.org/10.3390/en16031182
Nejati Amiri MH, Mehdinejad M, Mohammadpour Shotorbani A, Shayanfar H. Heuristic Retailer’s Day-Ahead Pricing Based on Online-Learning of Prosumer’s Optimal Energy Management Model. Energies. 2023; 16(3):1182. https://doi.org/10.3390/en16031182
Chicago/Turabian StyleNejati Amiri, Mohammad Hossein, Mehdi Mehdinejad, Amin Mohammadpour Shotorbani, and Heidarali Shayanfar. 2023. "Heuristic Retailer’s Day-Ahead Pricing Based on Online-Learning of Prosumer’s Optimal Energy Management Model" Energies 16, no. 3: 1182. https://doi.org/10.3390/en16031182
APA StyleNejati Amiri, M. H., Mehdinejad, M., Mohammadpour Shotorbani, A., & Shayanfar, H. (2023). Heuristic Retailer’s Day-Ahead Pricing Based on Online-Learning of Prosumer’s Optimal Energy Management Model. Energies, 16(3), 1182. https://doi.org/10.3390/en16031182