Next Article in Journal
Brain-Inspired Healthcare Smart System Based on Perception-Action Cycle
Next Article in Special Issue
Hierarchical Pitch Control for Small Wind Turbines Based on Fuzzy Logic and Anticipated Wind Speed Measurement
Previous Article in Journal
Performance of Tilting Pad Journal Bearings with the Same Sommerfeld Number
Previous Article in Special Issue
Power Capacity Optimization in a Photovoltaics-Based Microgrid Using the Improved Artificial Bee Colony Algorithm
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Hybrid Model to Simulate Test Cases of Electrical Power Systems

by
Roman Rodriguez-Aguilar
Facultad de Ciencias Económicas y Empresariales, Universidad Panamericana, Augusto Rodin 498, Ciudad de Mexico 03920, Mexico
Appl. Sci. 2020, 10(10), 3531; https://doi.org/10.3390/app10103531
Submission received: 5 March 2020 / Revised: 7 May 2020 / Accepted: 8 May 2020 / Published: 20 May 2020
(This article belongs to the Special Issue Applied Optimization in Clean and Renewable Energy: New Trends)

Abstract

:
The development of solution algorithms for power system problems is based on hypothetical test systems and test cases. These systems are very scarce, and the degree of variability is relatively low. The constant development of the economic analysis in electrical power systems denotes the need to obtain standardized systems and cases. In this study, the creation of standardized test cases based on a hybrid model using Lévy alpha stable distributions and generalized additive models is proposed. The objective of the work is to present a methodological proposal for the creation of test environments for optimization models based on general information about the operation of particular power systems. The simulation of random values based on Lévy alpha stable distributions lets capturing the series impulsivity and demand peaks, and the use of generalized additive models permits capturing non-linearity in the behavior of the demand for electrical energy. The hybrid model will tolerate simulating as many instances as necessary, with a coherent behavior attached to the reality of the operation of the analyzed electrical systems.

1. Introduction

The problem of economic dispatch has generated a wide development in the optimization algorithms for its solution as well as the adequate planning of the generation and expansion of the electrical networks. Its importance is such that in the literature, multiple approaches have been developed in this regard. However, there is a need to have available information from test systems for such algorithms; in most cases, the information available from real electrical networks is not public, so being able to have a robust method for generating test data efficiently represents a relevant contribution. This paper proposes a conceptual framework based on a hybrid model using Lévy alpha stable distributions and generalized additive models for the generation of test cases.
One of the essential inputs to test the optimization algorithms are the test cases for the behavior of the demand; without such input, it is impossible to test the efficiency of the implemented algorithms. This work contributes to having standardized test cases that can be used to benchmark the performance of many proposed optimization techniques. One of the main advantages of the proposed method to generate test instances is, once obtained, the model parameters can create as many instances as needed without losing robustness in the estimates. This would be equivalent to evaluating the optimization model in a variety of electrical systems. This represents a great advantage over other techniques. Being able to have unlimited test instances will let to analyze in greater detail the robustness of the optimization algorithms used as well as their stability in obtaining feasible solutions.
The study of the problem of economic dispatch has been an area in continuous development, integrating aspects such as renewable energy, distributed generation, and smart grids into the electricity grid. However, there has not been much attention in the generation of test systems for the evaluation of optimization algorithms. They are generally considered historical data, or random instances are generated assuming a Normal probability distribution. Both proposals have some disadvantages, the use of historical data limits the availability of information, especially in recently created systems or with innovative elements, as well as limiting the number of available instances. In the case of the generation of random instances through normal distribution, it implies some limitations, such as the presence of heavy tails in historical data. Additionally, when generating random numbers through the normal distribution, the seasonal behavior of the characteristic demand of electrical systems is lost. Therefore, it is difficult to replicate medium and long-term power generation planning periods. This avoids reflecting the response of the economic dispatch models to extreme values and seasonality, thus limiting the conclusions on the solutions found.
The proposed hybrid model of this work seeks to overcome these limitations in test cases by using the alpha stable distribution and using generalized additive models. The proposal is integrated in the following way, fitting of historical data to the stable alpha distribution seeks to identify the presence of impulsivity in the data series. With this, it is possible to simulate random instances that follow the alpha stable distribution. For the integration of the non-linear component, the simulated alpha stable data is integrated into a generalized additive model, which consents to segment the data into additive modules, each fitted to a particular non-linear function (such as the spline or kernel functions). Thus, the generated instances considering extreme scenarios as well as replicating the non-linear seasonal behavior of the electrical system analyzed.
The structure of the work is as follows: Section 2 presents a literature review of different aspects in the solution of the problem of economic dispatch as well as state of the art on the generation of test cases. Section 3 explains the proposed methodology that integrates a brief generic description of the economic dispatch problem, the definition of the alpha stable distribution, and the simulation of alpha stable random numbers. Further to addressing the theoretical foundations of generalized additive models. Section 4 describes the application of the model in three generic electrical systems for the simulation of test cases in an operational year of 52 weeks. Finally, Section 5 presents the conclusions.

2. Literature Review

