1. Introduction
Electricity market reforms optimize power resources allocation and reduce energy costs by introducing competition to the market [
1,
2,
3]. In the open electricity markets, power supply firms submit bids to compete with each other, and customers participate in demand response (DR) in order to reduce the power purchase costs.
Block bidding is a new market bidding mechanism. The basis of block bidding markets is the concept of “the same quality, the same price” [
4].
Figure 1 shows the comparison of hourly bidding mode and block bidding mode.
A and
B represent two power supply firms. In hourly bidding markets, firms submit bids for each time-slot, and the electricity prices at
,
, and
are, respectively,
,
, and
. However, firm
A is running at peak load and firm
B is running at base load; their generation costs are quite different. It is unfair for both of them to sell electricity at the same price of
in time-slot
. Therefore, block bidding mode is put forward to solve this problem. The new mode allows firms to submit bids for each block, and each block is traded at the same price. Generally, the division of blocks is based on the block duration. That is to say, firm
B submits bid for the blue block, and the block should be traded at the same price. When compared with the hourly bidding mode, block bidding mode can help to reduce the start-stop related generation costs [
5], and especially effective in countries or regions with large amounts of thermal power generation.
DR is a powerful tool for increasing market flexibility and decreasing energy costs. By customers’ participation in DR, the market demand curve can achieve peak shaving and valley filling effects [
6,
7,
8]. Power supply firms’ competition and customers’ DR can be considered as non-cooperative games. In a non-cooperative game, each player optimizes his/her own strategy to maximize his/her utility, when considering that other players’ strategies are fixed. The non-cooperative game will eventually converge to a solution, which is known as Nash equilibrium [
9]. In recent years, researching DR in competitive electricity markets from the perspective of game theory has become an important topic. On this issue, researches have been carried out on two different focuses.
One focus is the optimal bidding strategy of the power supply side, based on different market mechanisms: block bidding or hourly bidding. Shah et al. [
10] studied the Flexi type block bid in Nord Pool and proposed an optimal placing model of block bid execution time based on social welfare maximization. In Nord Pool, a block bid can only be accepted if its price is not higher than the average market price. Zak et al. [
11] considered that there is a dilemma in such market rules, because block bids selection as a primal solution cannot be properly exercised without knowing the prices as a dual solution. Therefore, they proposed a model harmonizing such complex “primal-dual” market rules. Ajay et al. [
12] proposed a profit maximization model for generators under block bidding rules and let each supplier use a probability distribution function for predicting the bidding prices of rivals. Unlike the complex and single form of block bidding, the hourly bidding mechanism has developed for a long time, and the bidding method is relatively flexible. Kamyab et al. [
13] employed a supply function bidding mechanism that was based on an hourly bidding rule to model the utility firms’ profit maximization problem. Chai et al. [
14] proposed a two-level non-cooperative game model, that each utility firm determines its generation amount and power price at each time-slot, and each customer chooses a firm to buy electricity. However, the existing block clearing rules in [
10,
11] use the price of hourly markets to settle block orders, which is complex and cannot fully reflect the advantages of block bidding, and the supply-side models do not consider firms’ generation costs and profits. Although Ref. [
12] takes utility firms’ profit into consideration, the prediction model of rivals’ block bidding price is rough and lacks demand-side feedback. Researches [
13] and [
14] are based on the hourly bidding mechanism, and they cannot reflect the relationship between block duration and generation costs, which are not applicable for block bidding markets.
The other focus in competitive electricity markets is the demand-side DR program, which is based on cooperative or non-cooperative game theory. Elghitani et al. [
15] proposed a method for residential demand aggregation to minimize the total consumption costs, based on a multi-class demand loads queuing system. Guo et al. [
16] proposed an optimal pricing strategy for retailers to maximize its profit and an optimal DR resources scheduling model for minimizing customers’ total electricity purchase costs, based on the block trading mode. Sanchez de la Nieta et al. [
17] modeled demand-side management as flexible block orders, and the market-clearing algorithm decides the accepted order according to the principle of social welfare maximization. Motalleb et al. [
18] modeled the competitive behavior among DR aggregators for selling excess energy in storage devices directly to other aggregators in a power market. Khanna et al. [
19] described a price-based DR methodology for the application of complete households incorporating key DR features, such as an electric vehicle and some smart residential appliances. However, most researches are based on cooperative game theory, such as [
15,
16,
17], which rely on an aggregator or a third-party algorithm to optimize customers’ load resources. Besides, the widely known block orders in [
17] is difficult for small scale residential customers to participate in. As for Refs. [
18,
19] based on the non-cooperative game theory, Ref. [
18] is not applicable for customers without storage devices. Although Ref. [
19] allows each customer to optimize its own demand loads through smart residential appliances, the mechanism is based on hourly-various prices.
In this paper, we improve the competitive block bidding market model on the above two focuses. On the optimal bidding strategy of the supply-side, we consider the advantages of block bidding and propose a supply curve bidding mechanism in block bidding markets. On the demand-side, we convert the block electricity price into the hourly price in order to meet the needs of different customers, and then propose a distributed demand-side model that combines block bidding markets into the hourly DR model. The whole electricity market is modeled as a double-sided non-cooperative game, which is composed of the supply-side game and the demand-side game. The main contributions can be summarized, as follows:
A novel supply function bidding model that is based on block duration and load capacity in block bidding markets, which realizes profit maximization of power supply firms and supply-demand balance at each time-slot.
A DR model in block bidding markets with hourly-various prices based on fixed load and shiftable load resources, which maximizes each customers’ daily payoff. The model combines the advantages of block bidding markets and hourly bidding markets, and it has great peak shaving effects.
A distributed market architecture and distributed iterative algorithm in block bidding markets, which can guarantee the double-sided non-cooperative game converge to the Nash equilibrium within limited iteration and time.
The rest of this paper is organized, as follows. The mathematical model of the double-sided non-cooperative game in block bidding markets is introduced in
Section 2. Solution approach of the distributed iterative algorithm is presented in
Section 3. The simulation results and analysis of the proposed model effects are shown in
Section 4.
Section 5 describes the conclusion and future works.
3. Solution Approach
The interaction diagram of the trading center, each firm, and each customer can be shown in
Figure 5.
We propose a distributed iterative approach for solving the double-sided non-cooperative game. The method will converge to the Nash equilibrium of supply-side and demand-side. We explain why the optimization problem of each firm and each customer can eventually converge to Nash equilibrium in the
Appendix A.
For each firm, iteration can be achieved by the gradient ascent method. It is on the contrary to the gradient descent, which is a first-order iterative optimization algorithm for obtaining the local maximum of a function [
21]. By deriving
with respect to
, we can obtain:
where
Subsequently, the iterative expression can be described as:
where
m denotes the iteration number and
is the step size.
For the demand-side game, the gradient can not be directly calculated due to the nonlinear mapping from the demand load curve to the divided load blocks in (
17). Therefore, the gradient is estimated by the finite forward difference. We apply the active set algorithm [
22] to solve the demand-side game model and [
23,
24] demonstrate how the algorithm converges to a local optimal solution that satisfies the constraints. The algorithm finds active constraints on decision variables in each generation, and establishes a direction of search at each iteration by processing the finite-difference. The iterative expression can be described as:
where
denote the iterative step size of the demand-side game,
denote the forward difference of customer
j, and
means to handle the finite-difference through the active set algorithm.
The block division method in (
1) and (
2) for the trading center in block bidding markets can refer to the Load Division Method in [
16]. This method is based on the principle of bottom-up, and the load blocks are divided in order from a long duration to short. It can be noted that, for each firm, the block-based price
and the sum of firms’ bids
should be informed by the trading center. For each customer, we assume the same block division method is applied in (
17). The trading center should inform the time-based price
and the sum of customers’ demands
in each iteration. The other necessary variables, such as
and
in (
16), can be calculated by (
3) and (
8).
The overall distributed iterative algorithm is described in Algorithm 1, where
denotes the convergence accuracy.
Algorithm 1 Distributed iterative algorithm of the double-sided non-cooperative game. |
- Require:
The initial demand load curve ; The initial strategic variables and ;
|
Parameters of the profit function (9) and the payoff function (15); |
- Ensure:
The optimal strategy for each firm and each customer; the block-based and time-based
|
electricity prices. |
- 1:
Initialize ,
|
- 2:
repeat
|
- 3:
The trading center informs and to each firm, and informs and
|
|
- 4:
for each firm i from 1 to N do
|
- 5:
;
|
- 6:
end for
|
- 7:
for each customer j from 1 to M do
|
- 8:
;
|
- 9:
end for
|
- 10:
The trading center calculates by ( 12)-( 13); divides load blocks and obtains ,
|
and ; calculates by ( 8); calculates by ( 3);
|
- 11:
;
|
- 12:
until, ,
|
- 13:
Each customer solves the shiftable loads’ positioning problem ( 21)-( 24) to obtain ;
|
- 14:
return the optimal solution , , and the electricity price , ;
|
4. Simulation and Analysis
In this section, we demonstrate the effectiveness of the proposed model and algorithm through two simulations. Firstly, we simulate a system of three firms and 10 customers to show the effectiveness of the proposed model on peak shaving, expenditure reducing, costs reducing, and welfare improving. Secondly, we analyze the convergence process of Algorithm 1 and simulate the algorithm for different number of firms and customers to show the applicability of the algorithm on large systems.
In the simulation of the double-sided non-cooperative game in block bidding markets, we divide a trading day into 24 time-slots, and each time-slot represents an hour. As illustrated in
Section 2.2, the positive coefficients
and
of cost functions for each firm are smaller when the block duration
h is longer.
Table 1 defines the ranges of
and
. The coefficients
of customers’ satisfaction functions is randomly selected in range [10, 13], and
is set to 0.5. The supply-side step size
is set to 0.001. The demand-side finite-difference step size
is set to 0.2, and the iterative step size
is dynamically set by the active set algorithm. The convergence accuracy
is set to
. The pre-chosen values of
are set to the intercept
of the marginal cost.
Customers’ demand load data are generated from real data in [
25]. Shiftable load resources are collected from [
26] and listed in
Table 2. The daily fixed load demands for each customer is about 67 kW·h to 124 kW·h. For each customer, there are about 4–10 shiftable loads, the power demands of shiftable loads are about 15–20% of their daily total demands. Without a loss of generality, shiftable loads’ time frame
are set to [1, 24]. Simulation is realized on MATLAB platform. Demand-side active-set algorithm is executed by fmincon [
27], and positioning problem (
21)–(
24) is solved by Yalmip [
28] and Cplex [
29]. The data of fixed loads and shiftable loads and the programs of this system are attached in [
30].
4.1. Case Study
In this subsection, we simulate and analyze two cases. Without DR case is the solution without customers’ DR, but only firms’ optimal bidding. With DR case is the optimal solution of Algorithm 1.
Figure 6 shows the aggregate fixed and total demand load curves with and without DR. From the aggregate load curve during 14:00–22:00, we can notice that the proposed model with DR can greatly achieve peak shaving. The peak load without DR is 69.05 kW, and decreases to 50.99 kW with DR. Many loads at peak hours are moved to valley periods by customers, and the overall load curve is significantly flattened. The 24-h load power without DR is 27.78 kW, and becomes to 39.48 kW with DR. Moreover, in time-slots with similar prices, shiftable loads for each customer are shifted to time-slots with higher
.
Figure 7 show the daily payoff for customers 1–10 with and without the DR program. By participating in DR, customers’ payoff increases a lot. The daily payoff of each customer with DR is around 4.77 times of its value without DR. Customers’ different payoff are due to their different satisfaction functions.
Moreover, the daily bill of customers decreases with DR.
Figure 8 shows the bill of customers 1–10. Each customer’s daily bill with DR is around 65% of its value without DR. In other words, customers can save approximately 35% of electricity expenses by participating in DR.
In the supply-side game,
Figure 9 shows firms’ daily costs. With the DR program, the costs of each firm can obtain an average decrease of about 35.24%. This is because the total load curve becomes flatter, and the 24-h load capacity increases a lot. Longer duration load blocks can help to reduce start–stop expenses and obtain lower generation costs. Meanwhile, by the optimal bidding of power firms, their daily revenue is also maximized.
Figure 10 shows the market time-based electricity price. It can be seen that the overall trend of electricity prices is similar to the aggregate load curve shown in
Figure 6. The daily electricity prices become flatten with DR, and the price variance decreases from 14.1708 to 0.4012. Furthermore, the average price without DR is 7.8906
$/(kW·h) and it decreases to 5.7913
$/(kW·h) with the DR program. Therefore, the proposed model has a positive significance for reducing the market electricity prices.
We assess the market performance with and without DR by comparing total customer expenditure, generation costs, and social welfare. The results are listed in
Table 3, where social welfare is calculated by the following equation:
According to
Table 3, customers’ participation of DR can improve the social welfare, while greatly reducing the electricity expenditure and generation costs. Although the maximization of social welfare is not considered in the mathematical model, the results show the positive effect of the proposed model on society. This is a win–win situation for all parties. Each firm and each customer only care about their own utility, but brings about a 10% increase in social welfare.
4.2. Convergence Characteristics and Model Scale
The convergence ability of an algorithm is a key factor for measuring its performance, and determines whether the model can be applied to a larger system. Therefore, we analyze the convergence characteristics of Algorithm 1 in this subsection.
Figure 11 shows the convergence process of firms’ bids on the 24-h load block. It can be seen that the bids start from the same initial values and converge to the Nash equilibrium. Firms have different optimal bids, because they have different generation cost functions. The algorithm converges in 71 iterations with about 77 s. The convergence time is closely related to the step size setting.
In order to better reflect the computational complexity of the proposed algorithm, we simulate the algorithm for different number of firms and customers, and present the relationship between the convergence time and the system scale in
Figure 12. It can be seen that, as the number of customers increases, the solution time increases linearly. For a system of 150 customers, the solution time is within 5000 s. Each firm and each customer should optimize their own strategy, but we use FOR-loop to solve the distributed algorithm in simulation, as expressed in Algorithm 1. Therefore, the actual distributed solution time will be much shorter than the results that are shown in
Figure 12.
4.3. Energy Policy Discussion
In the Nash equilibrium of the double-sided non-cooperative game, each firm obtains the optimal slope
of supply curve for each block duration, which corresponds to the power supply
for each block.
Table 4 shows part of the obtained optimal operation strategy of Firm 1.
It can be noted from
Table 4 that the power supply, running duration, running time-slots, and electricity prices are all settled down by the Nash equilibrium. Therefore, firms do not need to solve further optimization problems in order to obtain the operating strategy for generation units. Instead, they can easily arrange units’ operation, for example, let a unit running from one to 24 time-slots at 13.3622 kW. In addition, the price is closely related to the power generation cost of each block, so it can well reflect the core idea of “the same quality, the same price”.
After obtaining the Nash equilibrium solution, each customer in the non-cooperative game solves the shiftable loads’ positioning problem (21)–(24) to obtain the exact operating time-slots of shiftable loads.
Figure 13 shows the positioning results of shiftable loads.
From
Figure 13, it can be noted that the positioned curve will not deviate much from the Nash equilibrium solution, and the error is within the allowable range. By executing the payoff maximization problem and the positioning problem, each customer can obtain their own strategy.
Table 5 shows part of the obtained optimal strategy of Customer 1.
As can be seen, each shiftable load of this customer is arranged with specific running time-slots, satisfying the running duration constraints. Most shiftable loads are scheduled to time-slot 2 and 24. This is because the power of fixed loads during these two time-slots are lower, and the satisfaction coefficient is relatively higher. However, letting each customer manually execute the decision according to the table is not easy. Therefore, the strategy puts a high demand on smart meters and smart homes. With the popularity of intelligent household appliances, customers can easily obtain the maximum payoff while getting rid of switching appliances.
5. Conclusions
This paper studies the non-cooperative game behavior of multiple firms and multiple customers in competitive block bidding markets. Under the block market rules, the demand load should be divided into continuous blocks and traded at block prices. We propose a distributed market architecture, and the trading center is responsible for converting block-based prices to hourly-various prices. The supply-side game is based on supply function bidding for each block, and it realizes each firm’s profit maximization. The demand-side game considers fixed loads and shiftable loads, and it achieves each customer’s payoff maximization. The positioning model for each customer is used to determine the actual operating time-slots of shiftable loads. We propose a distributed iterative algorithm that is based on gradient ascent and active set to solve the double-sided optimization problem. The proposed model is applied on an actual case and is simulated based on real data. Simulation results show that the proposed model with DR can greatly achieve peak shaving, and the overall load curve is flattened. Customers’ electricity expenditure and firms’ generation costs both reduce a lot, and the social welfare is significantly improved meanwhile. Besides, the model has a positive significance for reducing the market prices. The distributed algorithm can converge to Nash equilibrium in large systems within acceptable iteration and time. In the Nash equilibrium, each firm can easily arrange units’ operation without solving further optimization problems, and each customer can obtain the specific running time-slots of shiftable loads.
In the future, we will model both block bids and hourly bids in electricity markets. In addition, we will compare the effects of the two mechanisms on peak shaving, energy cost-reducing, and social welfare improving with real scenarios and data.