Next Article in Journal
Study on the Evolution Law of Deep Rock Cracks and the Mechanism of Graded Gradient Support
Next Article in Special Issue
Comparative Analysis of Eight Numerical Methods Using Weibull Distribution to Estimate Wind Power Density for Coastal Areas in Pakistan
Previous Article in Journal
A Compact Five-Level Single-Stage Boost Inverter
Previous Article in Special Issue
A Method for Reducing the Instability of Negawatts Considering Changes in the Behavior of Consumers
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Heuristic Retailer’s Day-Ahead Pricing Based on Online-Learning of Prosumer’s Optimal Energy Management Model

by
Mohammad Hossein Nejati Amiri
1,
Mehdi Mehdinejad
1,
Amin Mohammadpour Shotorbani
2,* and
Heidarali Shayanfar
1
1
Center of Excellence for Power Systems Automation and Operation, School of Electrical Engineering, Iran University of Science and Technology, Tehran 16846-13114, Iran
2
School of Engineering, University of British Columbia—Okanagan Campus, Kelowna, BC V1V 1V7, Canada
*
Author to whom correspondence should be addressed.
Energies 2023, 16(3), 1182; https://doi.org/10.3390/en16031182
Submission received: 7 December 2022 / Revised: 14 January 2023 / Accepted: 17 January 2023 / Published: 20 January 2023
(This article belongs to the Special Issue Renewable Energy Planning and Energy Management Systems)

Abstract

:
Smart grids have introduced several key concepts, including demand response, prosumers—active consumers capable of producing, consuming, and storing both electrical and thermal energies—retail market, and local energy markets. Preserving data privacy in this emerging environment has raised concerns and challenges. The use of novel methods such as online learning is recommended to address these challenges through prediction of the behavior of market stakeholders. In particular, the challenge of predicting prosumers’ behavior in an interaction with retailers requires creating a dynamic environment for retailers to set their optimal pricing. An innovative model of retailer–prosumer interactions in a day-ahead market is presented in this paper. By forecasting the behavior of prosumers by using an online learning method, the retailer implements an optimal pricing scheme to maximize profits. Prosumers, however, seek to reduce energy costs to the greatest extent possible. It is possible for prosumers to participate in a price-based demand response program voluntarily and without the retailer’s interference, ensuring their privacy. A heuristic distributed approach is applied to solve the proposed problem in a fully distributed framework with minimum information exchange between retailers and prosumers. The case studies demonstrate that the proposed model effectively fulfills its objectives for both retailer and prosumer sides by adopting the distributed approach.

1. Introduction

1.1. Background and Motivation

With the rapid rise in global demand for energy consumption and ever-increasing human dependence on electrical energy, as well as growing environmental concerns over pollutant emission, and volatile energy prices, the exploitation of high-efficiency energy generation methods (such as combined heat and power (CHP)) and smart grid technologies are of paramount importance [1]. The spread of the smart grid and the employment of advanced metering infrastructures (AMI) have enabled a mutual connection between consumers and other entities, such as retailers [2]. The benefits of this capability have enabled the introduction of several key concepts, including demand response (DR), prosumers (active consumers capable of producing, consuming, and storing both electrical and thermal energies), retail markets, and local energy markets [3]. Unlike conventional power systems, consumers in such an environment can actively react to market price bids and sell their surplus generated energy, as well as minimize the costs of their needed energy [4]. Therefore, such consumer behavior can result in a more dynamic and competitive market. Likewise, as a profit-centered entity in a smart grid environment, the retailer seeks to maximize its profit by predicting the consumers’ behavior, optimal energy pricing, and meeting the consumers’ energy demand at minimum cost [5]. Based on these considerations, the computational burden of centralized optimization methods and the privacy of local (retail) market players are of particular concern [6]. The motive to avoid privacy breach of prosumers has directed the retailers toward new tools, including machine learning, which do not require all (private) information of players to ensure optimal pricing with minimum information exchange [7]. One of the less-studied issues in retail energy management is the prosumers’ participation in DR programs and cost minimization of energy needs from their (prosumers’) view. In studies related to short-term scheduling of retailer energy management, the prosumers help the retailer’s optimal pricing via participation in the DR program. The proposed problem is then solved in a centralized manner, assuming access to all players’ information [8]. In other words, these studies have violated the prosumers’ privacy from two aspects. First, although the DR program is considered for prosumers, it is implemented from the retailer’s view. In other words, the retailers are in control of the flexible loads and can shift the loads based on their goals without considering the prosumers’ privacy. In fact, they assume that the prosumers will certainly participate in the proposed DR program. From the second aspect, the retailer has access to all prosumers’ information. The proposed optimization problem is solved from the retailer’s viewpoint in a centralized manner, which further compromises the players’ information privacy.
This research presents a novel approach to explain the behavior of energy market participants in terms of balancing demand and supply, and ensuring privacy. Considering the abovementioned issues, presenting a decentralized approach to protect the prosumers’ privacy from both DR and data points of view seems to be an underaddressed issue. In the present paper, we aim to solve this problem by developing a learning-based approach.

1.2. Related Works