The optimization problems for electrical power systems have been studied for more than five decades. A definition of economic dispatch is the operation of generation facilities to produce energy at the lowest cost to reliably serve consumers, recognizing any operational limits of generation and transmission facilities. In the typical unit commitment [1], the problem consists as determining the mix of generators and their estimated output level to meet the expected demand of electricity over a given time horizon (a day or a week) while satisfying the load demand, spinning reserve requirement and transmission network constraints. An electric network consists of many generation nodes with various generating capacities and cost functions, lines of transmission, and nodes of power demand [2].
The application of optimization models for electrical power systems is marked by constant development for new algorithms like exact methods, metaheuristics, and hybrid strategies [3]. Authors such as Montoya O. [4] show applications of a non-linear economic dispatch problem and its implementation in commercial software for operational and regulatory analyses in Colombia. Other works, such as Perez-Lechuca et al. [5], show the application of an optimization model for hydrothermal coordination and the emission of polluting particles. Recent research integrates various sources of fuel, such as natural gas, in the determination of the optimal generation at the lowest cost, considering wind generation, in addition to considering the model as a bi-level model [6]. Jin X. et al. [7] shows a dynamic version of the problem of economic dispatch, considering a hybrid energy micro-grid, and adding to the problem a virtual energy storage system.
The problem has approached from the perspective of the integration of renewable energies. As well as different methods of solving the optimization problem, such as the case of Qu B.Y. et al. [8], where the application of multi-objective evolutionary algorithms models is shown for the solution of an environmental-economic dispatch problem. In the same way, different versions of the problem of economic dispatch have been explored through the temporality of the solution. Depending on the demand period that is desired to be planned, in Jiang Y. et al. [9], a stochastic version of the problem of economic dispatch is shown, considering wind energy and demand response for scheduling of home energy management. Other authors include in the problem constraints related to the emission of pollutants as well as risk measures in the electrical system. Perez-Lechuga et al. [5] propose a multi-objective model of economic dispatch with restrictions on risks arising from the integration of wind energy into the system. Similarly, economic dispatch models with multiple energy carriers have proposed, in this case, works such as Derafshi-Beigvand S. et al. [10], which address the treatment of energy hubs in the operation of integrated systems using a particle-swarm optimization algorithm.
The approach to the problem of economic dispatch has multiple aspects, among which the solution method and the characteristics of the analyzed electrical system can highlight. Recent research shows the integration of clean energy as well as energy storage and multiple energy carriers. The problem of economic dispatch is and will continue to be a priority problem in the academic and industrial fields because electrical systems evolve under the availability of energy in the world and with technological development.
Along with the development of novel algorithms for solving the problem of economic dispatch in its multiple variants, it is necessary to have test systems to evaluate solution algorithms. The electricity network, as well as the characteristics of the operation of an electrical system, are reserved information. Generally, there are test versions of electrical systems as well as characteristics of the network’s demand behavior. To benchmark the performance and solution quality for any solution technique, it is necessary to have a variety of electrical test systems [11]. Nowadays, we still lack the existence of standardized test systems that can be used to benchmark the performance and solution quality of proposed techniques. Many papers consider different test systems, which make it very difficult to perform a proper comparison between methods that have proposed [12]. Zhang X.P. et al. [13] have referred that the existing IEEE test systems developed are used for reliability, power flows, and stability analyses but not for economic analysis. Recently, some panels focusing on the development of standard test systems of transmission and distribution systems for economic analysis have emerged. In 2007, the IEEE Working Group (WG) on Test Systems for Economic Analysis was created, sponsored by the IEEE System Economics subcommittee. As a result of this initiative, Peña I. et al. [14] proposed a version of the IEEE 18-bus test system, a database of an electrical network, with a reconfiguration of three regions of the US Western Interconnection, including renewable energies. A test system includes transmission, generation, load, wind, and solar data. Barrows C. et al. [15] proposed an update of the IEEE reliability test system, which includes the production of electricity, transmission, and consumption needs, but the last update of this test system was carried out in 1996. The modifications include the inclusion of geographic information of Southwestern United States to include temporal space information wind, solar, and load data with forecasts. Mahdavi M. et al. [16] presented a proposal for a test system based on real data, which has planning information for network expansion, operation, and reliability. This work integrates information on the expansion of the generation by providing detailed information on the architecture of the electricity grid. The presented load modeling includes hourly, daily, weekly, monthly, and seasonal patterns.
The existing test systems consider the architecture of an electrical system, in addition to the recent updates to have renewable energies, as well as information on generation and consumption planning. There are few cases where demand information is included; these systems are input for testing the different economic dispatch models to implement. A fundamental characteristic to test the different algorithms for solving the problem of economic dispatch lies in the treatment of the demand that determines the optimal allocation at the lowest cost. Several authors have documented the seasonal nature of the demand for electrical energy, as well as the availability of fuels and renewable energy in the planning of expansion [17,18,19,20,21]. For the forecast of the demand for electric energy, there are multiple methodologies. These methodologies are based generally on time series models, machine learning, wavelets theory, multi-agent, or hybrid models [22,23,24,25,26,27,28]. The objective of these models is to forecast as accurately as possible the demand for electric power for a period forward based on the available historical information. The drawback of using this forecasted data to test algorithms for solving the economic dispatch problem is that it is a particular data that considers a specific time horizon and is according to the available information. Therefore, the use of a demand simulation method based on the use of alpha stable distributions and generalized additive models is another option for testing and validating algorithms in a development phase.
It has been identified that electrical demand presents a greater degree of impulsivity due to the presence of peaks in the series during the hours of the day and seasons of high-energy demand in the year [24,25,26,27,28]. For this, we use the Chambers–Mallows–Stuck algorithm for simulating alpha stable random variables characterizing demand peaks and generalized additive models (GAMs) to model the non-linear behavior of real electrical systems. This proposal allows us to model the real behavior of the electrical demand and build possible extreme scenarios. Each scenario corresponds to a price-elastic demand curve. The simulations are based on real observations of demand for different reliability test systems. Electrical network data are taken from P.M. Subcommittee [29] and 118 bus IEEE test systems from Christie R. et al. [30], and a portion of the electric energy system of mainland Spain from Alguacil N. and Conejo J.A. [31].
According to the literature review, there are areas of opportunity for the generation of test cases, especially for the academic field, due to the scarcity of public information available on the architecture of electrical networks, as well as their operation. Therefore, having a method to simulate instances is of potential utility for the development of research in power systems. Most of the existing methods focus on forecasting electricity demand, but it is necessary to take into account the structure of the electrical system in the generation of test cases. That is the reason why the proposed hybrid model could provide additional information to the current state of the art.

3. Materials and Methods

This section briefly describes the different methodologies used to build the hybrid model by describing the problem of economic dispatch, simulation methodology with alpha stable distribution, and generalized additive models for the fitting of non-linear behaviors in the data series.

3.1. Short Version of Economic Dispatch Problem

