1 Introduction

Nowadays, due to the problem of global warming and the transformation of energy systems, renewable energy including wind power is increasingly being integrated into the power systems. Wind power is clean and sustainable, however, the intermittency and variability of wind power generation poses big challenges to power system operations. In order to facilitate the integration of large-scale wind power, the fast-responding conventional generators need to compensate the power mismatch caused by the variability of wind power [1, 2].

The object of power system generation dispatch is to maintain the balance of power demand and supply at a minimum generation cost, considering operational constraints such as transmission limits and generation ramping rates. Without high penetration of intermittent renewable resources, power mismatch is mainly caused by the fluctuation of power demand, which has been studied for several decades. With the integration of large-scale wind power, both the demand side and the supply side exhibit uncertainties, which may have detrimental effects on the power balance. The fluctuations of wind power and load need to be smoothed by compensation from conventional generation. This can be achieved through generation dispatching operations, by means of coal-fired generator reserve scheduling which can use automatic generation control (AGC) [3], small-size hydropower unit control or fast-responding gas generator startup/shutdown [4, 5].

Deterministic power flow approaches used to be a common tool for power system operation scheduling. However, since the output of wind power is hard to predict accurately, and short-term wind power forecast results are always expressed in a statistical way [6], deterministic power flow approaches may not be adequate for generation dispatch with wind power [7]. In the presence of uncertain sustainable energy resources, probabilistic power flow (PPF) approaches are generally used for generation dispatch, such as the probabilistic security-constrained optimal power flow method in [7], which considers the impact of uncertainty sources, and the dispatch, network and security constraints in pre- and post-contingency states. The stochastic dynamic programming approach in [8] aims to find optimal solutions for unit commitment and dispatch, so as to minimize the operating costs with uncertain wind generation. The chance-constrained optimization approach is applied in [3] to find an optimal generation dispatch strategy considering variable photovoltaic resources.

PPF approaches usually employ both simulation techniques and analytical techniques to solve the optimization problem. Simulation techniques, such as Monte Carlo simulation in [7, 9], always need to deal with a large sample set and thus require a large computation effort. Analytical techniques include but are not limited to Gram-Charlier (GC) expansion in [3, 10, 11], Cornish-Fisher (CF) expansion in [12,13,14], the point estimate method in [15,16,17], as well as the direct or fast Fourier transformation (FFT) in [18, 19]. Both GC and CF expansions are combined with the cumulant method which provides cumulant information of power flow solutions, then GC expansion writes a probability density function (PDF) as a series composed of standard normal distribution derivatives and GC coefficients using the cumulants, and CF expansion expresses a cumulative density function (CDF) in terms of the quantile of a normal distribution and the cumulants. The point estimate method weights the load-flow solution estimates to calculate the moments of the solution distributions, and then approximates the probability distribution from the moments.

In PPF analysis, in many cases, only partial information about the random variables can be obtained [20]. For example, after the cumulant calculation procedures, only several orders of cumulants or moments can be collected for the power flow solutions; generally, even the input statistical description of wind power is not accurate and complete [6]. Therefore, it is difficult to calculate the exact probability distribution for the uncertain variables in generation dispatch [21]. Several PPF algorithms, such as the GC expansion and CF expansion, can be used to approximate the probability distribution of the uncertain variables, but the results are often based on arbitrary estimates of the unknown distribution.

In this paper, the maximum entropy (ME) principle is introduced to the generation dispatch problem. The basic idea is to find the most likely realized probability distribution, so as to provide a circumstance that is the closest to the actual probabilistic situation. Using this most likely distribution, the optimal dispatch strategy is solved to minimize the generation cost of compensating the fluctuation of wind power and system load.

The rest of this paper is organized as follow: Section 2 introduces the model of generation dispatch. PPF analysis based on the principle of maximum entropy is shown in Section 3. The optimal generation dispatch strategy is solved by a chance-constrained programming model in Sections 4 and 5 presents a case study based on the benchmark IEEE 39 bus system. Finally, Section 6 concludes this paper.

2 Model for generation dispatch

In this section, the impact of wind power variation on the power system reliability is described by the linearized power flow model. A generation dispatch model is presented to calculate the reaction of conventional generators to the variation of wind power and system load.

2.1 Power flow model with wind power variation

The generic power flow model for power injections and line flows is written as follows [22]:

$$\left\{ {\begin{array}{*{20}l} {P_{i} = V_{i} \sum\limits_{j = 1}^{n} {V_{j} \left( {G_{ij} \cos \delta_{ij} + B_{ij} \sin \delta_{ij} } \right)} } \hfill \\ {Q_{i} = V_{i} \sum\limits_{j = 1}^{n} {V_{j} \left( {G_{ij} \sin\delta_{ij} - B_{ij} \cos\delta_{ij} } \right)} } \hfill \\ {P_{ij} = - t_{ij} G_{ij} V_{i}^{2} + V_{i} V_{j} \left( {G_{ij} \cos \delta_{ij} + B_{ij} \sin \delta_{ij} } \right)} \hfill \\ {Q_{ij} = t_{ij} B_{ij} V_{i}^{2} - 0.5B_{ij} V_{i}^{2} + V_{i} V_{j} \left( {G_{ij} \sin\delta_{ij} - B_{ij} \cos\delta_{ij} } \right)} \hfill \\ \end{array} } \right.$$
(1)

where Pi is the active power leaving bus i, Qi is the reactive power leaving bus i, Vi and δi are the bus voltage magnitude and angle, respectively; δij = δi − δj; n is the number of lines connected to bus i; Gij and Bij are the real and imaginary parts of the admittance of line ij, respectively; Pij and Qij are the active and reactive power flow in line ij, respectively; tij is the transformer tap ratio.

To describe the impact of wind power variation on system state variables such as line active and reactive flow and bus voltage magnitudes and angles, (1) is linearized around the system operating point. The system operating point may change after the generation dispatch operation, but it can be considered fixed at the time of the next generation dispatch. The resulting model is written as follows [3]:

$$\left\{ {\begin{array}{*{20}l} {\left[ {\begin{array}{*{20}c} {\Delta\varvec{\delta}} \\ {\Delta \varvec{V}} \\ \end{array} } \right] = \varvec{G}^{ - 1} \left[ {\begin{array}{*{20}c} {\Delta \varvec{P}} \\ {\Delta \varvec{Q}} \\ \end{array} } \right] = \varvec{K}\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}} \\ {\Delta \varvec{Q}} \\ \end{array} } \right]} \hfill \\ {\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}_{line} } \\ {\Delta \varvec{Q}_{line} } \\ \end{array} } \right] = \varvec{H}\left[ {\begin{array}{*{20}c} {\Delta\varvec{\delta}} \\ {\Delta \varvec{V}} \\ \end{array} } \right] = \varvec{HK}\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}} \\ {\Delta \varvec{Q}} \\ \end{array} } \right] = \varvec{L}\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}} \\ {\Delta \varvec{Q}} \\ \end{array} } \right]} \hfill \\ \end{array} } \right.$$
(2)

where all the variables are in vector or matrix form, and the symbol ∆ indicates the variation of the variables, especially, ∆Pline and ∆Qline are the variation of the active and reactive line power flow, respectively; G and H are the Jacobian matrices at the system operating point; K and L are the sensitivity matrices.

Separating components of (2) gives

$$\left\{ {\begin{array}{*{20}l} {\left[ {\begin{array}{*{20}c} {\Delta\varvec{\delta}} \\ {\Delta \varvec{V}} \\ \end{array} } \right] = \varvec{K}\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}} \\ {\Delta \varvec{Q}} \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {\varvec{K}_{d} } & {\varvec{K}_{w} } & {\varvec{K}_{g} } & {\varvec{K}_{Q} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}_{d} } \\ {\Delta \varvec{P}_{w} } \\ {\Delta \varvec{P}_{g} } \\ {\Delta \varvec{Q}} \\ \end{array} } \right]} \hfill \\ {\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}_{line} } \\ {\Delta \varvec{Q}_{line} } \\ \end{array} } \right] = \varvec{L}\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}} \\ {\Delta \varvec{Q}} \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {\varvec{L}_{d} } & {\varvec{L}_{w} } & {\varvec{L}_{g} } & {\varvec{L}_{Q} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}_{d} } \\ {\Delta \varvec{P}_{w} } \\ {\Delta \varvec{P}_{g} } \\ {\Delta \varvec{Q}} \\ \end{array} } \right]} \hfill \\ \end{array} } \right.$$
(3)

where ∆Pd and ∆Pw are the variation of the load and wind power; ∆Pg is the required adjustment of the conventional generators.

2.2 Model for generation dispatch

The variation of wind power and system load affects both the bus voltage and the line power flows. To maintain the stability of the power system, the conventional generators should be scheduled to balance the power supply and load.In this paper, the unit commitment problem is assumed to be solved in advance, and the model of generation dispatch is written as [3]:

$$\Delta \varvec{P}_{g} = \varvec{T}\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}_{w} } \\ {{\mathbf{1}}_{{N_{d} }}^{\text{T} }\Delta \varvec{P}_{d} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {\varvec{T}_{w} } & {\varvec{T}_{d} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}_{w} } \\ {{\mathbf{1}}_{{N_{d} }}^{\text{T} }\Delta \varvec{P}_{d} } \\ \end{array} } \right]$$
(4)

where T is the matrix of distribution weights of the wind power and system load fluctuation with respect to the conventional generators participating in dispatch. It represents the decision strategy for generation dispatch; each distribution weight Tij in T indicates the adjustment of the ith generator output corresponding to unity change of the jth wind power output or system load. Matrix Tw and vector Td contain all the elements corresponding to the variation of wind power and system load, respectively; Nd is the number of load buses, and \({\mathbf{1}}_{{N_{d} }}\) is an Nd-dimension unit row vector; and each element \(\Delta \varvec{P}_{g,i}\) in the vector \(\Delta \varvec{P}_{g}\) indicates the adjustment of the ith generator output.

The generation dispatch model (4) adjusts the conventional generation to accommodate the variation of wind power and system load, and the adjustment of each generator depends on the dispatch strategy and the specific variation of wind power and system load.

Taking the generation dispatch into consideration, the linear power flow model can be rewritten as:

$$\left\{ {\begin{array}{*{20}l} {\left[ {\begin{array}{*{20}c} {\Delta\varvec{\delta}} \\ {\Delta \varvec{V}} \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {\left( {\varvec{K}_{d} + \varvec{K}_{g} \varvec{T}_{d} \cdot {\mathbf{1}}^{\text{T} } } \right)} & {\left( {\varvec{K}_{w} + \varvec{K}_{g} \varvec{T}_{w} } \right)} & {\varvec{K}_{Q} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}_{d} } \\ {\Delta \varvec{P}_{w} } \\ {\Delta \varvec{Q}} \\ \end{array} } \right]} \hfill \\ {\quad \quad \,\, = \varvec{K'}\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}_{d} } \\ {\Delta \varvec{P}_{w} } \\ {\Delta \varvec{Q}} \\ \end{array} } \right]} \hfill \\ {\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}_{line} } \\ {\Delta \varvec{Q}_{line} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {\left( {\varvec{L}_{d} + \varvec{L}_{g} \varvec{T}_{d} \cdot {\mathbf{1}}^{\text{T} } } \right)} & {\left( {\varvec{L}_{w} + \varvec{L}_{g} \varvec{T}_{w} } \right)} & {\varvec{L}_{Q} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}_{d} } \\ {\Delta \varvec{P}_{w} } \\ {\Delta \varvec{Q}} \\ \end{array} } \right]} \hfill \\ {\quad \quad \quad \, = \varvec{L'}\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}_{d} } \\ {\Delta \varvec{P}_{w} } \\ {\Delta \varvec{Q}} \\ \end{array} } \right]} \hfill \\ \end{array} } \right.$$
(5)

One goal of this paper is to find the optimal generation dispatch strategy that minimizes the conventional generation cost of accommodating the uncertainty of wind power and system load. To achieve this goal, PPF analysis based on the principle of maximum entropy will be developed in Section 3, so as to establish a probabilistic circumstance that is the closest to the actual situation; after that, in Section 4, a chance-constrained programming model will be presented and solved to obtain the optimal generation dispatch strategy.

3 PPF analysis based on the maximum entropy principle

If the generation dispatch strategy is known, that is, the distribution matrix T is given, then partial information about the system state random variables, such as ∆Pline, can be obtained by (4), (5) and the probabilistic features of wind power and system load. Based on this partial information, in order to calculate the most likely realized probability distributions of the system state variables, the maximum entropy principle and the related cumulant calculation process are presented.

3.1 The maximum entropy principle

The maximum entropy principle was first proposed by E.T. Jaynes in [23] in these terms: “The maximum-entropy estimate is the least biased estimate possible on the given information; i.e., it is maximally noncommittal with regard to missing information”, where the maximum entropy estimate criterion is called the principle of maximum entropy.

According to [23], the principle of maximum entropy can be applied to find the distribution estimate that is the closest to the real distribution, that is, the most likely realized probability distribution. The following maximum entropy model [24] is applied for this purpose:

$$\left\{ {\begin{array}{*{20}l} {\mathop {\hbox{max} }\limits_{{f\left( {\Delta P} \right)}} } \hfill & {h\left( {\Delta P} \right) = - \int {f\left( {\Delta P} \right)\ln f\left( {\Delta P} \right)} {\text{d}}\Delta P} \hfill \\ {{\text{s}} . {\text{t}} .} \hfill & {E\left[ {\Delta P^{n} } \right] = \int {\Delta P^{n} f\left( {\Delta P} \right)} {\text{d}}\Delta P = \mu_{n} } \hfill \\ {} \hfill & {\int {f\left( {\Delta P} \right)} {\text{d}}\Delta P = 1} \hfill \\ \end{array} } \right.$$
(6)

where ΔP is the random variable of interest, about which partial information is given by the constraints of moments; hP) is the entropy of ΔP; fP) is the PDF of ΔP; μn, n = 1, 2, …, N are the moments of fP).

3.2 The cumulant calculation process

In the maximum entropy model, the moments μn, n = 1, 2, …, N of the random variable need to be provided. The moments can be obtained conveniently from the corresponding cumulants of the random variable [25]:

$$\left\{ {\begin{array}{*{20}l} {\mu_{1} = \kappa_{1} } \hfill \\ {\mu_{2} = \kappa_{2} + \kappa_{1}^{2} } \hfill \\ {\mu_{3} = \kappa_{3} + 3\kappa_{2} \kappa_{1} + \kappa_{1}^{3} } \hfill \\ {\mu_{4} = \kappa_{4} + 4\kappa_{3} \kappa_{1} + 3\kappa_{2}^{2} + 6\kappa_{2} \kappa_{1}^{2} + \kappa_{1}^{4} } \hfill \\ {\mu_{5} = \kappa_{5} + 5\kappa_{4} \kappa_{1} + 10\kappa_{3} \kappa_{2} + 10\kappa_{3} \kappa_{1}^{2} + 15\kappa_{2}^{2} \kappa_{1} { + 1}0\kappa_{2} \kappa_{1}^{3} + \kappa_{1}^{5} } \hfill \\ \cdots \hfill \\ \end{array} } \right.$$
(7)

where \(\kappa_{\upsilon }\)is the \(\upsilon {\text{th}}\) cumulant of the random variable. The cumulants can also be obtained from the moments:

$$\left\{ {\begin{array}{*{20}l} {\kappa_{1} = \mu_{1} } \hfill \\ {\kappa_{2} = \mu_{2} - \mu_{1}^{2} } \hfill \\ {\kappa_{3} = \mu_{3} - 3\mu_{2} \mu_{1} + 2\mu_{1}^{3} } \hfill \\ {\kappa_{4} = \mu_{4} - 4\mu_{3} \mu_{1} - 3\mu_{2}^{2} + 12\mu_{2} \mu_{1}^{2} - 6\mu_{1}^{4} } \hfill \\ {\kappa_{5} = \mu_{5} - 5\mu_{4} \mu_{1} - 10\mu_{3} \mu_{2} + 20\mu_{3} \mu_{1}^{2} + 30\mu_{2}^{2} \mu_{1} - 60\mu_{2} \mu_{1}^{3} } \hfill \\ {\quad \quad + 24\mu_{1}^{5} } \hfill \\ \cdots \hfill \\ \end{array} } \right.$$
(8)

In order to obtain the input moments, some theoretical analysis is needed in order to calculate the cumulants. If a random variable \(\eta\) is a linear function of N random variables \(\theta_{i}\), \(i = 1,2, \ldots ,m\), that is, \(\eta = a_{0} + a_{1} \theta_{1} + \cdots + a_{m} \theta_{m}\), then once the cumulants of \(\theta_{i}\), \(i = 1,2, \ldots ,m\) are known, the cumulants of \(\eta\) can be calculated by these equations [26]:

$$\left\{ {\begin{array}{*{20}l} {\kappa_{\eta ,1} = a_{0} + \sum\limits_{i = 1}^{m} {a_{i} \kappa_{{\theta_{i} ,1}} } } \hfill \\ {\kappa_{\eta ,2} = \sum\limits_{i = 1}^{m} {a_{i}^{2} \kappa_{{\theta_{i} ,2}} } + 2\sum\limits_{i = 1,i < j}^{m} {a_{i} a_{j} \kappa_{{\theta_{i} ,\theta_{j} }} } } \hfill \\ {\kappa_{\eta ,3} = \sum\limits_{i = 1}^{m} {a_{i}^{3} \kappa_{{\theta_{i} ,3}} } + 3\sum\limits_{i = 1,i \ne j}^{m} {a_{i}^{2} a_{j} \kappa_{{\theta_{i}^{2} ,\theta_{j} }} } + 6\sum\limits_{i = 1,i < j < k}^{m} {a_{i} a_{j} a_{k} \kappa_{{\theta_{i} ,\theta_{j} ,\theta_{k} }} } } \hfill \\ \cdots \hfill \\ \end{array} } \right.$$
(9)

where \(\kappa_{\eta ,\upsilon }\) is the \(\upsilon{\text{th}}\) cumulant of \(\eta\); \(\kappa_{{\theta_{i} ,\upsilon }} ,i = 1,2, \ldots ,m\) is the \(\upsilon{\text{th}}\) cumulant of \(\theta_{i}\); \(\kappa_{{\theta_{i} ,\theta_{j} }}\), \(\kappa_{{\theta_{i}^{2} ,\theta_{j} }}\) and \(\kappa_{{\theta_{i} ,\theta_{j} ,\theta_{k} }}\) are the joint cumulants of the random variables, which are introduced in [26].

If \(\theta_{1} ,\theta_{2} , \ldots ,\theta_{m}\) are independent, then (9) can be simplified to

$$\left\{ \begin{aligned} \kappa_{\eta ,1} = a_{0} + a_{1} \kappa_{{\theta_{1} ,1}} + \cdots + a_{m} \kappa_{{\theta_{m} ,1}} \quad \upsilon = 1 \hfill \\ \kappa_{\eta ,\upsilon } = a_{1}^{\upsilon } \kappa_{{\theta_{1} ,\upsilon }} + \cdots + a_{m}^{\upsilon } \kappa_{{\theta_{m} ,\upsilon }} \quad \upsilon \ge 2 \hfill \\ \end{aligned} \right.$$
(10)

3.3 Probabilistic power flow analysis

To solve the most likely realized probability distribution of ∆Pline, firstly, the moments of the uncertainty sources, wind power and system load, can be collected by statistical techniques from the historical data, and converted to cumulants. Secondly, the cumulants of ∆Pline are calculated according to (5) and (9), and converted to moments. Thirdly, the moments of ∆Pline are input into the maximum entropy model (6).

The general solution of the maximum entropy model has been proposed in [27],

$$f\left( {\Delta P} \right) = \exp \left[ { - \sum\limits_{n = 0}^{N} {\varvec{\lambda}_{n} \Delta P^{n} } } \right]$$
(11)

where λn = [λ0, λ1, …, λN] are Lagrangian multipliers.

Substituting (11) into the optimization model of (6) results in these equations:

$$\left\{ {\begin{array}{*{20}l} {\int {\Delta P^{n} \exp \left[ { - \sum\limits_{n = 0}^{N} {\varvec{\lambda}_{n} \Delta P^{n} } } \right]{\text{d}}\Delta P} = \mu_{n} } \hfill \\ {\int {\exp \left[ { - \sum\limits_{n = 0}^{N} {\varvec{\lambda}_{n} \Delta P^{n} } } \right]} {\text{d}}\Delta P = 1} \hfill \\ \end{array} } \right.$$
(12)

To solve the values of Lagrangian multipliers λn= [λ0, λ1,…,λN], the Newton iteration method can be applied as in [27]. Equation (12) can be rewritten as:

$$\begin{aligned} \varPsi_{n} \left( {{{\varvec\lambda}}} \right) = \int {\Delta P^{n} \exp \left[ { - \sum\limits_{n = 0}^{N} {\varvec{\lambda}_{n} \Delta P^{n} } } \right]{\text{d}}\Delta P} = \mu_{n} \end{aligned}$$
(13)

where \(\mu_{0} = 1\). Using trial initial vector \(\varvec{\lambda}^{0}\), \(\varPsi_{n} \left( {\varvec{\lambda}} \right)\) can be developed as a first order Taylor’s series around \(\varvec{\lambda}^{0}\):

$$\begin{aligned} & \varPsi_{n} \left( {\varvec{\lambda}} \right) \cong \varPsi_{n} \left( {{\varvec{\lambda}}^{0} } \right) + \left( {{\varvec{\lambda}} - {\varvec{\lambda}}^{0} } \right)^{\text{T}} \left[ {{\text{grad }}\varPsi_{n} \left( {\varvec{\lambda}} \right)} \right]_{{\left( {{\varvec{\lambda}} = {\varvec{\lambda}}^{0} } \right)}} = \mu_{n} \end{aligned}$$
(14)

By denoting

$$\varvec{\zeta}= {\varvec{\lambda}} - {\varvec{\lambda}}^{0}$$
(15)
$$\varvec{\gamma}= \left[ {\mu_{0} - \varPsi_{0} \left( {{\varvec{\lambda}}^{0} } \right){ , } \ldots { , }\mu_{N} - \varPsi_{N} \left( {{\varvec{\lambda}}^{0} } \right)} \right]^{\text{T}}$$
(16)
$$\varvec{\varPsi}= \left[ {\psi_{nk} } \right] = \left[ {\frac{{\partial \varPsi_{n} \left( {\varvec{\lambda}} \right)}}{{\partial \lambda_{k} }}} \right]_{{\left( {{\varvec{\lambda}} = {\varvec{\lambda}}^{0} } \right)}} \, n,k = 0,1, \ldots ,N$$
(17)

(14) can be abbreviated as:

$$\varvec{\varPsi}\,\varvec{\zeta}=\varvec{\gamma}$$
(18)

Thus \(\varvec{\zeta}\) can be solved from (18), and \({\varvec{\lambda}} = {\varvec{\lambda}}^{0} \text{ + }\varvec{\zeta}\) becomes the new initial vector which is input to (15)–(18) again. The iterations continue until \(\varvec{\zeta}\) becomes small enough, thus the Lagrangian multipliers λn = [λ0, λ1, …, λN] are solved.

The most likely realized probability distributions of ∆δ, ∆V and ∆Qline can all be solved in this way.

4 Chance-constrained optimization model for the optimal generation dispatch strategy

In this section, a chance-constrained optimization model is presented to determine the optimal generation dispatch strategy that minimizes the generation cost. The solution algorithm is also presented using the most likely realized probability distributions of the system state variables obtained in the previous section.

4.1 Chance-constrained optimization model for generation dispatch strategy

The optimal generation dispatch strategy should minimize the expected generation cost, while avoiding overload of each system branch at a certain probability. Thus, the generation dispatch problem can be formulated as the following chance-constrained programming model.

$${\mathop {\hbox{min} }\limits_{T} }\quad {E\left[ {{\mathbf{1}}^{\text{T}} \varvec{C}\left( {\varvec{P}_{g,0} +\Delta \varvec{P}_{g} } \right)} \right]}$$
(19)
$${{\text{s}} . {\text{t}} .}\quad{\Pr \left( {\left| {\varvec{P}_{l,0} +\Delta \varvec{P}_{line} } \right| \le \varvec{P}_{l,\hbox{max} } } \right) \ge \alpha }$$
(20)
$${\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}_{line} } \\ {\Delta \varvec{Q}_{line} } \\ \end{array} } \right] = \varvec{L^{\prime}}\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}_{d} } \\ {\Delta \varvec{P}_{w} } \\ {\Delta \varvec{Q}} \\ \end{array} } \right]}$$
(21)
$${\Delta \varvec{P}_{g} = \varvec{T}\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}_{w} } \\ {{\mathbf{1}}^{\text{T}}\Delta \varvec{P}_{d} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {\varvec{T}_{w} } & {\varvec{T}_{d} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}_{w} } \\ {{\mathbf{1}}_{{N_{d} }}^{\text{T}}\Delta \varvec{P}_{d} } \\ \end{array} } \right]}$$
(22)
$${\varvec{P}_{g,\text{min}} \le \varvec{P}_{g,0} +\Delta \varvec{P}_{g} \le \varvec{P}_{g,\text{max}} }$$
(23)
$${ - 1 \le T_{w,ij} \le 0}$$
(24)
$${\sum\limits_{i = 1}^{{N_{g} }} {T_{w.ij} } = - 1\quad \, j = 1,2, \ldots ,N_{w} }$$
(25)
$${0 \le T_{d,i} \le 1}$$
(26)
$${\sum\limits_{i = 1}^{{N_{g} }} {T_{d,i} } = 1}$$
(27)
$${\left\{ \begin{aligned} i = 1,2, \ldots ,N_{g} \hfill \\ j = 1,2, \ldots ,N_{w} \hfill \\ \end{aligned} \right.}$$
(28)

where the decision variable T is defined above in Section 2.2; Pg,0 is the conventional generation output at the system operation point; \(\varvec{C}\left( {\varvec{P}_{g,0} + \Delta \varvec{P}_{g} } \right)\)is the vector of generation cost, each element

$$C_{i} \left( {P_{g,0}^{i} + \Delta P_{g}^{i} } \right) = a_{i} \left( {P_{g,0}^{i} + \Delta P_{g}^{i} } \right)^{2} + b_{i} \left( {P_{g,0}^{i} + \Delta P_{g}^{i} } \right) + c_{i}$$

\(E\left[ \cdot \right]\)denotes the calculation of expected value, and \(\Pr \left( \cdot \right)\)denotes the probability; Pl,0 is the vector of line active power flow at the system operating point; Pg,min and Pg,max are the minimum and maximum generation limits; Tw,ij is the element of Tw; Td,i is the element of Td; Ng is the number of dispatchable conventional generators; Nw is the number of wind farms that connected to the power grid.

In this model, the object is to minimize the expected generation cost. The chance constraint (20) indicates that the probability of not overloading each line should be no smaller than α. Equation (23) is the constraint of conventional generation output limits. Equations (24)–(27) indicate that the variations of wind power and system load are compensated by the dispatchable conventional generators, and allocated to each generator according to the dispatch strategy.

The chance-constrained programming model (19)–(28) is difficult to solve because of the chance constraint (20). In the next subsection, the pattern search algorithm combined with the maximum entropy method will be proposed to solve it and obtain the optimal generation dispatch strategy.

4.2 Solution algorithm

As discussed in Section 3, if the generation dispatch strategy T is given, then the most likely realized probability distribution estimates of ∆Pline, ∆Qline, ∆δ and ∆V can be solved by the cumulant calculation process and the maximum entropy model. Once the PDF of ∆Pline is known, the probability of not overloading each line is calculated as:

$$\Pr \left( {\left| {P_{l,0}^{i} + \Delta P_{line}^{i} } \right| \le P_{l,\hbox{max} }^{i} } \right) = \int_{{ - P_{l,\hbox{max} }^{i} - P_{l,0}^{i} }}^{{P_{l,\hbox{max} }^{i} - P_{l,0}^{i} }} {f\left( {\Delta P_{line}^{i} } \right){\text{d}}\Delta P_{line}^{i} }$$
(29)

where i = 1, 2, …, Nl indicates the ith line.

To obtain the optimal generation dispatch strategy, the computation procedure that combines the pattern search algorithm [28] with the maximum entropy method is shown as a flow chart in Fig. 1.

Fig. 1
figure 1

Flow chart of the pattern search algorithm combined with the maximum entropy method

5 Case study

The maximum entropy-based generation dispatching method has been tested on the benchmark IEEE-39 bus power system consisting of 10 conventional generators. To simplify the analysis, the output of generators at buses 32, 34, 36, 37, 39 is fixed to be the output at the operating point. The generators at buses 30, 31, 33, 35, 38 respond to generation dispatching, balancing the variation of wind power and system load.

The wind farms are assumed to be independent of each other, and connected to bus 24, bus 25 and bus 29, respectively. Because of the lack of historical data, pseudo-random wind speed data are generated from known Weibull distributions, and the wind power penetration considered is 10% of the total load at the operating point. The active power loads are assumed to be independent, and historical load data are generated from normal distributions, the expected values of which are set to be the load value at the operating point. The confidence level of not overloading each branch is set to be 95%.

To validate the effectiveness of the optimal dispatching strategy, that is, reducing the generation cost and accommodating the fluctuation of wind power and system load, tests are carried out with and without the optimal dispatching strategy. The generation output at the slack bus (bus 31) entirely balances the power uncertainties when the optimal dispatching strategy is not used.

To validate the effectiveness of the maximum entropy-based (ME) method, the Gram-Charlier (GC) [11] and Monte Carlo (MC) [7] methods are also applied to the same power system to do the PPF analysis. The GC method calculates the cumulants of the system state random variables exactly the same way as the ME method, but obtains their PDFs by GC expansion formulations. The MC method enumerates all the historical wind power and system load data, and calculates corresponding sample values of the system state random variables, so as to evaluate their PDFs. The details of the GC method and the MC method can be found in [7, 11] respectively.

The results of MC algorithm are used as a benchmark, and the accuracies of the maximum entropy-based method and the GC algorithm are evaluated by the average root mean square (ARMS) error [3], which is formulated as follows:

$$ARMS = \frac{{\sqrt {\sum\limits_{i = 1}^{N} {\left( {Y_{i} - Y_{ref,i} } \right)^{2} } } }}{N}$$
(30)

where Yi is the ith CDF value of the random variable obtained by the evaluated algorithm, and Yref,i is the corresponding CDF value obtained by the MC algorithm; N is the total number of evaluated points.

5.1 Expected cost with and without the optimal generation dispatching strategy

The optimal generation dispatching strategy is obtained by solving the chance-constrained programming model (19)–(28), where the object is to minimize the expected value of total generation cost, and the generation dispatching strategy is denoted by the distribution matrix T. Table 1 lists the expected value of generation cost with and without the optimal generation dispatch strategy. The results show that with the optimal generation dispatch strategy, the expected generation cost decreases. The main reason is that the more economic conventional generators share the burden of balancing the power mismatch with the generator at the slack bus, thus decreasing the cost.

Table 1 Comparison of the expected generation cost with and without generation dispatching

5.2 Probabilistic power flow analysis of bus voltage angle and active line flow

In this study, the generation dispatch strategy mainly affects the active line flow and the bus voltage angle, so the PPF analysis has been performed on the IEEE-39 bus system to illustrate this effect. Figure 2 shows the PDF curves of the active line flow on branch 5-6 obtained by the ME method and the MC method, with and without generation dispatching; Table 2 lists the ARMS error, mean value, standard deviation, 10% confidence level, 90% confidence level and the computation time of the PPF results obtained by the ME method, the GC method and the MC method, with and without generation dispatching. Figure 3 shows the PDF curves of the voltage angle at bus 25 obtained by the ME method and the MC method, while Fig. 4 shows part of the PDF curves of the voltage angle at bus 25 obtained by the ME method, the GC method and the MC method. Table 3 lists the statistical parameters of the voltage angle results obtained by the ME method, the GC method and the MC method, with and without generation dispatching.

Fig. 2
figure 2

PDF curves of the active line flow on branch 5-6 obtained by ME method and MC method with and without generation dispatching

Table 2 Comparison of results for the active line flow on branch 5-6 obtained by different methods with and without generation dispatch
Fig. 3
figure 3

PDF curves of the voltage angle at bus 25 obtained by the ME method and the MC method with and without generation dispatching

Fig. 4
figure 4

Part of the PDF curves of the voltage angle at bus 25 obtained by different methods

Table 3 Comparison of results for the voltage angle at bus 25 obtained by different methods with and without generation dispatch

From Table 2, it can be seen that, compared with the results of MC method, the ME method requires less computation time while obtaining accurate PDF curves of the active line power flow and the bus voltage angle. Though the GC method also computes much faster than the MC method, the PDF curve obtained by GC method may have negative probability density values, as shown in Fig. 4, which is unrealistic.

Comparing the PDF curves and the results obtained with and without generation dispatching, it can be seen that the dispatch strategy affects the probabilistic active power flow and bus voltage angle significantly. In most cases, the generation dispatching reduces the variation of both active power flow and bus voltage angle. The main reason is that multiple conventional generators distributed across the power grid, rather than only the generator at the slack bus, participate in compensating the variation of wind power and system load, so as to decrease the variation of power flow. However, in some cases, generally when the bus or the branch is near a conventional generator participating in dispatching, the uncertainty of the bus voltage angle or the active line flow increases. For example, the PDF curves of the active power flow on line 21-22 is shown in Fig. 5. The results show that the variation of the active power flow increases with generation dispatching, and this line is near the generator at bus 35.

Fig. 5
figure 5

PDF curves of the active line flow on branch 21-22 obtained by ME method and MC method with and without generation dispatching

5.3 Probabilistic power flow analysis of slack bus generation

Without generation dispatching, the generation at the slack bus is responsible for balancing the total power mismatch in the power systems. With dispatching, several other conventional generators share this burden. The PDF curve of the generation at the slack bus are shown in Fig. 6, Table 4 lists the variation characteristics of generation at the slack bus. The results show that with generation dispatching, the variation of the generation at the slack bus decreases, because other conventional generators share in balancing the power mismatch.

Fig. 6
figure 6

PDF curves of active power generation at the slack bus obtained by ME method and MC method with and without generation dispatching

Table 4 Comparison of results for generation at the slack bus obtained by different methods with and without generation dispatch

6 Conclusion

In this paper, a new generation dispatch method based on the maximum entropy principle is presented to compensate the variation of wind power and system load, and to minimize the expected generation cost. With the available partial information about the statistics of uncertain factors, the ME principle is introduced to find the most likely realized probability distribution of the power flow, thus providing an accurate probabilistic power flow analysis which is necessary to solve the generation dispatching problem.

The proposed method is applied to the IEEE 39-bus system, and compared with MC and GC methods. The results demonstrate that the optimal generation dispatching strategy reduces the influence of uncertain factors on the system power flow, and decreases the expected generation costs. In addition, the results show that the ME method is superior to the GC method in accuracy, and is superior to the MC method in computational efficiency.

The ME-based method could also be applied to other problems of system planning and operation, such as transmission network planning and reserve scheduling, and could also be applied to deal with different types of uncertainties, such as the variability of photovoltaic generation.