This section reviews the research conducted on the short-term scheduling of retailer’s energy management. The existing study gap is evaluated from three aspects: the voluntary participation of consumers in the DR program, privacy protection through minimal information exchange of consumers, and the use of online learning in retailer pricing. In the following, in three separate paragraphs, each of these research issues are examined in recent studies respectively.
The authors in [8] have comprehensively reviewed the literature regarding energy-management scheduling in long-term, medium-term, and short-term periods. These periods are listed in a table under the headings objective function, type of pricing, solving method, uncertainty, considering DR, and smart grid technologies. None of the scheduling periods included real-time pricing based on online learning from the reviewed papers in this reference. The authors of [9] have designed a short-term scheduling scheme for retailer’s energy management considering fixed, time of use, and real-time pricing strategies. In the proposed model, the consumers’ behavior is presented by the consumer to the retailer in the form of a price-quota curve, and the consumers can participate in the price-based DR program. In this type of modeling, the consumers are assumed to announce their behavior to the retailer by using the price-quota curve to maximize its profit. Such assumptions neglect the competitive market environment in which every entity pursues its benefit. In addition, the proposed problem is built on the assumption that the consumers will indeed participate in the developed DR program. An optimal bidding strategy for industrial consumers with cogeneration facilities, power-only and heat-only units for participation in the day-ahead electricity market is demonstrated in [10]. The proposed model is solved in a decentralized manner and from the retailer’s perspective. The authors have applied the information gap decision theory (IGDT) method to determine the optimal pricing strategies in the presence of market price uncertainty. The model obtains different expected profit and consumers’ price bid curves based on consumers’ risk-averse or risk-taker decision making. The authors of [11] have studied pricing and operation strategy along with the DR program for the microgrid retailer in an integrated energy system (IES). By simultaneous optimization of the retail price and microgrid distribution, the proposed model presents a dynamic pricing scheme that reflects the generation costs and promotes DR. Despite the comprehensive nature of the proposed algorithm, the problem is solved in a centralized manner under the inherent assumption that the retailer is responsible for DR and the loads have no role in determining their consumption schedule. The authors of [12] employed robust optimization (RO) in a centralized manner for price-based DR management of heat and electricity consumers under price uncertainty with the assumption of having all consumers’ information. The authors demonstrated a considerable increase in the daily cost of consumers without smart grid technology compared to those using the proposed model in real time. Comprehensive research from the perspective of considering a wide spectrum of electrical and thermal energy sources, including photovoltaic modules, wind turbines, CHPs, fuel cells, electric vehicles, electrical and thermal storages, power-only units, heat-only units, and DR program is presented in [13]. However, the retail price is assumed to be fixed, and the problem is solved from the microgrid operator’s view in a centralized manner.
In [14], the authors modeled a two-stage DR program for electricity retailers. Furthermore, they presented a two-layer optimal model for the purchase and sale of electricity retailers. In the upper layer, the retailers seek to minimize the power purchasing cost considering the uncertainty, whereas in the lower layer, the consumers aim to maximize their profit from power selling by implementing DR. In this study, DR is considered from the retailer’s view in both stages. Moreover, the players’ data privacy is violated due to utilizing the Karush–Kuhn–Tucker (KKT) method to convert the two-layer problem into a one-layer problem. The authors in [15] have proposed a novel pricing approach for a virtual energy station (VES) in a multicarrier energy system. In this model, the integrated DR is established considering the electrical and thermal loads. However, due to using KKT for model integration, this paper failed to address data privacy. An integrated retailer for energy management in the multicarrier energy market is considered in [16]. Authors in this study have particularly focused on uncertainty and risk. However, the data privacy was again not protected as the KKT method was applied. A bilevel Stackelberg-based model is developed in [17] for the interaction of retailers with consumers. The proposed problem was solved by using the KKT integration method, which ignores data privacy. Moreover, in this study, DR is addressed from the load’s perspective, considering different welfare-level scenarios. The authors of [18] evaluated the retailer’s dynamic pricing in the day-ahead market as a three-stage game, considering DR. The designed game was solved by integration by using the KKT method, and the consumers’ data privacy was not fulfilled. Authors in [19] have addressed the problem of retailers’ competition over prosumers as a multileader, multifollower game. DR is included in this study via considering the integrated energy hub. By relying on the KKT method, integrating the bilevel optimization problem and reaching the equilibrium point is achieved at the expense of a data privacy breach. The authors of [20] have modeled the retailer’s short-term decision-making as a two-stage bilevel problem considering the integrated DR. In this study, DR is undertaken by an independent entity, though it is thought that DR implementation should be driven privately by end users’ own desires. Furthermore, in solving the two-level problem by KKT, the lower-level optimization problem is transferred to the upper level, which does not protect consumers’ information privacy. In another study, the relation between retailer and distributed renewable energy (DER) market is considered as a bilevel game in which the problem is reduced to a one-level mixed-integer linear programming (MILP) problem by using the KKT method [21].
The retailer’s profit maximization considering elastic demand in the presence of renewable energies is explored in [22]. Time of use pricing (TOU) has been implemented considering the uncertainty in wholesale prices and renewable energy generation. Assuming the aggregation of prosumers to form a retailer, the authors of [23] studied the relationship between the retailer and end users as the relationship between the aggregated prosumers with end users. The problem is regarded as a multileader–multifollower game with prosumers and end users taken as leaders and followers, respectively. The authors in [24] have developed a stochastic bilevel problem for integrating thermal energy and reserve scheduling into smart microgrids considering the maximum social welfare and price-based DR. Given the utilization of the particle swarm optimization (PSO) method and integrated problem solving, this study has not addressed data privacy. In a compelling study in [25], home energy management is considered based on reinforcement learning and artificial neural network (ANN). This paper assumes that the retail price, or in other words, the service provider, is fixed and predicted by the homes. The fundamental issue in this study is that the fully inactive retailer does not react to the variations in its environment with DR-enabled loads. Although DR is implemented from the load’s view by applying a learning approach and the load’s data privacy is preserved, the retail market and retailer reactions to the variations in its environment are not addressed. In [26], a combined DR program consisted of real-time and incentive-based DR is presented. The authors designed a trilevel Stackelberg game in which the power system operator seeks to minimize the incentive costs, while the retailers and users aim to maximize their profit and welfare, respectively. In an exciting work, a competitive market is designed consisting of prosumers and retailers such that all prosumers (as buyers and sellers) and retailers conduct peer-to-peer energy trading [27].
The studied articles are compared and classified in Table 1 regarding the use of learning in solving methods, data privacy protection, DR implementer side, and retailer pricing.
From the performed literature review, a study gap exists in this area as follows.
  • 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.