The problem of economic dispatch of power plants is a classic problem in power systems. We have a network of electric power generators that are located in different nodes of an electric network. The objective of the problem is to determine, for a given period, the power that each generator has to produce to meet the required demand at the minimum cost, complying with a set of technical restrictions of the network and the generators. Each line in the network transmits power from the supply node to the receiving node. The power sent is proportional to the difference in the angles of these nodes (susceptance). The power transmitted from node i to node j through line ( i j ) is represented by Equation (1) [32]:
B i j ( δ i δ j )
where B i j is the susceptance of the line ( i j ) , δ i and δ j are the angles of the nodes. The amount of power transmitted through a network line is limited by thermal or stability conditions. This is represented in Equation (2).
P i j m a x B i j ( δ i δ j ) P i j m a x
The power produced by a generator is a magnitude limited lower and higher. The lower level is due to stability conditions and the upper level to thermal conditions. Equation (3) shows this constraint
P i m i n P i P i m a x
where p i is the power produced by generator i and, P i m i n and P i m a x are the maximum and minimum power output that can be administered to generator i . In each node, the power must match the power that comes out of it according to the law of conservation of energy. This is represented in Equation (4).
j Ω i B i j ( δ j δ i ) + p i = D i ,   i
where Ω i is the set of nodes connected through the lines to node i and D i the demand in node i , the transmitted power is bounded. Equation (5) show this constraint.
P i j m a x B i j ( δ i δ j ) P i j m a x ,   j     Ω i ,   i
Therefore, a generic version of the problem of economic dispatch can be formulated as follows. Equation (6) shows the objective function of the economic dispatch problem [32].
M i n   Z = i = 1 n C i p i
where C i is the production price of generator i and n number of generators. Subject to generic constraints represented by Equations (7)–(10)
j Ω i B i j ( δ j δ i ) + p i = D i ;   i = 1 ,   2 , , n
P i j m a x B i j ( δ i δ j ) P i j m a x ;   j     Ω i ,   i = 1 ,   2 ,   ,   n
P i m i n P i P i m a x ; i = 1 ,   2 ,   ,   n
δ k = 0 ; w h e r e   k   i s   a n   a r b i t r a r y   n o d e
where
n : the number of generators
P i m i n : the minimum power of generator i
P i m a x : the maximum power of generator i
B i j : the susceptance of line i j
P i j m a x : the maximum transport capacity of line i j
C i : the cost of producing power from generator i
Ω i : the set of nodes connected to node   i
D i : the demand at node   i  
p i : the power to be produced by generator i
δ i : the angle of node
As documented in the first section, the problem of economic dispatch has multiple aspects according to the elements that are to be integrated into the power grid to be modeled. The demand of each node in the network is a fundamental element for this optimization problem; this variable is generally determined based on historical data observed. However, when proposing new methods of solving the problem and assessing its efficiency and stability, it is necessary to have a large number of test cases that replicate in the best way the real behavior of the electrical network.

3.2. Stable Distributions

There are multiple applications of this family of distributions in many sectors. Lévy P. [33] was the first to develop a stable distribution theory. Later, Mandelbrot B. [34] proposed a theory based on this distribution to solve the problem of price fluctuations. There are some issues in operating these distributions as they lack an analytical form. A random variable W has stable distribution X ~ S ( α ,   β ,   γ ,   δ ; 1 ) with the characteristic function represented by Equation (11) [35].
E   exp ( i t W ) = { exp { γ α | t | α [ 1 i ( s g n ( t ) ) β ( t a n   π α 2 ) ] + i δ t } , (   α 1 ) exp { γ | t | [ 1 + i ( s g n ( t ) ) β 2 π ln ( | t | ) ] + i δ t } , ( α = 1 ) }
where s g n ( x ) = { 1   i f   x > 0 0   i f   x = 0 1   i f   x < 0 } and α ϵ ( 0 ,   2 ] represents the impulsiveness of the random variable. The parameter β [ 1 ,   1 ] is the symmetry of the distribution. γ > 0 is a scale parameter, and δ R is the position parameter. Alpha-stable distribution with different parameters defines known distribution functions, Gaussian distribution in Equation (12), Cauchy distribution in Equation (13), and Lévy distribution in Equation (14).
f 2 , 0 ( . | γ , μ ) is a Gaussian distribution with mean δ and variance 2 γ 2 ,
N ( x , μ 2 γ 2 ) = 1 2 γ π exp { ( x μ ) 2 4 γ 2 }
f 1 , 0 ( . | γ , μ ) is a Cauchy distribution with density,
p C a u c h y ( x | μ , γ ) = p γ π ( ( x μ ) 2 + γ 2 )
f 1 / 2 , 1 ( . | γ , μ ) is a Lévy distribution with density,
p L é v y ( x | μ , γ ) = ( γ 2 π ) 1 2 1 ( x μ ) 3 2 e x p { γ 2 ( x μ ) }
In this research, we use Nolan’s algorithm to estimate the alpha-stable distribution parameters. Nolan’s algorithm [36] is based on Zotolarev’s representation of the characteristic function [37]. The algorithm performs the numerical integration of a set of splits of the random variable domain. These splits are based on the sign change of the trigonometric functions (sine and cosine) that result from the transformation of Zoratev V.’s [37] representation into the complex plane. There are other methodologies for estimating the parameters of the stable distribution, like those presented by Belov I. [38], proposing a combination of Gaussian and Laguerre’s quadrature; or Mittnik S. et al. [39] presenting an algorithm that applies the fast Fourier transform. Finally, DuMouchel W.H. [40] used a Bergström series expansion on Zotolarev’s characteristic function representation for approximating a stable cumulative distribution. Nevertheless, Nolan’s algorithm [35,41] has proven to be an easy method to implement, with good performance with high-frequency data, as is the case with the demand for electrical energy.

3.3. Stable Random Variable Simulation

