Next Article in Journal
Physicochemical Properties of Guava Snacks as Affected by Drying Technology
Next Article in Special Issue
Systematic Boolean Satisfiability Programming in Radial Basis Function Neural Network
Previous Article in Journal
A Dynamic Active Safe Semi-Supervised Learning Framework for Fault Identification in Labeled Expensive Chemical Processes
Previous Article in Special Issue
Optimization of the Technology Transfer Process Using Gantt Charts and Critical Path Analysis Flow Diagrams: Case Study of the Korean Automobile Industry
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Two-Stage Optimal Scheduling Model of Microgrid Based on Chance-Constrained Programming in Spot Markets

1
School of Economics and Management, North China Electric Power University, Beijing 102206, China
2
Power Generation Department, Fujian Yongfu Power Engineering Co., Ltd., Fuzhou 350108, Fujian, China
3
School of Economics and Management, Yan’an University, Yan’an 716000, Shanxi, China
*
Author to whom correspondence should be addressed.
Processes 2020, 8(1), 107; https://doi.org/10.3390/pr8010107
Submission received: 26 November 2019 / Revised: 30 December 2019 / Accepted: 10 January 2020 / Published: 14 January 2020
(This article belongs to the Special Issue Advances in Sustainable Supply Chains)

Abstract

:
Aimed at the coordination control problem of each unit caused by microgrid participation in the spot market and considering the randomness of wind and solar output and the uncertainty of spot market prices, a day-ahead real-time two-stage optimal scheduling model for microgrid was established by using the chance-constrained programming theory. On this basis, an improved particle swarm optimization (PSO) algorithm based on stochastic simulation technology was used to solve the problem and the effect of demand side management and confidence level on scheduling results is discussed. The example results verified the correctness and effectiveness of the proposed model, which can provide a theoretical basis in terms of reasonably coordinating the output of each unit in the microgrid in the spot market.

1. Introduction

Compared with the medium-term and long-term market, the spot market of electric power mainly includes electricity commodity trading with finer time granularity within a few days before and during the day [1], which can form a time-of-use electricity price reflecting the real production cost of commodities and represent the actual situation of power supply and demand. Thus, it can improve the timeliness of power resource allocation and play a vital role in the power market system [2,3].
With the issuance of the Notice on Carrying out the Pilot Work of Power Spot Market Construction by the National Development and Reform Commission (NDRC), the construction of China’s power spot market has officially started. As of June 2019, the first batch of eight power spot market pilot projects have all started their simulation test run, which indicates that the construction of a power spot market with Chinese characteristics has achieved positive results. Under the background of accelerating the construction of a power spot market, research on how to guide the reasonable decision-making of transaction participants can be conducive to not only achieving the maximum economic benefits of each subject, but also the entire market’s efficient allocation of resources, which can ensure the orderly economic operation of the spot market and has important theoretical significance and practical value [4,5,6].
The spot market transaction mainly includes two kinds of participants: the power generation subject and power consumption subject. As the traditional thermal power units are more involved in the peak load regulation auxiliary service market [7], the research on spot market decision-making for power generation focuses on renewable energy producers. However, renewable energy generation has the characteristics of being intermittent and uncertain, which leads to the failure of renewable energy generation companies to formulate transaction declaration strategies by the declaration model of conventional power generation enterprises. In view of the above problems, the literature [8] assumes that wind power generation enterprises are the price receivers in the spot market, and fully considering the uncertainty of the wind turbine (WT) output and clearing price, the optimal output model of wind power plants by using stochastic simulation technology can be constructed. In [9], based on the study in [8], a penalty coefficient was introduced to punish the deviation between the real-time market output and daily market declared volume. Taking the maximum total profit as the objective function, a stochastic optimization model of wind power business in the two-stage market was constructed. This model fully considers multiple market stages and uncertain factors, further optimizing the declaration strategy of wind power suppliers.
In addition, with the progress of energy storage technology, a variety of energy storage system (ESS) has been continuously studied to reduce the renewable energy output’s uncertainty. In [10,11], by virtue of the ESS’s flexible charging and discharging function, the coupling between the ESS and the wind farm was realized. By establishing the linear affine function between the electricity market price, the wind power predicted output deviation, and the power of the ESS charge and discharge, the stochastic optimization declaration strategy of WT was proposed. In [12], considering both the randomness of the wind power output and the uncertainty of the spot price, a hybrid power plant’s two-level stochastic optimization model consisting of wind power suppliers and electric vehicles was proposed, which could effectively reduce the bidding risk and increase the profit of the hybrid power plant.
In research on the spot market decision-making of consumers, the main goal is to minimize the purchase cost of the electricity sellers or large users. In [13], a short-term planning model was proposed to predict the load curve under the real-time electricity price, which fully considers the fluctuation of the user load and market electricity price. A day-ahead decision-making model of the electricity sellers based on stochastic optimization was established. In the study by [14], based on [13], the demand response of sensitive users was introduced, considering the uncertainty of the spot price and the consumer behavior of users. The day-ahead market quotation strategy model of selling by the electricity supplier was constructed. In [15,16], based on robust optimization and stochastic mixed integer programming, the optimal power purchase decision-making and quotation decision-making models for the day-ahead market of selling by the electricity supplier were proposed.
The above research on the optimization decision of the spot market only involves a single subject and fails to form the link between the generation side and the power consumption side. As the link between the power load and distributed energy in a microgrid integrates multiple system resources, it can simultaneously carry out energy supply and demand response, realizing the efficient allocation of power resources, so it has unique advantages in the process of participating in the spot market. In [17], aiming at maximizing the real-time market profit of the microgrid, each unit of the microgrid’s bidding strategies were studied under two bidding mechanisms. However, the demand response of the microgrid load was not considered and the users’ potential was not fully explored. In [18], the price response model of a sensitive load was introduced. Aimed at minimizing the expected net cost, a hybrid stochastic robust optimization model was proposed. However, the penalty cost caused by an unbalanced power in the real-time market of microgrid was ignored, and research on the two-stage market transaction of day-ahead and real-time is lacking. To sum up, there have been a few studies on microgrids participating in spot market transactions, and there are still some deficiencies.
Compared with the existing research, the innovation of this paper lies in the following points. First, in the microgrid spot market decision-making issues, it fully considers the fluctuation of the stochastic micro-source output and spot market electricity price and discusses the economics and reliability of simultaneous optimization on both sides of supply and demand. Second, it employs stochastic simulation technology to transform the optimal scheduling problem into a problem with maximum system revenue under a certain confidence level and also uses the particle swarm optimization (PSO) algorithm to solve it effectively. Third, it optimizes the microgrid scheduling by changing the objective function and constraining the confidence level to meet the decision-makers of different risk preferences.
The rest of this manuscript is organized as follows. In Section 2, considering the uncertain output of the WT and photovoltaic (PV), a microgrid energy management system integrating wind–PV–load-storage was established, which is the technical basis for building a two-stage scheduling model of a microgrid. Section 3 discusses the process of the microgrid participating in the spot market, according to the operation rules of China’s power spot market and microgrid construction methods. On this basis, a microgrid two-stage optimal scheduling model based on the stochastic chance constraint was constructed, which takes the predicted power of renewable energy generation and the predicted price of the spot market as random variables. In Section 4, the stochastic simulation technology is used to deal with the random variables in the model, and then a PSO algorithm suitable for solving this model is proposed. Section 5 introduces the simulation results, verifies the validity of the model, and discusses the effect of demand side management and confidence level on scheduling results. Section 6 highlights the main conclusions of this paper.