The conducted literature review on retail pricing suggests that DR is either neglected or performed by the operator in most studies. However, it seems that for prosumers’ privacy protection, DR should be implemented by the prosumers themselves. By using a distributed approach in this article, DR is considered from the perspective of the prosumers. In addition, many studies have integrated the optimization models of both beneficiaries to solve the problem of retailers’ interactions with prosumers. In general, the integration in optimization models means operator’s access to all information, which breaches the prosumers’ data privacy and thus is an unrealistic assumption. In reality, the retailer’s pricing in interaction with prosumers’ is solved as a distributed problem, and each prosumer as an intelligent agent can decide on optimal energy management based on its goal while exchanging minimum information. Based on the distributed approach presented in this article, the retailer and prosumers can be considered as completely separate agents that interact with each other by exchanging minimal information (i.e., the price signal from the retailer and the consumption signal from the prosumer). Furthermore, the proposed strategy for preserving data privacy is to forecast prosumers’ behavior in the market. Prediction becomes complicated when energy consumers have generation capability as well, meaning that they are prosumers. Learning is considered a powerful tool to deal with this issue, which is ignored in most studies. With the help of machine learning, this article has attempted to address this problem. Online learning allows retailers to predict prosumers’ behavior without having access to their private data.

1.3. Novelties and Contributions

This paper presents a novel model for retailer’s pricing in the smart grid environment. In the proposed model, the prosumers, as active consumers capable of generating, consuming, and storing energy, are regarded as new players in interaction with retailers. These prosumers can participate in the DR program voluntarily and without the retailer’s interference. In turn, the retailer benefits from online learning to predict the prosumer’s behavior in optimal pricing. Even though prosumers can exchange information with retailers regarding their energy consumption, it is important for them as a stakeholders in the market to keep more detailed information private, including the type and number of energy generators, the mechanism for responding to demand, and the type and quantity of storage devices. In this model, the distributed solving algorithm is applied to protect the prosumer’s information privacy. To do so, the retailer exchanges its proposed prices, whereas the prosumer only exchanges its demand quantity based on the proposed price. Each player (prosumer and retailer) individually solves its model in a distributed manner, needless of further information exchange.
This article makes the following 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

According to Figure 1, the wholesale prices in the day-ahead market are submitted to the retailer as a price signal. This paper aims to balance between two opposing objectives of minimizing the prosumer’s cost and maximizing the retailer’s profit. The retailer decides on sending the final optimal price by using the iterative learning method. Notably, this learning is online, meaning that the database becomes complete while executing the algorithm. Furthermore, given the retailer’s learning of the prosumer consuming behavior, the presented model fully protects the information privacy of the prosumer. The reason for this is that, unlike the conventional bilevel optimization models, the retailer has no access to information related to decision making and internal equipment of prosumers and decides on the optimal retail price only by relying on the received consuming signals from these loads in response to its submitted prices. Learning the consuming behavior model of prosumers in response to the retailer’s submitted prices is performed by creating a database based on both the retailer’s submitted price and the prosumer’s consumption after sufficient iterations. In the retailer’s decision-making model, the regulatory rules for submitting a fair price to prosumers are considered. In addition, thanks to smart meters, which enable mutual connection with the retailer, the prosumers can submit their optimal consumption for the day-ahead scheduling period. The prosumers’ decision-making model considers a variety of electricity and heat generation and storage units. Strikingly, in the proposed model, the prosumers’ load pattern is optimized by DR through load shifting by the prosumers, and the retailer plays no role in decision making, which protects the prosumers’ privacy. Furthermore, because the retailer and prosumers are modeled as two separate entities or agents connected through changes they make in the environment (sending signals to each other), the scalability and data privacy protection are addressed.

2.1. Modeling of Prosumer Energy Management

In light of the benefits of CHP systems, like pollution reduction and increased energy efficiency, CHP units are considered in the prosumer model in this section. The optimal pricing by a retailer is taken into account through modeling of the relationship between retailer’s pricing and prosumer’s consumed power, by using multivariate linear regression (MVLR) by the retailer. In the following, the prosumer energy management problem and prediction of its behavior by the retailer is presented.

2.1.1. CHP Model