The Chambers–Mallows–Stuck method [42] generates a random variable X with distribution f α , β ( X | 1 , 0 ) from a non-linear transformation of two random variables independently, one uniform ( V ) and another exponential ( W ) , using the following theorem. Let (V) be a uniform random variable in the interval ( π 2 ,   π 2 ) , and ( W ) , an exponential random variable with mean equal one, if V and W are independent. Equation (15) displays a random variable that follows an alpha stable distribution.
X = S α , β sin ( α ( V + B α , β ) ) ( c o s V ) 1 α ( c o s ( ( 1 α ) V + B α , β α W ) ( 1 α ) α ,
follows a stable distribution with f α ,   β ( X | 1 , 0 ) , where B α , β and S α , β are defined by Equations (16)–(17).
B α , β = arctan ( β tan ( π α 2 ) ) α
S α , β = ( 1 + β 2 t a n 2 π α 2 ) 1 2 α
Once the variable ( X ) , is estimated, a variable that follows stable distribution for any set of values of the parameters S ( α ,   β ,   γ ,   δ   a n d   µ ) is generated by Equations (18)–(19).
f α , β ( γ , μ ) ~ γ X + μ   s i   α 1 ,   and
f α , β ( γ , μ ) ~ γ X + 2 π β γ l n γ + μ ,   i f   α = 1
Some examples of the application of Chambers–Mallows–Stuck are presented in [41,43,44], among other works.

3.4. Generalized Additive Models (GAMs)

The different methodologies for making predictions or forecasts using linear models have limitations when working with data that presents non-linear behavior. Recently the generalized additive models (GAMs) approach has been developed. These models are an extension of the regression models, with non-linear functions for the variables and maintaining the additivity of the model. GAMS models work with quantitative and qualitative response variables [45].
For the avobe, the regression model can be extended to capture non-linear relationships between independent variables and the dependent variable. For this, it is necessary to replace each linear component ( β j x i j ) with a non-linear (smoothed) function f j ( x i j ) . The model specification is presented by the Equations (20)–(21) [45].
y i = β 0 + j = 1 p f j ( x i j ) + ε i
y i = β 0 + f 1 ( x i 1 ) + f 2 ( x i 2 ) + + f p ( x i p ) + ε i   .
where f j are smooth non-linear functions.
The type of functions that can be used includes natural splines, step functions, polynomial, smoothing splines, and basis functions. The use of different functions for non-linear treatment is so that each explanatory variable improves the efficiency of the estimates. Given the additive nature, it is feasible to analyze the effect of each independent variable separately, keeping the rest of the variables constants. This property is the one that will fit in a better measure of the seasonal behavior of the demand for electrical energy. The methods for estimating the parameters of the additive model are based on iterative algorithms, such as the back-fitting algorithm [45].

3.5. Proposed Hybrid Model

The proposed model considers the structure of a power grid, as well as historical demand data. Based on this information, the parameters of the alpha stable distribution are estimated. Subsequently, using the Chambers–Mallows–Stuck method [42], stable random values simulate as much data as necessary. Using the simulated information as a training base, a GAM model is fitted to estimate the demand for electricity in the desired time horizon. The conceptual proposal is presented in Figure 1.
The structure of the proposed model is based on the sequential estimation of a set of parameters for simulating the power system test cases. The first step is to fit the historical data from the reference power system to the stable alpha distribution using the regression method.
Let ( X t ) be a random variable that represents the demand for electrical energy for a period of time ( t ) . With these historical data, the parameters of the stable alpha distribution are estimated by the regression method using the following equations [35,36,46,47].
Estimation of parameters α   a n d   γ , is presented in Equation (22).
y k = m + α k + ε k ,   k = 1 ,   2 , ,   K
where, y k = log ( log ( φ ( t k ) ) 2 , m = log ( 2 γ α ) , w k = log ( t k ) , ε k is the random error, and K of the historical data seats t k = π k 25 ( k = 1 ,   2 ,   ,   K ) . Whit estimations of α   a n d   γ is a possible estimate of the symmetric parameter ( β ) and location parameter based on Equation (23).
Z l = μ μ l β γ α tan ( π α 2 ) s g n ( μ l ) | μ l | α + η l ,   l = 1 ,   2 ,   ,   L
where, Z l = g n ( μ l ) + π k n ( μ l ) , g n ( μ ) = arctan ( I m ( φ ( μ ) ) R e ( φ ( μ ) ) , η k is the random error, and L of the real data sets μ l = π l 50 ( l = 1 ,   2 ,   ,   L ) . The results of this stage are the parameters of the stable alpha distribution for the historical data series X t ~ S ( α ^ ,   β ^ ,   γ ^ ,   δ ^ ) . Using Equations (18) and (19) and the estimated stable alpha distribution parameters, stable alpha random numbers can be generated X ^ n ~ S ( α ^ ,   β ^ ,   γ ^ ,   δ ^ ) . In order to estimate the GAM model, information on the operation of the power system is considered as the price of energy and the price of fuels for the time horizon to be modeled. In this case, fuel prices and the local marginal price will be used so have P L M ^ i and P C O M B ^ i . The specification of the GAM model is presented in Equation (24) [45].
X ^ i = β 0 + f 1 ( P L M ^ i 2 ) + f 2 ( P C O M B ^ i 3 ) + ε i
where f 1 and f 2 are smooth non-linear functions (could be natural splines, step functions, polynomial, smoothing splines, or basis functions).
The objective of the proposed model is to be able to have as many instances as possible, as close as possible to reality, in order to validate optimization algorithms for the solution of the economic dispatch problem. One of the advantages of the hybrid model is that long-term horizons can be simulated, such as a full year of operation of the power system.

4. Application

For the estimation of the proposed hybrid model, information from three systems will be used (IEEE-104, IEEE-24, and IEEE-118), in addition to information on fuel and electricity prices for a one-year operation period (52 weeks). The development of the application includes the estimation of parameters for stable alpha distribution based on historical data, simulating 1000 random instances with stable alpha distribution based on previously estimated parameters, and fitting a model GAM based on the information generated. The result of the hybrid model is the generation of test cases corresponding to an entire year of operation (weekly). It is possible to generate as many periods as desired, depending on the periodicity of the historical information.

4.1. Simulation of Alpha-Stable Random Variables

To generate new cases by the methodology proposed, it worked with three standardized test systems.
  • System I: Based on the IEEE-104 bus electric energy system of Mainland Spain with 104 nodes, 62 thermal units, and 160 transmission lines [31].
  • System II: Based on the IEEE-24 bus test system with 24 nodes, 24 thermal units, and 38 transmission lines [29].
  • System III: Based on the IEEE-118 bus test system with 118 nodes, 54 thermal units, and 186 transmission lines [30].
All instances consider a 24-h planning horizon with one period per hour. We use alpha stable distribution to model the demand from the original systems analyzed. The parameterization one of alpha stable distribution is used, which is usually applied for modeling heavy tail and high-frequency data. This parameterization is represented in Equation (25) [46,47].
ϕ ( k ) = lnfc ( k ) = { i δ k γ α | k | α { 1 i β sgn ( k ) tan Π α 2 } ,     (   α 1 )     i δ k γ | k | { 1 + i β sgn ( k ) 2 Π } ,     ( α = 1 ) } ,
The parameters that characterize the stable distribution were obtained through the three methods generally accepted: (1) maximum likelihood, (2) quantile, and (3) regression. For the simulation of the alpha stable random variables in this work, the parameters generated by the regression method will be used. Better fit has been documented by the regression method for heavy-tailed data [47,48]. Table 1 shows the estimated parameters for the fitted alpha stable distribution for each system, with the three estimation methods (maximum likelihood, quantile, and regression).
The parameter alpha in three systems shows the presence of impulsivity in the series; all series are positive asymmetric and have high dispersion denoting the presence of heavy tails. That shows that demand in the 24 h of the day and the electricity consumption habits. The Chambers–Mallows–Stuck method [42] was used to simulate random variables that follow an alpha stable distribution. With the estimated parameters, 1000 alpha stable random numbers were simulated for each original test system according to the original energy demand ranges. To obtain the values in demand units of energy, the inverse transform method was applied.
Figure 2 shows the simulation of random instances based on the IEEE-104 bus system with the alpha stable parameters S ( α = 1.6 , β = 1.0 , γ = 113.3 , δ = 227.7 ) and the histogram of these instances. The presence of extreme values is observed as well as heavy tails in the distribution of the generated data. This system is the one with the greatest impulsiveness and dispersion in the data.
Figure 3 shows the simulation of instances based on the IEEE-24 bus system, with the alpha stable parameters S ( α = 1.8 , β = 1.0 , γ = 42.8 , δ = 121.9 ) and the histogram of these instances. Given the characteristics of the system, the demand peaks are observed. The estimated distribution parameters show the dispersion in each system through the delta parameter and the impulsivity through the alpha parameter. This system, given the value of alpha, is the closest to a behavior of a Gaussian distribution ( α = 2 ) .
Figure 4 shows the simulation of instances based on the IEEE-118 bus system, with the alpha stable parameters S ( α = 1.5 , β = 1.0 , γ = 13.9 , δ = 35.9 ) and the histogram of these instances. This system shows impulsiveness and significant dispersion.
The fitting of the data to the stable distribution and the generation of instances, according to the parameters, show the presence of heavy tails and impulsivity in the generated data. The alpha parameter measures the impulsivity of the series and defines how heavy are the tails of the distribution of probability. Figure 5 shows different scenarios of impulsivity parameter generating differences in the tails of the distribution of the IEE-104 simulated system. The example of this system was used since it was the one with the most impulsiveness.
It is relevant to know the effect of the alpha parameter on the impulsivity of the series. The impulsivity of the series differs depending on the architecture of the system. Therefore, having parameters from different systems will allow us to generate extreme scenarios to evaluate in the optimization model used. Once the stable alpha random values for the energy demand per test system have been generated, it is necessary to consider the seasonal effect of the demand. For this, the estimation of a GAM will be carried out using spline functions. This will be made using the previously generated random demand data as inputs so that there will be enough data to make the right fit.

4.2. Generalized Additive Model (GAM)

Using the information of simulated data through the alpha stable distribution, the estimation of a generalized additive model was carried out, which will take as a dependent variable the demand for electric energy, and as explanatory variables, the price of energy (local marginal price) and fuel prices (fuel oil) for a sample of data is used with weekly data for 52 weeks [49]. The model estimated is presented in Equation (26):
X i = θ 0 + S 1 ( L M P i ) + S 2 ( P C O M B i ) + ε i ,   i = 1 ,   ,  
where
  • X i is the demand for the period i .
  • L M P i is the Local Marginal Price for the period i .
  • P C O M B i is Fuel Oil Price for the period i .
  • S j are smoothing splines functions for each parameter, j = 1 ,   2 .
The results of the GAM model show that smoothing splines are statistically significant for non-parametric estimates, so there are non-linear relationships between the variables associated with these functions and the dependent variable. Table 2 shows the estimated parameters for the generalized additive model, which uses demand as a dependent variable, a variable that is constructed through the simulation of instances based on the three base systems used (IEEE-104, IEEE-24, and IEEE-18) and the sample of data on LMP and fuel prices (PCOMB) for 52 weeks.
The benefit of using GAM models is that the non-linear effect of each independent variable can be modeled separately, keeping the rest constant and assessing the additive effect of all explanatory variables and can include as many explanatory variables as want to evaluate. Figure 6 shows the non-linear relationship fitted by the smoothing spline function in the estimated additive model for LMP and PCOMB variables.
The estimates with the proposed generalized additive model show an adequate fit to the observed behavior of the demand for electrical energy. To compare the results of the non-linear fit of the behavior of the demand for electrical energy, the coefficient of determination was estimated ( R 2 = 1 S S E S S T ) . In addition, three non-linear models were compared: (a) GAM, (b) local regression, and (c) polynomial regression. Figure 7 shows the coefficient of determination ( R 2 ) for the three compared non-linear fitting methods.
The results of the coefficient of determination show that while the local regression model and the polynomial model share a similar R 2 , the GAM model shows the best result ( R 2 = 0.8344 ) . With GAM fitted, it is possible to simulate complete periods of demand for the test cases. Figure 8 shows 10 simulations (only 10 for graphic reasons) of the cases. It can be seen that when simulating the data with the final GAM fitted, seasonal behavior is maintained as well as peaks in demand.
The methodological proposal shows that by combining the simulation of alpha stable variables and fitting a generalized additive model, it is possible to generate as many cases data as is required for an electrical system. This generation of unlimited test cases is an input of great importance for stress analysis for algorithms for solving the economic dispatch problem, further maintaining the presence of extreme values, as well as the seasonality of demand.

4.3. Comparison between the Hybrid Model and the Simulation of Normal Random Variables

The application of optimization algorithms to solve the economic dispatch problem requires test cases to evaluate the stability and quality of the solution found. An electrical reference system is used to test the algorithms, and the economic dispatch problem is solved based on historical information [12,13,14,15,16].
Given the requirement of enough test cases, information for the validation of optimization algorithms, a widely used option is the simulation of demand data generating random values assuming a normal probability distribution. One of the main limitations of this method is that generated values are limited to the parameters of a normal distribution, their mean, and standard deviation N ~ ( μ ,   σ 2 ) . Since it is documented that the demand for electrical energy presents heavy tails in its distribution, further seasonality related to the time of day, day of the week, and month of the year analyzed [22,23,24,25,26,27,28].
The proposed methodology addresses these aspects through the hybrid model that fitting of the electricity demand through the use of alpha stable distributions coupled with the modeling of seasonality and non-linear behavior through the use of GAM by integrating additive non-linear functions, such as spline functions or kernel functions, to variables such as the price of electrical energy, as well as the cost of the fuels, among others. Figure 9 shows the comparison between the simulation of normal random demands to simulated demands using the proposed hybrid model for a period of 52 weeks.
It is observed that the generation of instances only using normal random numbers generates demands without any seasonal pattern besides presenting abrupt variations in demand, which are just random. Also, it is necessary to limit the generated values to only positive values, so that when the negative values of the distribution are generated, they take the value of zero. On the other hand, in the case of the hybrid model, the presence of peaks in demand, as well as seasonality, is observed. This lets generating instances more attached to reality and therefore subjecting the optimization models to more realistic demands. Thus, contributing to generate more stable and higher quality models, tested in real-life scenarios.

5. Discussion and Conclusions

The problem of economic dispatch is a classic problem in the planning of the generation and expansion of electricity networks. There are multiple representations of the problem according to its objectives, including the inclusion of renewable energy, the emissions generated as well as restrictions on fuel availability, among many other nuances. Similarly, the method of solving the problem has had various approaches to achieve more efficient solutions. To be able to test the algorithms for solving the problem of economic dispatch, it is necessary to have a large amount of test data information, which reflects the real behavior of the electricity grid and permits the consideration of stress scenarios. There are some approaches in this regard in the literature; however, the proposals are limited to the representation of reference architectures and the availability of historical data for specific networks.
It has been documented that the demand for electricity has a particular behavior, with peak demand and seasonal effects during the day and during the year. The objective of the hybrid model using alpha stable distribution is to admit the simulation of demand peaks and seasonality. This lets us simulate demand data in specific time intervals according to the objective of planning or solution required for the problem of economic dispatch.
This work covers a conceptual framework that includes the use of predefined architectures and historical data, consolidating the unlimited generation of test data and stress scenarios through the application of alpha stable distributions and generalized additive models. The proposal contemplates the generation of as many test cases as necessary for the validation of the optimization algorithms, as well as consenting exposure to stress scenarios. The results of the application of the model show the generation of test cases for long periods that maintain the seasonality and impulsivity of demand. The combination of heavy tail distributions and generalized additive models presents a better fit, as well as unlimited test case generation.
The proposed model integrates three stages of analysis: (1) collection of historical information of specific network architecture, (2) fitting of the alpha stable distribution to be able to simulate as much data as necessary, and (3) estimation of a generalized additive model to fit test data required, according to a specific time interval capturing the seasonality and non-linearity. These generated data will be the input used to test the optimization algorithms for the economic dispatch problem posed.
According to the data used in the case study, it is shown that the demand data for electrical energy show impulsivity and heavy tails that are consistent with the presence of demand peaks. Similarly, the fitting of the GAM model shows that the energy demand has a non-linear behavior, so the use of an additive model is a good alternative to have a better fit to the data. The use of smoothing splines functions showed a good fit to the data.
One of the main advantages of the proposal is that it is possible to use information from different available electrical networks and thereby check the efficiency of the optimization algorithms for different scenarios and not only for a particular case. This will strengthen the proposed solutions and contemplate real-life cases.

Funding

This research received no external funding.

Acknowledgments

The author acknowledges the International Conference on Intelligent Computing and Optimization (ICO) for generating a forum for the discussion and dissemination of ideas.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Wood, A.J.; Wollenberg, B.F. Power Generation, Operation, and Control; John Wiley & Sons: Hoboken, NJ, USA, 1996. [Google Scholar]
  2. Vasant, P.; Barsoum, N.; Webb, J. Innovation in Power, Control, and Optimization: Emerging Energy Technologies; IGI Global: Hershey, PA, USA, 2012; pp. 1–396. [Google Scholar] [CrossRef]
  3. Vasant, P.M. Meta-Heuristics Optimization Algorithms in Engineering, Business, Economics, and Finance; IGI Global: Hershey, PA, USA, 2013; pp. 1–734. [Google Scholar] [CrossRef]
  4. Montoya, O. Solving a Classical Optimization Problem Using GAMS Optimizer Package. Economic Dispatch Problem Implementation. Ing. Y Cienc. 2017, 16, 39–63. [Google Scholar] [CrossRef] [Green Version]
  5. Pérez-Lechuga, G.; Fiore, U.; Martínez-Sánche, F. Modern Methods of Optimization in Models of Hydrothermal Coordination and Emission of Contaminating Particles in Power-Generating Plants. In Handbook of Research on Smart Computing for Renewable Energy and Agro-Engineering; Karchenko, V., Vasant, P., Eds.; IGI-Global: Hershey, PA, USA, 2020. [Google Scholar]
  6. Li, Y.Z.; Li, K.C.; Wang, P.; Liu, Y.; Lin, X.N.; Gooi, H.B.; Li, G.F.; Cai, D.L.; Luo, Y. Risk constrained economic dispatch with integration of wind power by multi-objective optimization approach. Energy 2017, 126, 810–820. [Google Scholar] [CrossRef]
  7. Jin, X.; Mu, Y.; Jia, H.; Wu, J.; Jiang, T.; Yu, X. Dynamic economic dispatch of a hybrid energy microgrid considering building based virtual energy storage system. Appl. Energy 2017, 195, 386–398. [Google Scholar] [CrossRef]
  8. Qu, B.Y.; Zhu, Y.S.; Jiao, Y.C.; Wu, M.Y.; Suganthan, P.N.; Liang, J.J. A survey on multi-objective evolutionary algorithms for the solution of the environmental/economic dispatch problems. Swarm Evol. Comput. 2018, 38, 1–11. [Google Scholar] [CrossRef]
  9. Jiang, Y.; Xu, J.; Sun, Y.; Wei, C.; Wang, J.; Ke, D.; Li, X.; Yang, J. Day-ahead stochastic economic dispatch of wind integrated power system considering demand response of residential hybrid energy system. Appl. Energy 2019, 190, 1126–1137. [Google Scholar] [CrossRef]
  10. Derafshi-Beigvand, S.; Abdi, H.; La-Scala, M. Economic dispatch of multiple energy carriers. Energy 2017, 138, 861–872. [Google Scholar] [CrossRef]
  11. Vasant, P.M. Handbook of Research on Novel Soft Computing Intelligent Algorithms: Theory and Practical Applications; IGI Global: Hershey, PA, USA, 2014; pp. 1–1018. [Google Scholar] [CrossRef]
  12. Diniz, A.L. Test Cases for Unit Commitment and Hydrothermal Scheduling Problems. In Proceedings of the IEEE Power and Energy Society General Meeting, Providence, RI, USA, 25–29 July 2010. [Google Scholar]
  13. Zhang, X.-P.; Schaffner, C.S. Minutes of the Working Group meeting on Test Systems for Economic Analysis. 2007, 2008, 2009 and 2010. Available online: http://www.ieeetea.ethz.ch/wiki/WG_meetings (accessed on 2 March 2020).
  14. Peña, I.; Martinez-Anido, C.B.; Hodge, B.M. An Extended IEEE 118-Bus Test System with High Renewable Penetration. IEEE Trans. Power Syst. 2018, 33, 281–289. [Google Scholar] [CrossRef]
  15. Barrows, C.; Bloom, A.; Ehlen, A.; Ikaheimo, J.; Jorgenson, J.; Krishnamurthy, D.; Lau, J.; McBennett, B.; O’Connell, M.; Preston, E.; et al. The IEEE Reliability Test System: A Proposed 2019 Update. IEEE Trans. Power Syst. 2019, 35, 119–127. [Google Scholar] [CrossRef]
  16. Mahdavi, M.; Sabillon, C.; Ajalli, M.; Monsef, H.; Romero, R. A Real Test System For Power System Planning, Operation, and Reliability. J. ControlAutom. Electr. Syst. 2018, 29, 192–208. [Google Scholar] [CrossRef] [Green Version]
  17. Braga, A.S.D.; Saraiva, J.T. A multiyear dynamic approach for transmission expansion planning and long-term marginal cost computation. IEEE Trans. Power Syst. 2005, 20, 1631–1639. [Google Scholar] [CrossRef]
  18. Choi, J.; Mount, T.D.; Thomas, R.J.; Billinton, R. Probabilistic reliability criterion for planning transmission system expansions. IEE Proc. Gener. Transm. Distrib. 2006, 153, 719–727. [Google Scholar] [CrossRef]
  19. Ekwue, A.O.; Cory, B.J. Transmission system expansion planning by interactive methods. IEEE Trans. Power Appar. Syst. 1984, 103, 1583–1591. [Google Scholar] [CrossRef]
  20. Romero, R.; Monticelli, A.; Garcia, A.; Haffner, S. Test systems and mathematical models for transmission network expansion planning. IEE Proc. Gener. Transm. Distrib. 2002, 149, 27–36. [Google Scholar] [CrossRef] [Green Version]
  21. Shayeghi, H.; Mahdavi, M. Genetic algorithm based studying of bundle lines effect on network losses in transmission network expansion planning. J. Electr. Eng. 2009, 60, 237–245. [Google Scholar]
  22. Yukseltan, E.; Yucekaya, A.; Humeyra, A.B. Forecasting electricity demand for Turkey: Modeling periodic variations and demand segregation. Appl. Energy 2017, 193, 287–296. [Google Scholar] [CrossRef]
  23. Bilge, H.; Tulunay, Y. A novel-on-line method for single station prediction and forecasting of ionospheric critical frequency of F2 1 hour ahead. Geophys. Res. Lett. 2000, 27, 1383–1386. [Google Scholar] [CrossRef]
  24. Anand, S.A.; Suganthi, L. Energy models for demand forecasting—A review. Renew Sustain. Energy Rev. 2012, 16, 1223–1240. [Google Scholar]
  25. Hahn, H.; Meyer-Nieberg, S.; Pickl, S. Electric load forecasting methods: Tools for decision-making. Eur. J. Oper. Res. 2009, 12, 902–907. [Google Scholar] [CrossRef]
  26. Morales-Acevedo, A. Forecasting Future Energy Demand: Electrical Energy in Mexico as an Example Case. Energy Procedia 2014, 57, 782–790. [Google Scholar] [CrossRef] [Green Version]
  27. Clements, A.E.; Hurn, A.S.; Li, Z. Forecasting day-ahead electricity load using a multiple-equation time series approach. Eur. J. Oper. Res. 2016, 251, 522–530. [Google Scholar] [CrossRef] [Green Version]
  28. Matsuo, Y.; Oyama, T. Forecasting Daily Electric Load by Applying Artificial Neural Network with Fourier Transformation and Principal Component Analysis Technique. J. Oper. Res. Soc. China. 2020. [Google Scholar] [CrossRef]
  29. Subcommittee, P.M. IEEE reliability test system. IEEE Trans. Power Appar. Syst. 1979, 98, 2047–2054. [Google Scholar] [CrossRef]
  30. Christie, R. IEEE 118 bus test case. College of Engineering, Electric Engineering, University of Washington. 1993. Available online: https://egriddata.org/dataset/ieee-118-bus-power-flow-test-case (accessed on 22 April 2020).
  31. Alguacil, N.; Conejo, J.A. Multiperiod Optimal Power Flow Using Benders Decomposition. IEEE Trans. Power Syst. 2000, 15, 196–201. [Google Scholar] [CrossRef]
  32. Castillo, E.; Conejo, A.J.; Pedregal, P.; García, R.; Alguacil, N. Formulación y Resolución de Modelos de Programación Matemática en Ingeniería y Ciencia; Universidad de Castilla-La Mancha: Ciudad Real, Spain, 2002. [Google Scholar]
  33. Lévy, P. Théorie des erreurs la loi de Gauss et les lois exceptionelles. Bull. Soc. France 1924, 52, 49–85. [Google Scholar] [CrossRef] [Green Version]
  34. Mandelbrot, B. Fractals and Scaling in Finance; Springer: New York, NY, USA, 1997. [Google Scholar]
  35. Nolan, J.P. Modeling Financial Data with Stable Distributions. Department of Mathematics and Statistics, American University. 2005. Available online: http://academic2.american.edu/~jpnolan/ (accessed on 1 February 2020).
  36. Nolan, J.P. Numerical calculation of stable densities and distribution functions. Commun. Stat. Stoch. Models 1997, 13, 759–774. [Google Scholar] [CrossRef]
  37. Zolotarev, V.M. One-Dimensional Stable Distributions, Volume 65 of Translations of Mathematical Monographs; Translation from the Original 1983 Russian Edition; American Mathematical Society: Providence, RI, USA, 1986; Volume 2, pp. 333–341. [Google Scholar]
  38. Belov, I.A. On the computation of the probability density function of α-stable distributions. Mathematical Modelling and Analysis. In Proceedings of the 10th International Conference MMA 2005, Trakai, Lithuania, 1–5 June 2005; pp. 333–341. [Google Scholar]
  39. Mittnik, S.; Doganoglu, T.; Chenyao, D. Computing the probability density function of the stable Paretian distribution. Math. Comput. Model. 1999, 29, 235–240. [Google Scholar] [CrossRef]
  40. DuMouchel, W.H. On the asymptotic normality of the maximum-likelihood estimate when sampling from a stable distribution. Ann. Stat. 1973, 1, 948–957. [Google Scholar] [CrossRef]
  41. Scalas, E.; Kim, K. The art of fitting financial time series with Lévy stable distributions. J. Korean Phys. Soc. 2007, 50, 105–111. [Google Scholar]
  42. Chambers, J.M.; Mallows, C.L.; Stuck, B.W. A Method for Simulating Stable Random Variables. JASA 1976, 71, 340–344. [Google Scholar] [CrossRef]
  43. Rodríguez, R.; Ake, S. Valuación de opciones de tipo de cambio asumiendo distribuciones α-estables. Contaduría Y Adm. 2013, 58. [Google Scholar] [CrossRef] [Green Version]
  44. Belov, I.; Kabasinskas, A.; Sakalauskas, L. A study of stable models of stock markets. Inf. Technol. Control 2006, 35, 34–56. [Google Scholar]
  45. James, G.; Witten, D.; Hastie, T.; Tibshirani, R. An Introduction to Statistical Learning with Applications in R; Springer Science: New York, NY, USA, 2013. [Google Scholar]
  46. Samorodnitsky, G.; Taqqu, M. Stable Non-Gaussian Random Processes: Stochastic Models with Infinite Variance; Chapman and Hall: New York, NY, USA, 1994. [Google Scholar]
  47. Nolan, J.P. Fitting Data and Assessing Goodness-of-fit with Stable Distributions. Department of Mathematics and Statistics, American University. 1999. Available online: http://academic2.american.edu/~jpnolan/ (accessed on 1 March 2020).
  48. Marmolejo-Saucedo, J.A.; Rodríguez-Aguilar, R. Fat Tail Model for Simulating Test Systems in Multiperiod Unit Commitment. Math. Probl. Eng. 2015, 2015. [Google Scholar] [CrossRef]
  49. Rodriguez-Aguilar, R.; Marmolejo-Saucedo, J.A.; Retana-Blanco, B. Prices of Mexican Wholesale Electricity Market: An Application of Alpha-Stable Regression. Sustainability 2019, 11, 3185. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Proposed hybrid model.
Figure 1. Proposed hybrid model.
Applsci 10 03531 g001
Figure 2. IEEE-104 bus system simulations.
Figure 2. IEEE-104 bus system simulations.
Applsci 10 03531 g002
Figure 3. IEEE-24 bus system simulations.
Figure 3. IEEE-24 bus system simulations.
Applsci 10 03531 g003
Figure 4. IEEE-118 bus system simulations.
Figure 4. IEEE-118 bus system simulations.
Applsci 10 03531 g004
Figure 5. Alpha parameter effect (IEE-104).
Figure 5. Alpha parameter effect (IEE-104).
Applsci 10 03531 g005
Figure 6. Smoothing spline functions (fitted function and pointwise standard errors).
Figure 6. Smoothing spline functions (fitted function and pointwise standard errors).
Applsci 10 03531 g006
Figure 7. R 2 for the three non-linear models.
Figure 7. R 2 for the three non-linear models.
Applsci 10 03531 g007
Figure 8. Weekly electricity demand simulations with GAM.
Figure 8. Weekly electricity demand simulations with GAM.
Applsci 10 03531 g008
Figure 9. Comparison between instances generated by the hybrid model vs. normal distribution.
Figure 9. Comparison between instances generated by the hybrid model vs. normal distribution.
Applsci 10 03531 g009
Table 1. Alpha stable parameters.
Table 1. Alpha stable parameters.
IEE-104 bus systemαβγδ
Maximum likelihood1.20001.000084.3954423.414
Quantile1.61321.0000121.3540291.3820
Regression1.69381.0000113.085227.7650
IEEE-24 bus systemαβγδ
Maximum likelihood1.40001.000035.4172160.6370
Quantile1.60451.000041.7026151.6880
Regression1.84301.000042.8166121.925
IEE-118 bus systemαβγδ
Maximum likelihood1.20001.000010.754354.0993
Quantile1.75391.000015.187532.7828
Regression1.50921.000013.391435.9108
Table 2. Generalized additive model (GAM) parameter estimations.
Table 2. Generalized additive model (GAM) parameter estimations.
ANOVA for Parametric EffectsDfF-ValuePr (>F)Parameter
S(LMP)157.47240.00000
S(PCOMB)12.45940.12330
Residuals49
ANOVA for Nonparametric EffectsNPar DfNpar FPr (F)
Intercept 4320.1975
S(LMP) 33.61080.01958 0.3957
S(PCOMB) 39.35440.000052.9405
Null deviance: 13,492,752 on 57 degrees of freedom. Residual deviance: 3,607,220 on 49.0003 degrees of freedom. AIC: 824.8005.

Share and Cite

MDPI and ACS Style

Rodriguez-Aguilar, R. A Hybrid Model to Simulate Test Cases of Electrical Power Systems. Appl. Sci. 2020, 10, 3531. https://doi.org/10.3390/app10103531

AMA Style

Rodriguez-Aguilar R. A Hybrid Model to Simulate Test Cases of Electrical Power Systems. Applied Sciences. 2020; 10(10):3531. https://doi.org/10.3390/app10103531

Chicago/Turabian Style

Rodriguez-Aguilar, Roman. 2020. "A Hybrid Model to Simulate Test Cases of Electrical Power Systems" Applied Sciences 10, no. 10: 3531. https://doi.org/10.3390/app10103531

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