2. Microgrid System Model Considering Randomness of Power Supply Output

A microgrid is a small-scale power generation and distribution system including distributed power supply, user load, ESS, and control system. Each unit is connected to each other by power electronic devices and is connected to the public power grid through static switches, which can realize a flexible conversion between the grid connection and grid disconnection. The structure of the microgrid system is shown in Figure 1.
As shown in Figure 1, random micro-sources with uncertain output such as WT and photo voltaic are given priority to generate power to provide the electrical energy required for internal loads. ESS improves the power supply rejection ratio of random micro-sources through low storage and high-discharge, and controllable micro-sources such as diesel generator (DG) provide backup services when random micro-sources and the ESS cannot meet the load demand.

2.1. Stochastic Power Supply Output Model

2.1.1. Stochastic Output Model of Wind Turbine

Due to the influence of wind energy quality in different periods, the output power of WT often tends to be intermittent. Through statistical research on a large number of measured data, the two-parameter Weibull distribution is widely used to fit the distribution of the actual wind speed [19], and the probability density function can be expressed as:
f W T ( v ) = k c ( v c ) k 1 e ( v c ) k
where v is the wind speed; k is a shape parameter, and its value fluctuates in the range of 1.8–2.8 according to the specific situation of wind energy resources; and c is a scale parameter reflecting the average wind speed during the period.
The relationship between the output power of the WT and the actual wind speed v is as follows:
P W T = { 0 v < v c i , v v c o v 3 v c i 3 v r 3 v c i 3 p r v c i v < v r p r v r v < v c o
where P W T is the output power of the WT; v c i and v c o represent the cut-in wind speed and the cut-out wind speed, respectively; p r is the rated power of the WT; and v r is the rated wind speed.

2.1.2. Stochastic Output Model of Photovoltaic

Like wind energy resources, the light and temperature received by PVs will constantly change due to the characteristics of solar radiation distribution, which results in the great uncertainty regarding its output. Related research shows that the solar illumination intensity approximately obeys a Beta distribution in a certain period of time [20]. Its probability density function can be expressed as:
f P V ( l ) = Γ ( a l + b l ) Γ ( a l ) Γ ( b l ) ( l l max ) a l 1 ( 1 l l max ) b l 1
Γ ( x ) = 0 e t t z 1 d t z > 0
where l is the solar irradiance; a l and b l are the shape parameters; and l max is the maximum irradiance.
The relationship between the output power of the PV unit and the solar irradiance can be expressed as:
P P V = l S P V η
where P P V is the output power of PV units; S P V is the total area of PV units; and η is the photoelectric conversion efficiency of PV units.

2.2. Controllable Power Supply Output Model

Distributed power generation with a controllable output is generally composed of small power generation equipment such as DG and a gas engine generator, and has the advantages of a fast start–stop speed (only 15 s) and stability. It often provides backup assistance for microgrid systems when the new energy unit and the ESS cannot meet the load demand. Therefore, its power generation is jointly determined by the user power load, the output of the new energy unit, and the ESS discharge power. By using linear function to simplify the operation cost of the controllable micro-sources and ignoring its climb and start–stop constraints [21], the following cost functions and constraints can be established:
C c = τ = 1 ϖ n = 1 N s = 1 S C c , n , s A Q c , n , s , τ
0 Q c , n , s , τ Q c , n , s R Q c , n , s 1 R
0 Q c , n , 1 , τ Q c , n , 1 R
where ϖ is the number of all-day spot market hours; S is the total number of segments of piecewise linear operation cost; C c is the operating cost of the controllable unit; N is the total number of controllable units; C c , n , s A is the average power generation cost of unit n at the segmentation of s; Q c , n , s , τ is the power generation capacity of unit n at the segmentation of s in the time period of τ ; and Q c , n , s R is the rated power generation capacity of unit n at the segmentation of s.

2.3. Energy Storage System Model

ESS can realize the energy transfer of a microgrid system through ESS, and release and optimize the microgrid power output curve to adapt to the price change in the spot market and ensure the economic operation of the microgrid. Under the current energy storage technology conditions, the microgrid ESS still mainly uses battery energy storage. The state of charge can be expressed as:
{ S O C τ = S O C τ 1 Q b , τ η o u t × W b Q b , τ 0 S O C τ = S O C τ 1 Q b , τ × η i n W b Q b , τ < 0
where S O C τ is the state of charge of battery energy storage in the time period of τ ; Q b , τ is the charge and discharge amount of the ESS in the time period of τ ( Q b , τ is positive for battery discharge and negative for battery charge); η i n and η o u t are the charge and discharge efficiencies respectively; and W b is the battery energy storage capacity. The charging and discharging constraints and power constraints of ESS [22] can be expressed as:
{ S O C min S O C τ S O C max 0.25 W b Q b , τ 0.4 W b
where S O C min is the lower limit of the state of charge, preferably 0.2; and S O C max is the upper limit of the state of charge, preferably 0.9.
The operating cost of the ESS can be expressed as follows:
C b = τ = 1 ϖ μ b | Q b , τ |
where C b is the depreciation loss cost generated by battery energy storage’s charging and discharging and μ b is the battery loss coefficient.

2.4. User Demand Response Model

In order to avoid the uncertain risks brought by the spot market and realize the optimal allocation of power resources, a microgrid can use demand side management to encourage electricity users to change their electricity consumption behaviors in order to optimize the load curve. Among them, the TOU (time-of-use) price is one of the most effective ways to guide users to participate in load regulation. According to micro-economic principles, the relationship between electricity consumption and electricity price can be described by the elasticity of power price [23]. The transfer of electricity consumption by users due to participation in the TOU demand response can be expressed as:
Q τ = Q τ 0 × { 1 + e τ τ × [ P τ P τ 0 ] P τ 0 + ς = 1 ς τ 24 e ς τ × [ P ς P ς 0 ] P ς 0 }
e ς τ = Δ Q ς / Q τ 0 Δ P τ / P τ 0
where Q τ 0 , Q τ , P τ 0 , and P τ are respectively the user’s electricity consumption and electricity price in the time period of τ before and after the demand response; P ς 0 and P ς are the user’s electricity price at the hour of ς before and after the demand response, respectively; e τ τ and e ς τ are the self-elasticity and the cross-elasticity, respectively; and Δ Q τ and Δ P τ are the change of electricity consumption and electricity price in the time period of τ , respectively.
The cost of implementing demand side management for a microgrid can be expressed as:
C d = τ = 1 ϖ P τ 0 Q τ 0 P τ Q τ

3. A Two-Stage Scheduling Model of a Microgrid Based on Chance-Constrained Programming in Spot Markets

3.1. The Mechanism of a Microgrid’s Participation in Spot Market Trading

Based on the research on the operation scheme and the simulated trial operation of power spot markets in Guangdong, Zhejiang, and the Western Economic Zone of Inner Mongolia, China’s power spot market operation pilot generally adopts the way of “day-ahead + real-time” for settlement. The day-ahead market starts on the day before the actual delivery of electricity, and power generation enterprises and power users sequentially declare the electricity price curve and the electricity demand curve. The electric power control center shall conduct Market clearing and settle according to the clearing results. The real-time market is the balance of forecasting errors in the day-ahead market, which is carried out before the actual delivery of electricity. The declaration of the market participants is similar to that of the day-ahead market. Finally, the power control center carries out real-time market clearing and settles the deviation power according to the real-time clearing price.
According to the Proposed Measures for Grid-connected Microgrid Construction issued by the State Energy Administration of China, a microgrid can be used as a power selling company with the distribution grid management right to participate in the spot market transactions of electric power. Therefore, the research object is the grid-connected microgrid that participates in the spot market transaction as the seller of electricity.
As the main seller of electricity, the microgrid participates in the spot market transaction including two settlement stages: day-ahead market and real-time market. The day-ahead market will be launched one day in advance, the microgrid will only declare the electricity, not price, and settle the electricity consumption curve according to the clearing result. Based on the actual operation results of the trading day, the real-time market will settle the deviation between the actual electricity consumption and the bid winning curve of the day-ahead market, according to the real-time price.
In addition, the State Energy Administration issued “the regulatory measures for the full purchase of renewable energy power by power grid companies”, which requires power grid companies to purchase all the on-grid power of renewable energy power generation enterprises except for the market trading power, which means that the extra power of new energy used for spontaneous self-use can be sold to power grid companies.
Therefore, the energy interaction between the microgrid and power grid involved in spot market transactions mainly includes the daily market declared power, real-time market deviation power, and on-grid power. At the same time, the microgrid will generate operating costs and electricity sales revenue, which will affect the total revenue. The settlement process of the microgrid participating in spot market transactions is shown in Figure 2. It is necessary to fully consider the uncertainty of the spot market price and the randomness of the power supply output, and optimize and schedule various adjustable resources in the microgrid to maximize the benefits of participating in the spot market.

3.2. Microgrid Scheduling Model of Day-Ahead Market

3.2.1. Market Clearing Price Forecast

Since the market clearing electricity price can be expressed in the form of an equal time series, the autoregressive AR (p) model is introduced to predict the spot market price. Based on the foreign electricity market transaction data and related scholars’ research as well as the fact that the information criterion function can be used to select the order of the AR (p) model as 1, the clearing electricity price predicted by the day-ahead market can be expressed as:
P c , τ D A = C ( τ ) + ϕ 1 P c , τ D A , D 1 + ε τ
where P c , τ D A and P c , τ D A , D 1 are the market clearing electricity prices in the time period of τ in the day-ahead market in the current day and the previous day, respectively; C ( τ ) is the average value of the market clearing electricity price in the time period of τ in the day-ahead market; ϕ 1 is the autoregressive coefficient; and ε τ is the white noise sequence with a mean of 0 and a variance of σ 2 .

3.2.2. Microgrid Day-Ahead Scheduling Model Based on Chance-Constrained Programming

In order to participate in spot market transactions, microgrid needs to consider many uncertain factors to achieve economic scheduling. As an important branch of stochastic programming theory, chance constrained programming allows the optimal scheduling results not to meet the constraints to some extent, but requires the probability of the constraints to be established not less than a certain level of confidence. Thus, we can deal with the random variables in microgrid scheduling by softening the constraints, which can be expressed as follows:
min f ¯ s . t . { C r { f ( x , ε ) f ¯ } α C r { g m ( x , ε ) 0 } β m = 1 , 2 , , p g n ( x , ε ) 0
where x and ε are the decision variables and the random variables, respectively; f ( x , ε ) is the objective function; g m ( x , ε ) is the random chance constraint; g n ( x , ε ) 0 is the conventional constraint; α and β are the confidence levels; and f ¯ is the expected value of the objective function, that is, the minimum value of the objective function when the probability is not lower than α .
As for the microgrid, the day-ahead optimal scheduling embodies the maximum comprehensive expected income. In other words, the output of each system is optimized to form the optimal power demand curve for each period by accurately forecasting the load and the day-ahead clearing price in order to achieve the maximum profit in the day-ahead market competition. Therefore, the following chance-constrained programming model can be established. The superscript DA of all symbols in the first stage optimization model represents the day-ahead market stage and the superscript RT of all symbols in the second stage optimization model represents the real-time market stage.
(1) The objective function
{ max f D A ¯ C r { f D A f D A ¯ } α
f D A = R s D A C c D A C b D A C d D A
R s D A = τ = 1 ϖ ( P s , τ Q τ D A P c , τ D A Q r , τ D A + P o n Q o n , τ D A )
where R s D A is the market clearing income of the microgrid day-ahead market; P s , τ Q τ D A represents the revenue from the electricity sale of the microgrid in the τ period (the object of electricity sale is the users); P c , τ D A Q r , τ D A represents the power purchase expenditure of the microgrid in the day-ahead market in the τ period; P o n Q o n , τ D A represents the proceeds from the sale of the remaining electricity of the microgrid to the grid company in the τ period (the object of sale is the grid company); P s , τ and Q τ D A are the users’ electricity price and the predicted response electricity in the time period of τ , respectively; P c , τ D A and Q r , τ D A are the market clearing electricity price and of the day-ahead market and the microgrid day-ahead declared power in the time period of τ , respectively ( Q r , τ D A is the electricity purchase demand declared by the microgrid in the day-ahead market of the day before the trading day); and P o n and Q o n , τ D A are the microgrid on-grid electricity price and the predicted on-grid power in the time period of τ , respectively.
(2) Constraints
  • The microgrid electric quantity balance constraint is:
    P W T , τ D A × 24 ϖ + P P V , τ D A × 24 ϖ + k n s = 1 S Q c , k , s , τ D A + Q b , τ D A + Q r , τ D A = Q o n , τ D A + Q τ D A
    where P W T , τ D A and P P V , τ D A are the day-ahead predicted power of WT and PV units in the time period of τ , respectively; and 24 ϖ is the unit time period of the spot market, which is used to approximately convert power into electricity.
    Due to factors such as the stochastic output of WT and PV and the uncertainty of the spot price, the microgrid cannot guarantee that the declared electricity quantity is completely consistent with the required electricity quantity in the day-ahead forecast. However, a certain confidence level must be satisfied. Therefore, the power balance constraint can be converted into a chance constraint:
    C r { σ P W T , τ D A × 24 ϖ + P P V , τ D A × 24 ϖ + Q b , τ D A + k n s = 1 S Q c , k , s , τ D A + Q r , τ D A Q o n , τ D A Q τ D A σ } β
    where σ is the allowable deviation of unbalanced power.
  • The microgrid interactive power constraint (Internet access and power purchase cannot be carried out simultaneously) is:
    Q o n , τ D A × Q r , τ D A = 0
  • The stochastic micro-source output constraint is:
    0 P W T , τ D A P W T R
    0 P P V , τ D A P P V R
    where P W T R and P P V R are the rated power of the WT and PV unit, respectively.
  • The controllable micro-source output constraint are Equations (6) and (7).
  • The battery energy storage state and charge/discharge rate constraint are Equations (8) and (9).
  • The demand response power balance constraint is:
    τ = 1 ϖ Q τ D A = τ = 1 ϖ Q τ D A

3.3. The Real-Time Market Microgrid Scheduling Model

In the real-time market stage, penalty fees will be charged for the deviation between the actual purchased electricity in the real-time market and the declared electricity in the day-ahead market in order to encourage users to reasonably declare the day-ahead demand curve and prevent them from making profits by exploiting loopholes in the market rules. Therefore, in the process of participating in the real-time market, microgrids should consider the penalty fee of deviation power in addition to forecasting the electricity prices in order to achieve optimal scheduling. The optimal scheduling model (where the real-time electricity price forecasting methods and the conventional constraints are consistent with the day-ahead scheduling, and will not be described again) can be expressed as:
{ max f R T ¯ C r { f R T f R T ¯ } α C r { σ P W T , τ R T × 24 ϖ + P P V , τ R T × 24 ϖ + Q b , τ R T + k n s = 1 S Q c , k , s , τ R T + Q a , τ R T Q o n , τ R T Q τ R T σ } β
f R T = R s R T C c R T C b R T C d R T C p R T
R s R T = τ = 1 ϖ P s , τ Q τ R T P c , τ D A Q r , τ D A + P o n Q o n , τ R T + ( Q r , τ D A Q a , τ R T ) P c , τ R T
C p R T = | Q r , τ D A Q a , τ R T | × P p
where R s R T is the real-time market income based on the day-ahead market’s income; C p R T is the deviation electricity penalty fee; Q τ R T is the actual power consumption after the user participates in the demand response in the time period of τ ; Q o n , τ R T is the on-grid energy of the microgrid in the time period of τ ; Q a , τ R T is the actual power purchased by the microgrid in the time period of τ ; P c , τ R T is the real-time market’s electricity price in the time period of τ ; and P p is the unit electricity penalty fee.

4. The Solving of Model

In the first stage, two kinds of uncertain factors (i.e., clearing price and output of WT in the day-ahead market) are dealt with by using the prediction model and stochastic simulation method. Then, the PSO algorithm was used to find the optimal solution of each unit’s output and the declared electricity quantity in the day-ahead market, and the result was input to the next stage.
The second stage uses the same method to deal with the real-time market price and the output of the random power supply of the microgrid. Taking the optimization result of the first stage and the day-ahead market clearing price as the known quantity, we introduced the penalty cost of the electricity quantity’s deviation. Aimed at the maximum revenue, the PSO was used to obtain the optimal scheduling results of the microgrid in the real-time market. The specific solution methods of the first stage or the second stage are as follows:

4.1. Stochastic Simulation

In view of the existence of chance constraints in the established model, stochastic simulation technology was introduced to process variables, and the steps are as follows:
(1)
Solve the objective function. (1) Randomly generate mutually independent variables ε k ( k = 1 , 2 , , n ), according to the probability distribution of random variables in the objective function; (2) calculate a function value f k = f ( x , ε k ) ; and (3) set n ¯ = α n , and the n ¯ th maximum in { f 1 , f 2 , , f n } is the target value according to the law of large numbers.
(2)
Test the chance constraint. (1) Set n ¯ = 0 ; (2) randomly generate a variable ε , according to the probability distribution of random variables in constraint conditions; (3) calculate g ( x , ε ) , and n ¯ = n ¯ + 1 , if it is less than or equal to 0; (4) after repeating steps (2) and (3) for n times, the constraint holds if n ¯ / n β .

4.2. Particle Swarm Optimization Algorithm

After dealing with random variables, the PSO based on the Monte Carlo simulation was used to solve the model. The specific process is as follows:
(1)
Initialize data input. Input the deterministic values such as the controllable micro-source, battery cost parameters and load demand as well as confidence level and algorithm control parameters.
(2)
Population initialization. With the output of WT and PV and the spot electricity price as random variables, random variables are generated from probability distribution to form an initial population in which all particles satisfy the constraint under the constraint condition test and by using the above random simulation technology, and the population position and velocity are initialized.
(3)
The population target value is obtained as the fitness, and the individual extremum and global extremum are judged based on the fitness.
(4)
Update the particle position and velocity. Iterative calculation is carried out to generate a new generation of particle swarms. The position and velocity are updated as follows:
v ρ i + 1 = Ψ v ρ i + l 1 r 1 ( P ρ i O T L ρ i ) + l 2 r 2 ( g ρ i O T L ρ i )
L ρ i + 1 = L ρ i + v ρ i + 1
where Ψ is the inertia weight; v ρ i and L ρ i are the velocity and position of the ith iteration of particle ρ , respectively; l 1 and l 2 are learning factors; r 1 and r 2 are random numbers between [0, 1]; and P ρ i O T and g ρ i O T are the individual extremum of the ith iteration of particle ρ and the global extremum of the population, respectively.
(5)
Repeat steps (2)–(4) to search for the optimal solution until the maximum iteration numb is reached. Output that optimal solution and the corresponding particle position.
Compared with deterministic programming problem solving, the solution method used in this paper first deals with the uncertain factors in the model. On this basis, the PSO algorithm, which can find the optimal solution in a certain range, was used to solve the model. The flow chart (Figure 3) of the PSO algorithm combined with stochastic simulation technology can be shown as follows.

4.3. Convergence Test

In this paper, the PSO was improved by stochastic simulation technology to solve the two-stage optimal scheduling model of a microgrid based on chance-constrained programming. The convergence curve of the PSO can be shown in Figure 4.

5. Results and Discussion

5.1. Basic Data

A microgrid that integrated with WT, PV, DG, and ESS, was selected to simulate its participation in the spot market trading process to verify the rationality of the proposed model. The total output power of the DG in the microgrid was 1 MW, and the operation cost parameters of units are shown in Table 1. Based on the power curve of a typical load day, the user load was converted into electricity consumption in each period, as shown in Table 2. The other parameters used in the empirical analysis are shown in Table 3.
It was assumed that all purchased power generated by the microgrid in the spot transaction process was all from the spot market. The actual data of a certain day in the Pennsylvania—New Jersey—Maryland (PJM) electric power market were used to forecast the day-ahead clearing price and the real-time price, and ϖ was taken as 24. By using the autoregressive model in Section 3.2.1, we could obtain the day-ahead market price and real-time market price, which are shown in Figure 5. Considering that the granularity of the day-ahead market clearing in China is 15 min, it was assumed that the forecast electricity price is the arithmetic average of four 15-min clearing rates per hour.

5.2. Result Analysis

5.2.1. Scheduling Operation Analysis

We set the confidence level of the objective function and the constrain condition as 0.9. While the particle swarm size was 80, the learning factor was 2, and the inertia weight was 0.8. The maximum number of iterations was 200. First, the demand response model was eliminated to optimize the microgrid, and the first-stage scheduling model was run for a comparison with the forecast electricity price of the day-ahead market (Figure 6, ME is the interactive power between the microgrid and main network).
As can be seen from Figure 6, during the period when the forecast electricity price level is low, the microgrid tends to declare more electricity to meet its own electricity demand and continuously charge the ESS. With the increase in electricity price, the DG output increases and gradually replaces the spot market electricity to fill the shortage of the new energy electricity supply capacity. When operating to a higher electricity price level, the ESS starts to discharge and provides backup assistance jointly with DG. At this time, the microgrid will basically no longer purchase electricity from the spot market, but will instead put the remaining electricity on the grid. During the full load day, the total electricity declared in the day-ahead stage was 3934.21 kWh, which accounted for 11.97% of the forecast power on that day. The maximum electricity of DG per unit period was 392.56 kW. Compared with the total output electricity of 1 MW, there was still a large margin to bear the random fluctuation of the spot market electricity price. It can be seen that through the first stage of market optimization scheduling, the microgrid has high reliability while being economically optimal.
By continuing to run the second-stage scheduling model, the calculation results are shown in Figure 7. Additionally, a comparison of the two-stage scheduling results can be obtained, which is shown in Figure 8.
As can be seen from Figure 7 and Figure 8, in the real-time market scheduling stage, the operation plans of ESS and DG experienced severe fluctuations in some time periods, while the planned purchase curve of the spot market (two stage power purchase decision optimization curve, i.e., the part of the ME curve > 0 in Figure 8) fluctuated slightly. Its maximum fluctuating power per unit period was only 8.63 kWh. This is because in the second stage, when the predicted electricity price and the stochastic micro-source predict the output change, the microgrid comprehensively considers the operation cost of each unit and the deviation power penalty fee and chooses to actively adjust the ESS and DG unit with relatively small variable costs to adapt to the changes of uncertain factors and realize the maximum economic benefit of microgrid.

5.2.2. The Impact Analysis of Demand Side Management

In order to further improve the optimal allocation of power resources, the demand side management was introduced to solve the model with the advantage that microgrid users can easily adjust load. Suppose that the microgrid uses the time-of-use electricity price to guide users to transfer load. The electricity price elasticity matrix adopts the elasticity matrix of large industrial users in this paper [24,25,26]. With the current sales price as the normal period electricity price, γ is defined as the floating proportion of the sales price. While the peak electricity price rises by 1 + γ on this basis, the valley electricity price is lowered by 1 1.2 γ . The time division is shown in Table 4. Let γ float between [ 0 , 0.8 ] in each step of 0.05 to obtain the microgrid real-time market income change as shown in Table 5.
The results in Table 4 show that when the microgrid participates in spot market transactions, the implementation of demand side management can significantly improve its own economic benefits. With the increase of peak-to-valley price difference, the income shows a trend of increasing first and then decreasing. When the floating ratio was 0.55, the profit reached its highest. By analyzing the cost of each factor under different electricity prices, it can be found that after the implementation of time-of-use electricity price, the user reduces the electricity bill expenditure by transferring more flexible loads. The load transfer also promotes the coupling of the power consumption curve and renewable energy output, changes the co-directional distribution of the microgrid power declaration curve and the spot market electricity price, then reduces the reserve cost of the microgrid during peak hours and reduces the average spending on purchasing electricity. However, with the increasing peak-to-valley electricity price ratio, the sensitivity of users to electricity price decreases until it has been “saturated”. Since then, the benefit increment of the microgrid due to the user demand response starts to be lower than the electricity bills saved by users, and the revenue declines.
By setting the electricity price floating ratio to 0.55, the comparison of the day-ahead scheduling results before and after demand side management implementation of the microgrid, and the comparison of the two-stage scheduling results after the implementation of demand side management can be shown in Figure 9, Table 6 and Figure 10, respectively.
As shown in Figure 9 and Table 6, after demand side management is implemented in the microgrid, the user load curve and the microgrid scheduling unit output curve both tend to be flat, compared with before. The specific changes are as follows:
The maximum electricity consumption per unit period of the user was reduced by 319.51 kWh, the minimum electricity consumption increased to 289.68 kWh, and the maximum declared electricity per unit period was reduced from 635.32 kWh to 582.89 kWh. While the maximum output power of the DG decreased from 547.41 kW to 387.56 kW, the maximum charging capacity of the ESS per unit period decreased from 422.79 kWh to 218.55 kWh, and the maximum discharge decreased from 378.69 kWh to 139.35 kWh.
This is because under the stimulation of demand side management, the users in the microgrid can reduce the maximum electricity consumption and increase the minimum electricity consumption by changing the electricity demand in the peak and valley period to realize the peak load shifting. The change in load demand makes the output of DG and charge and discharge behavior of EES change correspondingly.
Additionally, by comparing Figure 10 with Figure 8, the adjustments in the real-time scheduling phase of the microgrid have decreased compared with the previous ones, and the ability of the microgrid to participate in the spot market to respond to changes in uncertain factors has increased after the implementation of demand side management.

5.2.3. Confidence Level Impact Analysis

The influence of confidence level on the microgrid’s two-stage optimal scheduling was analyzed. Set α and β change between 0.8–1, respectively, and run the microgrid scheduling model and real-time market microgrid scheduling model in Section 3, respectively. Under different confidence combinations, we can obtain the microgrid revenue curve of the day-ahead market and real-time market, as shown in Figure 11 and Figure 12. It can be seen from Figure 11 and Figure 12 that when the confidence level of objective function and constraint condition is low (the red part in the figure), the economic benefit of the microgrid is better. With the continuous increase of the objective function and constraint condition’s confidence level, the economic benefit shows a downward trend. When the confidence level is high (the purple part in the figure), the economic benefit of the microgrid is worse. With the improvement of the confidence level, the requirements for the establishment of the objective function and constraints expressed in probability form are gradually strict, and the power balance constraint range is reduced. It is not conducive to the calculation of better optimization results, but conducive to improving the reliability of microgrid operation.
In addition, compared with Figure 11 and Figure 12, it can be seen that with the improvement in confidence level, the economic benefit of the microgrid’s day-ahead market scheduling declines faster than real-time market scheduling’s. This is because there are relatively more uncertainty factors faced by the day-ahead market, and the economic cost of improving microgrid reliability is greater than that of the real-time market.
Therefore, in the two-stage scheduling optimization process of the microgrid, the improvement in the confidence level will make the test of objective function and constraints stricter, enhancing the reliability of microgrid operation. At the same time, however, it will lead to a certain degree of decline in the economic benefits of the microgrid, and the economic benefits decline faster in the current market stage due to greater uncertainty. Therefore, the decision maker can choose the confidence level considering the risk aversion degree, and adjust the balance between the microgrid economy and reliability, thus achieving optimal scheduling.

6. Conclusions and Policy Implications

According to the basic structure of a microgrid, a microgrid system model considering the stochastic output of WT and PV was established in this paper. On this basis, considering various uncertain factors comprehensively and with the aim of maximizing the benefits of a microgrid system at a certain confidence level, a two-stage scheduling model based on chance-constrained programming was put forward, combined with the characteristics of the spot market. The purpose of this paper was to make a two-stage optimal scheduling plan for microgrids participating in the electricity spot market by optimizing the power supply side and load side simultaneously, and improving the economic benefits of the microgrid system. The following conclusions can be drawn:
(1)
The microgrid can effectively avoid potential risks by using the model proposed in this paper to make spot market decisions. Through two-stage optimal scheduling, it can deal with the fluctuation of WT and PV output and electricity price by adjusting system resources, which can both achieve higher reliability and pursue maximum benefits.
(2)
The demand side management should be introduced at the time of optimizing the supply-side resources. Thus, the two-stage economic benefits of the microgrid can be improved, the reserve capacity and declared power during the peak period of day-ahead market can be lowered, the output adjustment of the real-time market to each unit can be reduced, and then the microgrid’s ability to resist risks can be significantly improved.
(3)
The confidence level will have a certain impact on the results of the two-stage scheduling of the microgrid. While risk-prone people running the model with a low confidence level can obtain better economic benefits, risk-averse people running the model with a high confidence level can be conducive to ensuring the safety and stability of the microgrid.

Author Contributions

J.L.’s contribution is formal analysis and writing—review & editing; C.T.’s contribution is data curation and formal analysis; Z.R.’s contribution is data curation and resources; J.Y.’s contribution data curation and methodology; X.Y.’s contribution is data curation; Z.T.’s contribution is formal analysis and supervision. All authors have read and agreed to the published version of the manuscript.

Funding

The work was supported by the National Science Foundation of China (Grant No. 71573084), and the 2018 Key Projects of Philosophy and Social Sciences Research, Ministry of Education, China (Grant No. 18JZD032).

Acknowledgments

The completion of this paper has been helped by many teachers and classmates. We would like to express our gratitude to them for their help and guidance.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

Acronyms
WTWind turbine
PVPhotovoltaic
ESSEnergy storage system
DGDiesel generator
MEMutual energy
PSOParticle swarm optimization
Variables
f W T ( v ) Probability density function of actual wind speed
P W T Output power of WT (kW)
f P V ( l ) Probability density function of light intensity
P W T Output power of PV unit (kW)
C c Total operation cost of controllable unit ($)
S O C τ The charged state of battery energy storage in τ period
C b Depreciation loss cost caused by battery charging and discharging ($)
C d Demand side management cost ($)
P c , τ D A Market clearing electricity prices in the time period of τ in the day-ahead market in the current day ($/kWh)
R s D A Market clearing income of the microgrid day-ahead market ($)
P s , τ Users’ electricity price in the time period of τ ($/kWh)
Q r , τ D A Microgrid day-ahead declared power in the time period of τ (kWh)
Q τ D A Predicted response electricity in the time period of τ (kWh)
P o n Microgrid on-grid electricity price ($/kWh)
Q o n , τ D A Predicted on-grid power in the time period of τ (kWh)
P W T , τ D A Day-ahead predicted power of WT in the time period of τ (kW)
P P V , τ D A Day-ahead predicted power of PV units in the time period of τ (kW)
R s R T Real-time market income based on the day-ahead market’s income ($)
C p R T Deviation electricity penalty fee ($)
Q τ R T Actual power consumption after the user participates in the demand response in the time period of τ (kWh)
Q o n , τ R T On-grid energy of the microgrid in the time period of τ (kWh)
Q a , τ R T Actual power purchased by the microgrid in the time period of τ (kWh)
Q c , τ R T Actual power purchased by the microgrid in the time period of τ (kWh)
P c , τ R T Real-time market’s electricity price in the time period of τ ($/kWh)
Parameters
k Shape parameters of Weibull Distribution
c Scale parameters Weibull Distribution
v c i Cut in wind speed (m/s)
v c o Cut off wind speed (m/s)
p r Rated power (MW)
v r Rated wind speed (m/s)
a l , b l Shape parameters of Beta Distribution
l max Maximum solar irradiance
S P V Total area of PV modules (hm2)
η Efficiency of photoelectric conversion
ϖ Number of spot market periods
S Total number of segments of linear operation cost of controllable unit
N Total number of controllable units
C c , n , s A Average generation cost of the nth unit in section s ($)
Q c , n , s , τ Generation capacity of unit n in section s in period τ (kWh)
Q c , n , s R Rated generating capacity of unit n in section s (kWh)
Q b , τ Charge and discharge capacity of ESS in τ period (kWh)
η i n , η o u t Charge and discharge efficiency respectively
W b Battery capacity (MWh)
S O C min Lower limit of charged state
S O C max Upper limit of charged state
u b Battery loss factor
Q τ 0 User power consumption in the τ period before demand response (kWh)
Q τ User power consumption in the τ period after demand response (kWh)
P τ 0 User electricity price in the τ period before demand response ($/kWh)
P τ User electricity price in the τ period after demand response ($/kWh)
P ς 0 User electricity price in the ς period before demand response ($/kWh)
P ς User electricity price in the ς period after demand response ($/kWh)
e τ τ Self-elasticity
e ς τ Cross elasticity
Δ Q τ Change of user power consumption in the τ period (kWh)
Δ P τ Change of electricity price of users in the τ period ($/kWh)
C ( τ ) Average value of market clearing electricity price in the time period of τ in the day-ahead market ($/kWh)
ϕ 1 Autoregressive coefficient
ε τ White noise sequence
σ Allowable deviation of unbalanced power
P W T R Rated power of WT (MW)
P P V R Rated power of PV unit (MW)
P p Unit electricity penalty fee ($/kWh)
ψ Inertia weight
v ρ i Velocity of the ith iteration of particle ρ
L ρ i Position of the ith iteration of particle ρ
l 1 , l 2 Learning factors
r 1 , r 2 Random numbers between [ 0 , 1 ]
P ρ O T i Individual extremum of the ith iteration of particle ρ
g ρ O T i Global extremum of the population

References

  1. Guo, H.; Chen, Q.; Zhong, H.; Yang, W.; Zhang, W.; Xia, Q. Spot market mechanism design and path planning based on standard curve for financial delivery. Autom. Electr. Power Syst. 2017, 41, 1–8. [Google Scholar]
  2. Zhou, M.; Yan, Y.; Ding, Q.; Wu, Z.; He, Y.; Long, S. Transaction and settlement mechanism for foreign representative power markets and its enlightenment for Chinese power market. Autom. Electr. Power Syst. 2017, 41, 1–8, 150. [Google Scholar]
  3. Lianjun, S.; Pin, S.; Xian, Z. Discussion on architecture of new-generation electricity trading platform. Autom. Electri. Power Syst. 2017, 41, 67–76. [Google Scholar]
  4. Ma, L. China’s Power Spot Market Construction Has Made Progress; State Grid News: Beijing, China, 2019. [Google Scholar]
  5. Zou, P.; Chen, Q.X.; Xia, Q.; He, C.; Ge, R. Logical analysis of electricity spot market design in foreign countries and enlightenment and policy suggestions for China. Autom. Electri. Power Syst. 2014, 38, 18–27. [Google Scholar]
  6. Liang, Z.; Chen, W.; Zhang, Z.; Ding, J. Discussion on pattern and path of electricity spot market design in southern region of China. Autom. Electri. Power Syst. 2017, 41, 16–21, 66. [Google Scholar]
  7. Tian, L.; Xie, Y.L.; Zhou, G.P.; Hu, B.; Liu, X.P.; Deng, T.Y.; Luo, H.H.; Li, F.Q. Deep peak regulation ancillary service bidding strategy for CHP units based on two-stage stochastic programming. Power Syst. Technol. 2019, 43, 2789–2798. [Google Scholar]
  8. Morales, J.M.; Conejo, A.J.; Madsen, H.; Pinson, P.; Zugno, M. Integrating Renewables in Electricity Markets: Operational Problems; Springer Science & Business Media: Berlin, Germany, 2013. [Google Scholar]
  9. Dent, C.J.; Bialek, J.W.; Hobbs, B.F. Opportunity cost bidding by wind generators in forward markets: Analytical results. IEEE Trans. Power Syst. 2011, 26, 1600–1608. [Google Scholar] [CrossRef]
  10. Ding, H.; Hu, Z.; Song, Y. Rolling optimization of wind farm and energy storage system in electricity markets. IEEE Trans. Power Syst. 2014, 30, 1–9. [Google Scholar] [CrossRef]
  11. Ding, H.; Pinson, P.; Hu, Z.; Song, Y. Integrated bidding and operating strategies for wind-storage systems. IEEE Trans. Sustain. Energy 2015, 7, 1–10. [Google Scholar] [CrossRef] [Green Version]
  12. Gao, X.; Chan, K.W.; Xia, S.; Zhou, B.; Lu, X.; Xu, D. Risk-constrained offering strategy for a hybrid power plant consisting of wind power producer and electric vehicle aggregator. Energy 2019, 177, 183–191. [Google Scholar] [CrossRef]
  13. Herranz, R.; San Roque, A.M.; Villar, J.; Campos, F.A. Optimal demand-side bidding strategies in electricity spot markets. IEEE Trans. Power Syst. 2012, 27, 1204–1213. [Google Scholar] [CrossRef]
  14. Song, M.; Amelin, M. Purchase bidding strategy for a retailer with flexible demands in day-ahead electricity market. IEEE Trans. Power Syst. 2018, 33, 3217. [Google Scholar]
  15. Yang, H.; Zhang, S.; Qiu, D.; Zhao, J.; Lai, M.; Dong, Z.Y.; Dong, Z.H. Distributionally robust optimal bidding of controllable load aggregators in the electricity market. IEEE Trans. Power Syst. 2018, 33, 1089–1091. [Google Scholar]
  16. Saez-Gallego, J.; Kohansal, M.; Sadeghi-Mobarakeh, A.; Morales, J.M. Optimal price-energy demand bids for aggregate price-responsive loads. IEEE Trans. Smart Grid 2018, 9, 5005–5013. [Google Scholar] [CrossRef] [Green Version]
  17. Jie, B.; Tsuji, T. An Analysis of Market Mechanism and Bidding Strategy for Power Balancing Market in Micro-Grid (CICED). In Proceedings of the 2016 China International Conference on IEEE, Xi’an, China, 10–13 August 2016; pp. 1–5. [Google Scholar]
  18. Liu, G.; Xu, Y.; Tomsovic, K. Bidding strategy for microgrd n day-ahead market based on hybrid stochastic/robust optimization. IEEE Trans. Smart Grid 2015, 7, 227–237. [Google Scholar] [CrossRef]
  19. Karki, R.; Hu, P.; Billinton, R. A simplified wind power generation model for reliability evaluation. IEEE Trans. Energy Convers. 2006, 21, 533–540. [Google Scholar] [CrossRef]
  20. Wang, C.S.; Zheng, H.F.; Xie, Y.H.; Chen, K. Probabilistic power flow containing distributed generation in distribution system. Autom. Electri. Power Syst. 2005, 29, 39–44. [Google Scholar]
  21. Nojavan, S.; Zare, K. 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]
  22. Fang, L.; Niu, Y.G.; Zu, Q.W. Microgrid transferable load scheduling and energy storage control strategy. J. East China Univ. Sci. Technol. (Nat. Sci. Ed.) 2018, 44, 588–594. [Google Scholar]
  23. Tan, Z.; Wang, G.; Ju, L.; Tan, Q.; Yang, W. Application of CVaR risk aversion approach in the dynamical scheduling optimization model for virtual power plant connected with wind-photovoltaic-energy storage system with uncertainties and demand response. Energy 2017, 124, 198–213. [Google Scholar] [CrossRef] [Green Version]
  24. Talat, S.G. Measuring demand responses to wholesale electricity prices using market power indices. Energy Econ. 2016, 56, 247–260. [Google Scholar]
  25. Pu, L.; Wang, X.; Tan, Z.; Wu, J.; Long, C.; Kong, W. Feasible electricity price calculation and environmental benefits analysis of the regional nighttime wind power utilization in electric heating in Beijing. J. Clean. Prod. 2019, 212, 1434–1445. [Google Scholar] [CrossRef]
  26. Pu, L.; Wang, X.H.; Tan, Z.F.; Wang, H.Q.; Yang, J.C.; Wu, J. Is China’s electricity price cross-subsidy policy reasonable? Comparative analysis of eastern, central, and western regions. J. Energy Policy 2020, 138, 111250. [Google Scholar] [CrossRef]
Figure 1. The structure of the microgrid system.
Figure 1. The structure of the microgrid system.
Processes 08 00107 g001
Figure 2. The flow chart of the microgrid participating in the spot market.
Figure 2. The flow chart of the microgrid participating in the spot market.
Processes 08 00107 g002
Figure 3. The flow chart of the algorithm solution.
Figure 3. The flow chart of the algorithm solution.
Processes 08 00107 g003
Figure 4. The scheduling revenue convergence curve of the microgrid.
Figure 4. The scheduling revenue convergence curve of the microgrid.
Processes 08 00107 g004
Figure 5. Spot market electricity price forecast chart.
Figure 5. Spot market electricity price forecast chart.
Processes 08 00107 g005
Figure 6. The comparison of the microgrid operation plan and electricity price in the day-ahead market.
Figure 6. The comparison of the microgrid operation plan and electricity price in the day-ahead market.
Processes 08 00107 g006
Figure 7. Real-time market microgrid operation plan.
Figure 7. Real-time market microgrid operation plan.
Processes 08 00107 g007
Figure 8. The comparison of the two-stage optimal scheduling results.
Figure 8. The comparison of the two-stage optimal scheduling results.
Processes 08 00107 g008
Figure 9. The comparison of day-ahead scheduling of the microgrid before and after demand side management.
Figure 9. The comparison of day-ahead scheduling of the microgrid before and after demand side management.
Processes 08 00107 g009
Figure 10. The comparison of the two-stage optimal scheduling results (demand side management).
Figure 10. The comparison of the two-stage optimal scheduling results (demand side management).
Processes 08 00107 g010
Figure 11. The curve diagram of the microgrid’s day-ahead market returns under different levels.
Figure 11. The curve diagram of the microgrid’s day-ahead market returns under different levels.
Processes 08 00107 g011
Figure 12. The curve diagram of the microgrid’s real-time market returns under different levels.
Figure 12. The curve diagram of the microgrid’s real-time market returns under different levels.
Processes 08 00107 g012
Table 1. The operation cost parameter of diesel generator
Table 1. The operation cost parameter of diesel generator
UnitOutput Power (kW)Sectional Rated Power (kW)Segmental Average Cost ($/kWh)
Lower LimitUpper LimitThe First SegmentThe Second SegmentThe Third SegmentThe First SegmentThe Second SegmentThe Third Segment
10200100150200433.71490.59540.36
20300125275300604.35668.34753.66
30500200350500959.851137.61279.8
Table 2. The electricity data of a typical load day.
Table 2. The electricity data of a typical load day.
PeriodElectricity/kWhPeriodElectricity/kWhPeriodElectricity/kWh
11031.9491760.01171706.92
2963.69101833.95181739.15
3912.50111832.06191727.78
4878.37121801.72201596.95
5834.76131608.33211466.13
6891.64141488.88221107.78
71105.89151511.63231079.34
81367.54161557.14241058.49
Table 3. Relevant parameters.
Table 3. Relevant parameters.
WTrated total power3 MW
cut in wind speed4 m/s
cut off wind speed25 m/s
rated wind speed16 m/s
shape parameters of Weibull Distribution2.2
PVtotal rated power8 MW
total area of PV modules1.2 hm2
efficiency of photoelectric conversion24%
shape parameters of Beta Distribution0.5
ESSrecommended capacity1.5 MWh
charging efficiency0.9
discharge efficiency0.9
Electricity pricesales price0.0851 $/kWh
feed-in price0.0589 $/kWh
penalty for deviation0.0356 $/kWh
Table 4. The period division of the time-of-use price.
Table 4. The period division of the time-of-use price.
FlatPeakValley
time division12:00–17:008:00–12:000:00–8:00
(h)21:00–24:0017:00–21:00
price standard0.08510.0851 × (1 + γ)0.0851 × (1 − 1.2 γ)
($/kWh)
Table 5. The income change of the microgrid under different floating ratios in the real-time market.
Table 5. The income change of the microgrid under different floating ratios in the real-time market.
Initial Sales Price ($/kWh)Before the Demand Response ($)
0.08511998.76
Floating Rate (%)Income ($)Floating Rate (%)Income ($)
5%2018.8145%2172.53
10%2042.7050%2188.17
15%2064.1855%2192.72
20%2088.6360%2190.16
25%2105.5665%2182.20
30%2122.9070%2173.95
35%2139.1175%2165.85
40%2155.6180%2157.60
Table 6. Comparison of the key parameters before and after the implementation of demand response.
Table 6. Comparison of the key parameters before and after the implementation of demand response.
Max (load)Min (load)Max (ME)Max (DE)Max (ESS)Max (ESS)
Before demand response1835.95833.76635.32547.41422.79378.69
After demand response1516.441123.44582.89387.56218.55139.35

Share and Cite

MDPI and ACS Style

Li, J.; Tan, C.; Ren, Z.; Yang, J.; Yu, X.; Tan, Z. A Two-Stage Optimal Scheduling Model of Microgrid Based on Chance-Constrained Programming in Spot Markets. Processes 2020, 8, 107. https://doi.org/10.3390/pr8010107

AMA Style

Li J, Tan C, Ren Z, Yang J, Yu X, Tan Z. A Two-Stage Optimal Scheduling Model of Microgrid Based on Chance-Constrained Programming in Spot Markets. Processes. 2020; 8(1):107. https://doi.org/10.3390/pr8010107

Chicago/Turabian Style

Li, Jiayu, Caixia Tan, Zhongrui Ren, Jiacheng Yang, Xue Yu, and Zhongfu Tan. 2020. "A Two-Stage Optimal Scheduling Model of Microgrid Based on Chance-Constrained Programming in Spot Markets" Processes 8, no. 1: 107. https://doi.org/10.3390/pr8010107

APA Style

Li, J., Tan, C., Ren, Z., Yang, J., Yu, X., & Tan, Z. (2020). A Two-Stage Optimal Scheduling Model of Microgrid Based on Chance-Constrained Programming in Spot Markets. Processes, 8(1), 107. https://doi.org/10.3390/pr8010107

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