CHP units are utilized for cogeneration of heat and power. The thermal and electrical output power of CHP is interdependent, and this relationship is shown by a curve known as a feasible operational region (FOR) [28]. In this paper, two types of curve are considered in the modeling. A detailed description of the modeling of these units is provided in the following [13]. Equations (1) and (2) determine the CHPs operating points in the FOR region [13], where P i , t c h p is the electrical power generated by the i-th CHP at time t, V i , t c h p is a binary variable showing the on or off state of the i-th CHP at time t, and H i , t c h p is the heat power generated by i-th CHP at time t. Equations (1) and (2) can be expanded to (3)–(16) separately for the first and second types of CHP. As the first type of CHP scheme in Figure 2 shows, Equations (3)–(7) describe feasible regions of first type CHP [13]. According to first type of CHP illustrated in Figure 2, Equation (3) shows the area below the AB line, whereas Equations (4) and (5) model the upper areas of the BC and CD lines, respectively. Equations (6) and (7) also describe the generation limits of electrical and thermal output power. As is evident from the second type of CHP scheme in Figure 2, Equations (8)–(16) describe feasible regions of second type of CHP [13]. According to Figure 2, the feasible region of second type CHP is nonconvex, and divided into two convex regions by decision variables X 1 , t and X 2 , t . The position of the CHP’s operating point is determined by two binary variables X 1 , t and X 2 , t . Hence, the operating point could be placed in either of the two areas dependent upon whether the CHP is on or off in that area, and this condition is expressed in Equation (14). The cost of CHP systems can be calculated from Equation (17). In this equation, λ N G is the price of natural gas and η c h p is the efficiency of CHP units. We have
P i c h p m i n H i , t c h p × V i , t c h p P i , t c h p P i c h p m a x H i , t c h p × V i , t c h p f o r i = 1 , , N c h p , t = 1 , , 24
H i c h p m i n P i , t c h p × V i , t c h p H j , t c h p H i c h p m a x P i , t c h p × V i , t c h p f o r i = 1 , , N c h p , t = 1 , , 24
P i , t c h p P i , A c h p P i , A c h p P i , B c h p H i , A c h p H i , B c h p H i , t c h p H i , A c h p 0
P i , t c h p P i , B c h p P i , B c h p P i , C c h p H i , B c h p H i , C c h p H i , t c h p H i , B c h p ( 1 V i , t c h p ) × M
P i , t c h p P i , C c h p P i , C c h p P i , D c h p H i , C c h p H i , D c h p H i , t c h p H i , C c h p ( 1 V i , t c h p ) × M
0 P i , t c h p P i , A c h p × V i , t c h p
0 H i , t c h p H i , B c h p × V i , t c h p
P i , t c h p P i , B c h p P i , B c h p P i , C c h p H i , B c h p H i , C c h p H i , t c h p H i , B c h p 0
P i , t c h p P i , C c h p P i , C c h p P i , D c h p H i , C c h p H i , D c h p H i , t c h p H i , C c h p 0
P i , t c h p P i , D c h p P i , D c h p P i , E c h p H i , D c h p H i , E c h p H i , t c h p H i , D c h p 1 X 2 , t × M
P i , t c h p P i , E c h p P i , E c h p P i , F c h p H i , E c h p H i , F c h p H i , t c h p H i , E c h p 1 X 1 , t × M
0 P i , t c h p P i , A c h p × V i , t c h p
0 H i , t c h p H i , C c h p × V i , t c h p
X 1 , t + X 2 , t = V i , t c h p
H i , t c h p H i , E c h p ( 1 X 1 , t ) × M
H i , t c h p H i , E c h p ( 1 X 2 , t ) × M
C O S T t c h p = i = 1 N c h p λ N G × P i , t c h p + H i , t c h p η c h p .

2.1.2. Model of Power-Only Unit

In this paper, microturbines are considered as power-only units. The equations related to the operation and cost of these units are given below [13]. Equations (18) and (19) express the power generated by power-only units. In these equations, P t , q , ξ p o is the output power of power-only unit q at time t and block ξ , P q , ξ M A X is the nominal power of block ξ of power-only unit q and N b is the number of blocks in unit q[13]. Equations (20) and (21) exhibit the limitations of generation ramp-up and ramp-down, respectively [13]. In these equations, U t , q p o is the spinning status of unit q at time t, R q u p is the ramp-up rate, and R q d o w n is the ramp-down rate. The minimum up and down times are modeled in Equations (24) and (25) by using the auxiliary binary variables U p q , m and D n q , m [13]. In addition, Equations (22) and (23) express the minimum up- and downtime constraints. The cost function of the power-only units is presented as piecewise linear, as shown in Figure 3 and Equation (26). We have
0 P t , q , ξ p o P q , ξ M A X P q , ξ 1 M A X q , t , ξ = 2 , , N b
0 P t , q , 1 p o P q , 1 M A X q , t
ξ = 1 N b P t , q , ξ p o ξ = 1 N b P t 1 , q , ξ p o R q u p × U t , q p o q , t
ξ = 1 N b P t 1 , q , ξ p o ξ = 1 N b P t , q , ξ p o R q d o w n × U t 1 , q p o q , t
U t , q p o U t 1 , q p o U t + U p q , m , q p o q , t , m
U t 1 , q p o U t , q p o 1 U t + D n q , m , q p o q , t , m
U p q , m = m m M U T q 0 m M U T q
D n q , m = m m M D T q 0 m M D T q
C O S T t p o = q = 1 N p o ξ = 1 N b λ q , ξ p o × P t , q , ξ p o t .

2.1.3. Model of Heat-Only Unit

In addition to CHP and heat storage systems, the heat-only unit is used to generate heat power. Equations (27) and (28) demonstrate the constraint and cost of heat production in this unit, respectively [24]. We have
0 H t h o T H h o , m a x t
C O S T t h o = λ h o × H t h o t .

2.1.4. Model of the Electrical Storage System

The constraints of the electrical storage system are given in Equations (29)–(34). Equation (29) expresses the energy and initial conditions of energy-storage systems. Equations (30) and (31) describe the limitations of charge and discharge, respectively. Equation (32) shows the upper and lower limits of stored energy in the energy-storage system. Concerning the infeasibility of simultaneous charge and discharge, the corresponding constraint is shown in Equation (33). The dynamic energy model of energy storage is also given in Equation (34) [29]. We have
X t 0 b = X 0 b
P t c h a r g e P c h a r g e m a x × U t c h a r g e
P t d i s c P d i s c m a x × U t d i s c
X b m i n X t b X b m a x
U t c h a r g e + U t d i s c 1
X t b = X t 1 b + γ × P t c h a r g e P t d i s c η .

2.1.5. Model of the Heat Storage System

Equations (35)–(38) represent the heat storage model. Equation (35) describes the storage constraints. Equations (36) and (37) express the limitations related to charging and discharging, respectively, and the energy balance associated with thermal energy storage is shown in (38) [29]. We have
B m i n B t B m a x
0 H t b , c H b , c , m a x
0 H t b , d H b , d , m a x
B t = B t 1 + η b , c × H t b , c H t b , d η b , d .

2.1.6. Model of Demand Response

In this paper, the demand response model is assumed as load shifting at times of higher market prices. Equation (39) describes the power demand following a demand response. Equation (40) describes load shifting, Equation (41) expresses that the sum of loads in 24 h cannot change, and Equation (42) demonstrates the limitation of demand response per hour [30]. We have
P t D R = P t D + l d r t
l d r t = D R t × P t D
t = 1 24 l d r t = 0
D R t m i n D R t D R t m a x .

2.1.7. Heat and Power Balance Constraints

Equation (43) indicates the limitation of the electrical power balance in the considered problem. In this relation, P t is the purchased power from the retailer. Similarly, Equation (44) shows the limitation of the thermal power balance in this problem. WE have
i = 1 N c h p P i , t c h p + q = 1 N p o ξ = 1 N b P t , q , ζ p o + P t d i s c P t c h a r g e + P t = P t D R
i = 1 N c h p H i , t c h p + H t h o + H t b , d H t b , c = H t d e m a n d .

2.1.8. Objective Function in Prosumer Energy Management Model

The objective of this problem is to minimize the costs associated with the prosumer. The considered objective function is given in Equation (45). The first term in this relation is CHP costs, the second and third terms show the power-only and heat-only unit costs, respectively, and the last term is related to purchasing load from the retailer. We have
O b j e c t i v e F u n c t i o n = M i n t = 1 24 ( C O S T t c h p + C O S T t p o + C O S T t h o + ( λ t P t ) .

2.2. Retailer Prediction by Using Multivariate Linear Regression

The multivariate linear regression model is defined in (46). Response variables are variables that we aim to predict. In addition, predictor variables are variables by which the response variables are predicted. In (46), for j = 1 , , n , we have m 2 response variables as Y 1 , , Y m and p predictor variables as x 1 , , x p . B (coefficients matrix) and ϵ j (Bias matrix) also should be estimated. For this purpose, in the proposed model, we regard y j and x j as prosumer-consumed powers, and retailer’s suggested prices, respectively. The absolute values of error are minimized in matrix laboratory (MATLAB) to estimate the proposed model values. Equation (46) is rewritten in the form of (47) to apply it to the considered retail problem. In this equation, P j h is the load-consumed power at time h and dataset j, and λ j h is the retailer’s pricing at time h and dataset j. With the learning and estimation of coefficients, the retailer can predict the model of prosumer’s behaviors toward its suggested prices and, eventually, offer optimal prices according to the learned model. The reason for using this method is that the obtained values by this method can easily be entered into the general algebraic modeling system (GAMS) environment and perform the retailer profit maximization. The ANN method can also be employed to predict the prosumer’s behavior. In this case, the retailer profit optimization problem is required to be addressed by using optimization heuristic methods, such as PSO, which takes a substantial amount of time to converge [2]. We have
y j = B T x j + ϵ j
P 1 j . . . P 24 j = b 1 , 1 b 1 , 24 . . . b 24 , 1 b 24 , 24 λ 1 j . . . λ 24 j + P 1 j 0 . . . P 24 j 0 .
The retailer profit maximization problem with prosumer’s behavior prediction is obtained from (47), in the form of Equation (48) along with Equation (49), which shows the constraint for controlling the retailer’s pricing. We have
max λ 1 , , λ t P t + P f t T λ t λ g t
s.t.
λ m i n λ t λ m a x 1 t i = 1 t λ t = 1 t i = 1 t λ g t .
The second part of Equation (49) assumes that the sum of prices declared by the retailer to the load at 24 h equals the sum of prices that it purchases from the wholesale during this period as a regulatory contract. It should be mentioned that GAMS software solves this nonlinear programming (NLP)-type optimization problem.

2.3. Putting the Pieces Together

Due to expensive computational overhead, the GAMS software coupled with MATLAB is used to solve the proposed problem, as shown in Figure 4. From this figure, the retailer first makes its initial proposal to the prosumer in the GAMS environment; then the prosumer announces its estimated power consumption to the retailer considering cost minimization. The retailer creates a database of the prosumer’s estimated power demand and its announced prices in MATLAB and learns the prosumer behavior model by using the multivariate linear regression method. Ultimately, the retailer maximizes its profit by determining the retail price based on both the learned model and the amount of fixed power to supply, and then announces the new price to the prosumer. This process will continue until the stopping criterion is reached. In this method, the retailer’s database becomes more extensive as the number of iterations increases, and the retailer can achieve a more accurate estimation of the prosumer’s behavior which ensures the convergence of the retailer’s profit and prosumer’s costs.

3. Simulation Results

To further illustrate the efficacy of the proposed approach, two case studies are presented and compared with each other for demand response in this section. We assume 30% and 10% demand response for the first and second case studies, respectively, which reflects the extent of demand response to the retailer’s suggested prices.

3.1. Data

In the prosumer energy management problem, two CHP types are assumed based on data from Table 2 [13]. Table 3 shows data related to power-only units [8], and data associated with the electrical [8] and thermal storage are given in Table 4 and Table 5, respectively. Figure 5 displays the thermal and electrical power demand in the prosumer problem [13] and also the retailer’s fixed electrical load [10].

3.2. First Case Study: 30% Demand Response

The first case assumes that the prosumer can vary its declared consumption as much as 30% per hour; however, the sum of consumed powers after demand response in 24 h equals the sum of initial power due to the regulatory contract. In other words, only load shifting occurs during certain hours. Figure 6 illustrates the retailer pricing, the predicted initial load as well as the type of demand response to the retail prices. As is evident, from 1 to 9 a.m. and from 10 to 12 p.m., the prosumer decides to increase its demand due to low retail prices. On the contrary, during midday from 3 to 9 p.m., when the retailer raises its price, the prosumer responds to this behavior by decreasing demand through demand response. From 10 a.m. to 2 p.m. because of approximately equal retailer prices, the prosumer displays a volatile behavior around its predicted initial load.
Figure 7 shows the production share of electrical power from its production sources, electrical storage charging, and discharging and power supplied per hour by the retailer. This figure displays the prosumer’s power supply behavior from its production units considering the retailer’s prices. At 4, 5, and 24 o’clock when the retailer’s price is low, the prosumer has stored the electrical energy and consumed it at 4, 5, 6, and 8 p.m. to purchase less power from the retailer due to its high prices. It is noteworthy that as the prosumer has to deliver the initial amount of charge received from storage at the end of the day, we have storage recharging at midnight. In addition, because of the high retailer’s prices at 1 and 3 to 6 p.m., the prosumer has preferred not to purchase from the retailer. At all hours, the prosumer has supplied a portion of its power from power-only units owing to their low cost. Moreover, at hours during which the retailer’s price has increased, the prosumer has preferred to supply a portion of its power from CHP units.
The key point of this study is that the retailer’s profit and cost of the prosumer problem reach equilibrium and converge by using the proposed algorithm, as depicted in Figure 8. This means that the proposed method is effective, and demonstrates that both prosumer and retailer have reached a balance in their interactions, and do not intend to change one another’s strategies. The retailer’s profit obtains convergence to a profit equal to $50.2 after an appropriate number of iterations. As is clear, the prosumer cost converges similarly to the value of $3723 after a proper number of iterations. There are also some fluctuations in profit and cost plots before 82nd iteration, associated with the prediction error of the multivariate linear regression method.

3.3. Second Case Study: 10% Demand Response

This case assumes that a prosumer can vary its declared consumption by as much as 10% per hour. In the following, we present and discuss the obtained results for this case. Figure 9 illustrates retailer pricing and type of demand response to these prices. As is evident, during hours of 1 to 12 a.m. as well as 11 and 12 p.m., due to low retail prices, prosumer decides to increase its demand; however, in remaining hours that the retailer’s price rises, the prosumer responds to this behavior by decreasing its demand. As is evident, because of the lower demand response, the distance of demand response type from its predicted power is lower than the Figure 6.
Figure 10 shows the production share of electrical power from its production sources, electrical storage charging, and discharging and power supplied per hour by the retailer. Concerning the reduced amount of demand response in this case, as compared with Figure 7, the prosumer has purchased an amount of its electrical power from the retailer in all hours. Moreover, the storage is charged at 5, 6, and 24 o’clock, when the retailer’s price is low and is discharged at 17 and 18 o’clock when the retailer’s price is high. As shown in Figure 11, in this case, similar to the first case study, both the retailer’s profit and the cost of the prosumer problem converge. Due to the decreased demand response, the retailer’s profit rises by a value of $55.66; however, the prosumer costs also grow by an amount of $3908. This means that the more activity and price sensitivity of the prosumer decreases, the higher the retailer’s profit and the higher the prosumer’s costs.
Figure 12 shows the prediction error of the multivariate linear regression method. Here, prediction error is evaluated by the mean absolute error (MAE) method. As is evident, the prediction error is low at initial iterations owing to the insufficient data, which reflects the accuracy of the prediction made by this method. As the iterations proceed, which also increases data, the error slightly rises; however, it eventually achieves convergence due to sufficient data. The prediction error converges to appropriate values of 5% and 2% for 30% and 10% demand responses, respectively. Needless to say, as prosumer behavior is more limited with regard to demand response, the retailer’s prediction error also declines in the 10% demand response case study. Notably, the maximum number of iterations is considered as n = 1000 to ensure convergence of the prediction error. Figure 13 displays the types of retailer’s pricing with respect to the purchase prices from wholesale. The correlation coefficient for wholesale and retail price plots is calculated to be 0.8836 and 0.8657 for 30% and 10% demand response, respectively. The results show a decrease in the calculated coefficient with demand response. The reason is that the increases in demand response force the retailer to declare prices closer to wholesale prices to the prosumer for increasing its maximum profit. Prosumer cost, retailer’s profit, and correlation coefficient of retail and wholesale prices are compared in Table 6. As is evident from the table, the retailer’s profit has decreased, along with the prosumer cost, with an increase in demand response. The retailer has been forced to declare prices closer to wholesale prices to achieve its expected maximum profit. As an example, in the 10% demand response case study, the prosumer cost decreased by 3.57%, compared to the case of no-demand response, whereas in the 30% demand response case study, this reduction reached 8.14%. Furthermore, as a result of the proposed distributed approach in this paper, the problems of the retailer’s profit maximization and prosumer cost minimization have been solved separately. With more demand response to its suggested prices, the retailer’s profit also dropped by 4.33% and 13.71% for 10% and 30% demand response case studies, respectively. In both case studies, the retailer’s profit and prosumer costs decreased with more demand response. Another issue is the preservation of prosumer privacy by the retailer. Although the retailer had no information about prosumer’s behavior and types of their demand response, still, with data increasing over iterations, it provided a more accurate estimation of the prosumer behavior model, and the proposed approach led to problem convergence for both case studies.

4. Conclusions

There has been an increase in data privacy concerns as new capabilities are enabled in the retail sector. Therefore, the purpose of this research is to respond to the important issue of data privacy and prosumer behavioral model privacy by using a heuristic method based on machine learning. The results and convergence of the presented algorithm allow us to provide a framework in which retailer and prosumer can communicate with minimal information exchange, in a way that the goals of both are achieved. In this paper, we developed a heuristic distributed modeling approach for studying the retailer’s behavior in day-ahead pricing, along with price-based demand response in prosumer problems. To evaluate the efficacy of the proposed model, two case studies were investigated, namely 30% and 10% demand response. By utilizing a multivariate linear regression method from the field of machine learning, the proposed approach was employed for distributed modeling at various levels. In spite of the fact that the retailer had no knowledge of the prosumer’s behavior and its decision-making model in the proposed model, with the increase of data in online learning, the retailer reached to a more accurate estimate of the prosumer’s behavior over time. The obtained results confirmed the efficacy of the proposed method. In general, as the demand response to retailer pricing increased, there was a subsequent decrease in the retailer’s profit and prosumer costs. The main results are summarized as follows.
  • 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

M.H.N.A.: Conceptualization, Mathematical Designing, Software, Data curation, Methodology, Visualization, Writing- Original draft preparation. M.M.: Conceptualization, Mathematical Designing, Software, Data curation, Methodology, Visualization, Writing- Original draft preparation. A.M.S.: Supervision, Conceptualization, Data curation, Reviewing and Editing, Funding Acquisition. H.S.: Supervision, Conceptualization, Reviewing and Editing. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

Sets
tSet of time intervals
iSet of CHP units
qSet of power-only units
ξ Set of blocks related to the operational cost of power-only units
jSet of the retail price and estimated power database
Parameters
CHP
N c h p Number of CHP units
λ N G Price of natural gas
η c h p The efficiency of CHP units
Power-only                         
P q , ξ M A X Rated power of block ξ related to the operational cost of
power-only unit q
R q u p Ramp up rate of power-only unit q
R q d o w n Ramp down rate of power-only unit q
M D T q Minimum down time of power-only unit q
N p o Number of power-only unit
N b Number of blocks related to the operational cost of power-only unit
λ q , ξ p o The power price of power-only unit q at block ξ
Heat-Only
λ h o The price of power of heat-only unit
T H h o , m a x Rated power of heat-only unit
Electrical Energy Storage (ESS)
P c h a r g e m a x The maximum charging rate of ESS
P d i s c m a x The maximum discharging rate of ESS
X b m i n The minimum level of energy in ESS
X b m a x The maximum level of energy in ESS
η Discharging efficiency of ESS
γ Charging efficiency of ESS
Thermal Energy Storage (TES)
B m i n The minimum level of energy in TES
B m a x The maximum level of energy in TES
H b , c , m a x The maximum charging rate of TES
H b , d , m a x The maximum discharging rate of TES
η b , c Charging efficiency of TES
η b , d Discharging efficiency of TES
Demand Response
P t D Electrical power demand before demand response in each hour
D R t m i n Minimum load shifting from desire demand in each hour
D R t m a x Maximum load shifting from desire demand in each hour
H t d e m a n d Thermal desire demand in each hour
λ t The retail price which is considered as a parameter in the prosumer
model in each hour
Retailer
λ g t The wholesale price in each hour
λ m a x Maximum price of daily wholesale prices
λ m i n Minimum price of daily wholesale prices
P f t Fixed load
BMatrix of predicting coefficients
P 0 Bias matrix
Variables
CHP
P i , t c h p The electrical output power of CHP unit i at time t
H j , t c h p The thermal output power of CHP unit i at time t
Power-Only
P t , q , ξ p o Output power of power-only unit q at time t, block ξ
U t , q p o Spinning state of power-only unit q at time t
Heat-only
H t h o The thermal output power of heat-only unit at time t
Electrical Energy Storage
P t d i s c Discharging power of ESS
P t c h a r g e Charging power of ESS
X t b Amount of energy stored in ESS
Thermal Energy Storage
H t b , c Charging power of TES
H t b , d Discharging power of TES
B t Amount of energy stored in TES
Demand Response
P t D R Demand after implementation of demand response
D R t Percentage of shifting load
P t Electrical demand, which is supplied by the retailer in each hour
Retailer
λ t Retailer prices in each hour

References

  1. 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]
  2. 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]
  3. 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]
  4. 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]
  5. 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]
  6. 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]
  7. 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]
  8. 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]
  9. 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]
  10. 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]
  11. 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]
  12. 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]
  13. 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]
  14. 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]
  15. 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]
  16. 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]
  17. 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]
  18. 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]
  19. 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]
  20. 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]
  21. 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]
  22. 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]
  23. 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]
  24. 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]
  25. 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]
  26. 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]
  27. 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]
  28. 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]
  29. 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]
  30. 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]
Figure 1. A proposed trading framework for retailer–prosumer interaction.
Figure 1. A proposed trading framework for retailer–prosumer interaction.
Energies 16 01182 g001
Figure 2. Feasible operational regions of the first and second types of CHP units.
Figure 2. Feasible operational regions of the first and second types of CHP units.
Energies 16 01182 g002
Figure 3. Piecewise linear approximation for the cost function of the power-only units [13].
Figure 3. Piecewise linear approximation for the cost function of the power-only units [13].
Energies 16 01182 g003
Figure 4. The proposed model of the retailer’s optimal bidding strategy in solving the CHP units allocation problem.
Figure 4. The proposed model of the retailer’s optimal bidding strategy in solving the CHP units allocation problem.
Energies 16 01182 g004
Figure 5. The plot of thermal and electrical power of prosumer and the retailer’s fixed load.
Figure 5. The plot of thermal and electrical power of prosumer and the retailer’s fixed load.
Energies 16 01182 g005
Figure 6. The demand response behavior of prosumer to the retailer pricing in a 30% demand response.
Figure 6. The demand response behavior of prosumer to the retailer pricing in a 30% demand response.
Energies 16 01182 g006
Figure 7. Share of supplying electrical power in a 30% demand response.
Figure 7. Share of supplying electrical power in a 30% demand response.
Energies 16 01182 g007
Figure 8. Retailer’s profit and prosumer cost convergence curve in a 30% demand response.
Figure 8. Retailer’s profit and prosumer cost convergence curve in a 30% demand response.
Energies 16 01182 g008
Figure 9. The demand response behavior of prosumer to the retailer pricing in a 10% demand response.
Figure 9. The demand response behavior of prosumer to the retailer pricing in a 10% demand response.
Energies 16 01182 g009
Figure 10. Share of supplying electrical power in a 10% demand response.
Figure 10. Share of supplying electrical power in a 10% demand response.
Energies 16 01182 g010
Figure 11. Retailer’s profit and prosumer cost convergence curve in a 10% demand response.
Figure 11. Retailer’s profit and prosumer cost convergence curve in a 10% demand response.
Energies 16 01182 g011
Figure 12. MVLR method error.
Figure 12. MVLR method error.
Energies 16 01182 g012
Figure 13. Retailer’s prices and its purchased prices from the wholesale market.
Figure 13. Retailer’s prices and its purchased prices from the wholesale market.
Energies 16 01182 g013
Table 1. A review of papers related to retailer’s pricing in interaction with the end user.
Table 1. A review of papers related to retailer’s pricing in interaction with the end user.
Ref.[14][23][17][16][24][15][18][19][20][25][26][21][22]Current Paper
Retailer Pricing----
DR (S/O)O-S-OOOOOSS--S
Data Privacy----------
Learning------------
O: Operator DR. S: Self DR.
Table 2. Parameters of CHP units.
Table 2. Parameters of CHP units.
ParametersFirst Type CHPSecond Type CHPUnits
η c h p 75 75 %
η i t r 97 97 %
ABCD ABCDEF
FORP2631954556 P142142120404848kW
H02101200 H03511869110kW Th
Table 3. Parameters of power-only units.
Table 3. Parameters of power-only units.
ParametersFirst UnitSecond UnitThird UnitUnits
Maximum output power150180200kW
Minimum output power000kW
λ 1 p o 0.0300.0370.044$/kWh
λ 2 p o 0.0360.0400.049$/kWh
λ 3 p o 0.0390.0450.054$/kWh
P 1 M A X 6080100kW
P 2 M A X 110120150kW
P 3 M A X 150180200kW
M U T q 222hour
M D T q 222hour
R q u p 8090100kW/h
R q d o w n 8090100kW/h
Table 4. Parameters of electrical energy storage.
Table 4. Parameters of electrical energy storage.
ParametersValueUnits
X b m a x 1000kWh
X b m i n 50kWh
P c h a r g e m a x 600kW
P d i s c m a x 600kW
χ 90%
η 80%
Table 5. Parameters of thermal energy storage.
Table 5. Parameters of thermal energy storage.
ParametersValueUnits
B m i n 0kW Th
B m a x 1000kW Th
H t b , c , m a x 20kW Th
H t b , d , m a x 20kW Th
η b , c 95%
η b , d 93%
Table 6. Comparison of demand response with prosumer cost, retailer profit, and correlation coefficient.
Table 6. Comparison of demand response with prosumer cost, retailer profit, and correlation coefficient.
Demand ResponseProsumer Cost ($)Retail Profit ($)Wholesale & Retail Price Covariance
30%372350.200.8836
10%390855.660.8657
No demand response405358.180.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.

Share and Cite

MDPI and ACS Style

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

AMA Style

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 Style

Nejati 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 Style

Nejati 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

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop