Next Article in Journal
Experimental Characterization and Evaluation of the Vibroacoustic Field of Hydraulic Pumps: The Case of an External Gear Pump
Next Article in Special Issue
Wind Turbine Data Analysis and LSTM-Based Prediction in SCADA System
Previous Article in Journal
Heat Transfer Coefficient Determination during FC-72 Flow in a Minichannel Heat Sink Using the Trefftz Functions and ADINA Software
Previous Article in Special Issue
Identification of Relevant Criteria Set in the MCDA Process—Wind Farm Location Case Study
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Predicting the Amount of Electric Power Transaction Using Deep Learning Methods

1
Department of Electrical and Semiconductor, Chonnam National University, Yeosu 59626, Korea
2
Division of Electrical, Electronic Communication and Computer Engineering, Chonnam National University, Yeosu 59626, Korea
*
Author to whom correspondence should be addressed.
Energies 2020, 13(24), 6649; https://doi.org/10.3390/en13246649
Submission received: 20 November 2020 / Revised: 11 December 2020 / Accepted: 14 December 2020 / Published: 16 December 2020
(This article belongs to the Special Issue Soft Computing Techniques in Energy System)

Abstract

:
The most important thing to operate a power system is that the power supply should be close to the power demand. In order to predict the amount of electric power transaction (EPT), it is important to choose and decide the variable and its starting date. In this paper, variables that could be acquired one the starting day of prediction were chosen. This paper designated date, temperature and special day as variables to predict the amount of EPT of the Korea Electric Power company. This paper also used temperature data from a year ago to predict the next year. To do this, we proposed single deep learning algorithms and hybrid deep learning algorithms. The former included multi-layer perceptron (MLP), convolution neural network (CNN), long short-term memory (LSTM), gated recurrent unit (GRU), support vector machine regression (SVR), and adaptive network-based fuzzy inference system (ANFIS). The latter included LSTM + CNN and CNN + LSTM. We then confirmed the improvement of accuracy for prediction using pre-processed variables compared to original variables We also assigned two years of test data during 2017–2018 as variable data to measure high prediction accuracy. We then selected a high-accuracy algorithm after measuring root mean square error (RMSE) and mean absolute percent error (MAPE). Finally, we predicted the amount of EPT in 2018 and then measured the error for each proposed algorithm. With these acquired error data, we obtained a model for predicting the amount of EPT with a high accuracy.

1. Introduction

Nowadays, power consumption is gradually increasing due to rising introduction of smart factories, electric cars, and embedded systems by adapting the concept of automatization, unmanned plant, and artificial intelligence in the industry. As power consumption increases, more efficient and stable operation of the power system is needed. One of the most important things to operate power systems is that the supply and the demand of electric power should fit the balance within a fixed range of electricity reservation ratio. Generally, when the power supply is larger than the power demand, then surplus power is generated which is uneconomic. When the power supply is smaller than the power demand, then a power failure occurs, which may cause a blackout.
In South Korea, Korea Electric Power Company (KEPCO) was responsible for electric power production (generation), transportation (transmission and substation), and selling (distribution) before year 2000. Thus, electric power trading as an integrated management between power supply and power demand was not important for KEPCO. However, KEPCO was separated into electric power production, transportation, and selling after year 2000. As the power plant responsible for electric power production is split into several subsidiary companies, the establishment of Korea Power Exchange (KPX) is necessary. Thus, the role and importance of KPX for electric power trading are increasing.
In order to keep the balance between supply and demand of electric power, the electric power exchanger need to figure out electric power demand accurately. When the exact electric power demand is identified, power exchange companies can perform stable power trading with individuals and companies that possess nuclear power, hydroelectric power, thermal power, and renewable energy such as solar photovoltaic power and wind power generation. Thus, companies and individuals can lay down various schemes necessary for electric power production. In addition, the KPX is known as a joint-stock company that maximizes profit on its business. It needs stable electric power trading and optimized operation planning. To do this, accurate prediction of its electric power trading amount is required. If its prediction of the amount of EPT such as demand and supply of the electric power is not accurate, then two problems can occur. First, if predicted electric demand is more than the electric supply amount, then generation cost rises because surplus electric power can happen with overuse of generation facilities. Second, if predicted electric demand is less than electric supply amount, then the lack of electricity reserve can happen, causing a blackout. These two items can increase instability of electric power systems. In South Korea, for example, the KPX failed to predict electric power demand or consumption on 15 September 2011. As a result, they experienced a power outage. Since then, the importance of predicting the amount of EPT has been continuously highlighted. Thus, research on prediction or forecast of electric power demand is increasing.
Yang et al. (2020) have reported that the number of publications on the prediction of electric power demand or consumption has been steadily increasing for 20 years, from eight in 1999 to 148 in 2018 [1]. Power demand forecasting for the amount of EPT needs to be predicted by time, day, month, year, and so on because the predicted value can be different according to time scale. There are deep correlations among electric power demand, amount of EPT, and optimal power generation. An optimal power generation plan of the plant and the purchase or sale of exchange systems might have a direct influence. Generally, prediction of electric power demand can be classified as Very Short-Term Load Forecasting (VSTLF) which extends from seconds to minutes to minimize network response to demand flow, short-term load forecasting (STLF) which minimizes day-to-day planning and shipping costs, medium-term load forecasting (MTLF) which plans to operate power generation, and long-term load forecasting (LTLF) which plans to expand network [2]. Criteria, range of applying time, and aim for the classification of electrical power demand are summarized in Table 1.
Among various techniques for predicting electric power demand, STLF is an essential component of energy management systems (EMS) because it provides input data for load flow and accidental analysis [3]. Hernandez et al. (2014) [4] have explained that weekly, daily, and hourly forecasts are the most important forecasts. Among the four forecasts they emphasize prediction of power demand for the next 24 h because power companies require accurate forecasting power demand.
Power transaction represents actual transactions between power generation and KEPCO in the power market. Power transactions have the same characteristics as power demand. Thus, in this paper, we replaced demand for electricity with amount of EPT. In South Korea, the KPX performs power trading.
The KPX as the source of Korea’s EPT has the following characteristics:
  • The KPX operates the electricity market under a cost-based pool (CBP) system which determines prices based on actual costs.
  • The power industry structure is independent only for the power generation sector while and sectors of transmission and distribution sales are operated exclusively by KEPCO.
  • Except for power generation companies that have signed a separate power purchase agreement with KEPCO, all electric power generated by generators with capacity of 20 MW or more must be traded through the Korea Electric Power Exchange.
As shown in Figure 1, the KPX maintains an energy system which has a vertical integrated monopoly structure except for the power generation sector. Thus, it is possible to collect nationwide data.
Previous studies about the amount of EPT have achieved successes for prediction with low accuracy. They used variables such as temperature, growth domestic product (GDP), holiday, sunlight and humidity to predict the amount of EPT, which will occur after starting day of prediction. Therefore, each variable are also necessary to predict the prediction error occurred in each variable. For such reason, previous studies about the prediction of the amount of EPT have a critical point for long-term prediction with one year or more. To overcome such problem, we need to choose variables that can be acquired on the starting day of prediction to predict the amount of EPT.
In this paper, we choose variables which occurred before starting day of prediction. The amount of EPT was then predicted using deep learning. To do this, we proposes single deep learning algorithms including MLP, CNN, LSTM, GRU, SVR, and ANFIS and hybrid deep learning algorithms including LSTM + CNN and CNN + LSTM to predict the amount of daily EPT STLF in KPX of South Korea. We then confirmed the improvement of accuracy for prediction using pre-processed variables compared to original variables. We also assigned two years of test data during 2017–2018 as variable data to measure prediction accuracy. We then selected an algorithm with high accuracy after measuring RMSE and MAPE.
Key processes used in this study are as follows.
  • Variables were selected by investigating characteristics of EPT in South Korea.
  • Data of selected variables were obtained from one year ago at the time of EPT in KPX of South Korea.
  • Variables were pre-processed to increase their correlations with the amount of EPT.
  • Various algorithms such as single algorithms including CNN, LSTM, GRU, and SVR and hybrid algorithms including CNN + LSTM and LSTM + CNN were applied.
The organization of this paper is as follows.
Chapter 2 introduces deep learning algorithm and prediction for EPT and demand. Chapter 3 explains features of EPT amount in South Korea and describes correlations between characteristics of EPT amount and features for variables used. Chapter 4 describes the preprocessing process of variables to increase the prediction performance of deep learning. Chapter 5 presents the process of predicting the amount of EPT using deep learning, introduces each algorithm, and designates parameters of each algorithm through an empirical process. Chapter 6 analyzes prediction values of each algorithm by specific pattern and measures the error of prediction value for one year. Finally, Chapter 7 shows results of prediction for EPT amount and proposes directions for future research.

2. Related Works

Research for predicting the amount of EPT has been studied such as VSTLF, STLF, MTLF, LTLF. Many researchers have predicted the amount of EPT using time series [7], fuzzy theory [8], and neural network [9]. Prediction techniques using artificial intelligence including deep learning and machine learning have also been reported recently.
Artificial intelligence including deep learning and machine learning has been widely researched in various fields such as autonomous driving vehicle [10], global horizontal irradiance [11], stock prices [12], wind speed [13], traffic flow [14], and prediction of EPT amount and demand. Related research studies on the amount of EPT are summarized below.
González-Romera. et al. [15] have predicted monthly electricity transaction volume energy demand using an MLP algorithm for market research and maintenance plan of electricity producers. They used two methods to predict the volume of electrical power demand: trend of time series and monthly fluctuation. However, their paper has a critical point in that only long-term prediction is possible.
Lin et al. [16] have classified users according to the type of electricity consumption and predicted power consumption amount of each group using an LSTM algorithm. Their method showed better prediction performance than conventional multiple linear regression based on error of MAPE and R2.
KASULE and AYAN [17] have applied an ANFIS algorithm to predict power consumption in Uganda and presented a long-term power prediction model for easier market prediction. They used Particle Swarm Optimization-ANFIS (PSO-ANFIS) and Genetic Algorithm-ANFIS(GA-ANFIS) to optimize parameters of the model. The prediction performance of their method was better than the multivariate linear regression model. Ogihara et al. [18] have predicted the amount of electricity power demand in Japan. They used a multiple stress model and Artificial Neural Network (ANN) as algorithms for prediction. To do this, they eliminated holidays and performed forecasting using two weeks, one month, and two months, respectively. They also used economic indicators such as opening price, high price, low price, and volume as variables in order to achieve prediction with high accuracy. Predictable economic indicators would be very useful variables as very good references to predict power demand. However, they did not describe these values as variables.
Duong-Ngoc et al. [19] have predicted electricity demand (per hour) over a week in Ho Chi Minh City, Vietnam. They used feed-forward deep neural network (FF-DNN) and recurrent deep neural network (R-DNN) algorithms. They also used temperature, holiday, and electric power demands before day, hour, and week as variables. They showed a high accuracy by using features of the algorithm. However, it was impossible to predict in the long term because the amount of electricity demand was predicted using variables a day ago and an hour ago.
Eshragh et al. [20] have predicted electricity demand (weekly) in New South Wales (NSW), South Australia (SA) and Victoria (VIC) regions of Australia. To do this, they developed a hybrid algorithm with seasonal auto regressive integrated moving average (SARIMA) and a linear model. They used the lowest temperature, the highest temperature, and amount of sunlight on the day of demand for electricity as variables. They showed that the proposed algorithm had a higher accuracy than the recurrent neural network (RNN) algorithm.
Kim et al. [21] have profiled Korea’s temperature, humidity, holidays, day of the week, and n-day of the season as variables and showed a high-accuracy prediction of power demand. They used a hybrid model by combining advantages of LSTM and CNN. Considering electric power demand value as a key value and other variables as contest information, data were preprocessed as a <key, contest > pair. Through this process, important contextual information for training neural networks was efficiently used.
Del real et al. [22] have predicted power demand in France by combining CNN and ANN commonly used for image classification and showed a higher accuracy than Support Vector Machine (SVM), ARIMA, and ANN. Variables used in their study included temperature of the day before the power demand forecast day, week (1 to 52), hour (0 to 23), day of the week (0 to 6), and public holidays (false true).
Li et al. [23] have predicted electricity demand in Australia and Singapore using algorithms such as SVM and extreme learning machine (ELN). In order to increase accuracy, they extracted data noise. They also used fast Fourier transform (FFT) in order to grasp and remove periodicity of power demand.
Imani [24] has provided an improvement of forecasting performance by selecting an appropriate feature space for Iran’s electricity demand. The provided domain contained complementary information about the shape and variation of electrical load sequence. Obtained load characteristics were then integrated with original load values in the time domain and input to the LSTM.
Ma et al. [25] have forecasted energy consumption in South Africa for 2017–2030. They used ARIMA and Nonlinear Gray Model-Autoregressive Integrated Moving Average (NGM-ARIMA) algorithms with energy consumption in 1998–2016 as variables for the prediction.
Table 2 summarizes recent studies on the prediction of EPT amount for each country.
Except for one study [25], papers presented in Table 2 performed predictions by selecting various algorithms and various variables. Although variables used in these studies should not be used for the prediction starting date, these variables were used on the after prediction date. Thus, there are limitations for long-term prediction when variables used are based on the after prediction date. In Figure 2, 2-1 represents used variables proposed in this paper and 2-2 represents used variables in the previous work. The point of 2-1 has no error because we knew the variable value. On the other hand, the point 2-2 shows prediction error because it required prediction.
This paper attempts to predict the amount of EPT by selecting the point of variable 2-1 that can be used on the starting date of prediction for selecting various algorithms and parameters.

3. Data Characteristics

In this section, data characteristics such as the amount of EPT, temperature, and special day are reviewed.

3.1. Amount of EPT of Korea Power Exchange

In order to predict the amount of EPT, first of all, it is necessary to apprehend the pattern of the amount of EPT. The amount of EPT in South Korea largely has three characteristics: year periodicity, weekday periodicity, and pattern of special day. First, South Korea has four distinct seasons of spring, summer, fall and winter. According to seasonal changes, climate including temperature and humidity has year-round periodic characteristics. Second, due to the amount of EPT which is closely related to people’s lives, according to the day of the week, the pattern of the amount of EPT has a periodicity. For example, every Monday or Tuesday has nearly the same amount of power transaction. Third, EPT in South Korea has a special day pattern. For holidays including New Year holiday (both solar and lunar calendars), Thanksgiving Day, and two, three, or more days of holiday, irregular pattern of EPT can be observed depending on weather, day of the week, and business condition.
Figure 3 presents the amount EPT from 1 January 2014 to 31 December 2018.
Figure 4 presents the amount of EPT from January 2017 to December 2018 in South Korea, showing annual periodicity, weekly periodicity, and special day patterns.
Red lines indicate annual periodicity of the amount of EPT. Lines that frequently and repeatable rise and fall indicate weekly periodicity.
Numbers ①, ②, ③, and ④ indicate transition status from winter to spring, from spring to summer, from summer to autumn, and from winter to autumn, respectively.
Red circle shows the pattern that occurs when it is a holiday (New Year’s Day, Thanksgiving Day) in a row during a special day.
Figure 5 shows geographical locations of Seoul, Gwangju, and Busan in South Korea.

3.2. Temperature

The temperature of South Korea has characteristics of four distinct seasons. Rainy season and typhoon occur mainly during the summer season, although global warming is affecting the time of them recently. Figure 6 shows the amount of EPT and the highest temperatures in Seoul, Busan, and Gwangju from 2014 to 2018. Here, the blue line represents the amount of EPT and red, green, and yellow lines represent Gwangju, Busan, and Seoul’s highest temperatures, respectively.
In order to use temperature as a variable based on the prediction date, we obtained the highest temperatures of day in Seoul, Gwangju, and Busan from 1 January 2013 to 31 December 2017 one year ago based on the amount of EPT from 1 January 2014 to 31 December 2018.
Figure 7 presents the highest temperatures of day in Seoul, Gwangju, and Busan from 1 January 2013 to 31 December 2017.
The highest and the lowest temperatures of year in South Korea were observed to in August of the summer season and January of the winter season, respectively. Temperature features showed periodic characteristics of seasonal changes. Temperatures ascend rapidly in spring season until early summer. It means that from early summer, the rising of temperature is getting smaller. Temperatures then descend rapidly after August, falling into lower than the freezing point in the winter season.
EPT changes according to seasonal variation, showing periodic characteristics of a year that reflect four distinct seasons. Generally, temperatures affect demands for cooling and heating. Thus, high and low temperatures will increase or descries the demand for electricity.
Table 3 summarizes correlation between amount of EPT and temperature.
Numbers ①, ②, ③, and ④ indicate transition status from winter to spring, from spring to summer, from summer to autumn, and from winter to autumn, respectively.
In Section ① and Section ④, when the temperature was increasing, the amount of EPT was decreasing. Additionally, the amount of EPT was increasing when the temperature was decreasing. Amount of EPT for Section ② and Section ③ were also increasing (or decreasing) when the amount of EPT was decreasing (or increasing).
The solar calendar has a leap day in quadrennial. Data of temperature, amount of power transaction, etc., were acquired during 2013–2017. A leap occurred in 2016. In order to predict the amount of power transactions on 29 February 2016, the highest temperature variable of each city on 29 February 2015 must be generated. The maximum highest temperature variable for 29 February in 2015 was generated by averaging the highest temperatures of each city on 28 February and 1 March 2015.

3.3. Special Day

Since the amount of EPT is closely related to how people live, daily EPT during the week also shows periodicity affected by holidays. Table 4 indicates current public holidays in South Korea.
There are solar and lunar holidays in South Korea. The solar calendar is made based on the sun. It has year-based dates that revolve around the sun. The lunar calendar is dated based on the moon as center on the period while the moon goes around the earth. Solar holidays are fixed even the year changes. Lunar holiday changes by the date of solar calendar every year.
When holidays such as lunar New Year’s Day and Thanksgiving Day are overlapped with Sunday, or Children’s Day overlaps either on Saturday or Sunday, alternative holidays are designated as holidays at the first coming days of non-holiday. The most popular social special day is the election day in South Korea. The presidential election is held every five years. The parliamentary election is held every four years. National simultaneous local elections are held every four years in South Korea.
Figure 8 indicates Election Day interval from 2014–2018. The light green graph represents amount of EPT. The red vertical line represents the Election Day. The blue vertical line represents Saturday. The green vertical line represents Sunday. The declining pattern of the amount EPT for Election days was similar to the pattern of holiday.
Figure 9 depicts Children’s Day in South Korea from year 2014–2018.
In Figure 9, the light green graph represents amount of EPT. Red vertical, blue vertical, green vertical, and gray vertical lines represent Children’s day, Saturday, Sunday, and alternative holiday or Buddha’s day, respectively. Amount of EPT was decreased on these days as seen on Election Days.
The pattern of Saturday and Sunday showed that the amount of EPT changed with a constant pattern within almost the same range. The amount of EPT was constantly declining during intervals of Friday–Saturday and Saturday–Sunday. The amount of EPT decreased from Friday to Sunday, although it began to increase during the interval of Sunday–Monday followed by a stabilized amount until Friday. This can be seen as a phenomenon that industrial loads is reduced because most industrial actions are stopped during weekends and start to operate again after work hours on Monday. Since holidays of Lunar New Year and Thanksgiving Day in South Korea are designated as holidays in lunar calendars, their dates are different every year.
Figure 10 and Figure 11 show the beginning and the ending of holidays for lunar New Year holidays and Thanksgiving Day indicated by red vertical lines. The light green graph represents amount of EPT. Red vertical lines represent beginning and the ending of holidays
The holiday season is different every year. Thus, the holiday in a row includes lunar New Year holiday, alternative holidays, weekends, and so on. The lowest amount of EPT was recorded for lunar New Year’s Day and Thanksgiving Day except for lunar New Year’s Day in year 2014. The amount of EPT was also lower during weekends of holidays in a row.
Table 5 presents acquired data for the amount of EPT and temperatures from KPX and Korea meteorological administration.
Data for the amount of EPT were acquired by the KPX. Such data showed total amount of EPT in South Korea. The data type was “float” and the unit was GWh. Since the acquired amount of EPT was based on the national standard, temperature data to be acquired must also designate the nation’s temperature as a variable. However, temperature data need too much computation if the entire Korean city is designated as a variable. Thus, three large cities, Seoul metropolitan area, Yeongnam region, and Honam region (Seoul, Gwangju, and Busan), were selected. Temperature data were acquired from the Korea Meteorological Administration. We used the unit of Celsius.
In South Korean government, legal holidays are designated according to “Regulations on Public Holidays of Public Offices” of Korea’s Presidential Decree. In this paper, we assigned 1 to holiday and 0 to a business day as a true or false type.

4. Preprocessing Data

Typically, it difficult to predict the desired pattern when applying data as a variable without preprocessing data. Therefore, in this paper, we performed preprocessing of data in order to improve the prediction performance by applying artificial intelligence algorithms after acquiring data. The preprocessing of data was performed for temperature and amount of EPT during weekends and holiday in a row as special days.

4.1. Temperature

If the temperature is high or low, the amount of EPT is increasing because temperature affects cooling and heating demand. Generally, we should set criteria for cooling and heating. However, there is no recommended or unified proposal for indoor temperature in Korean public institutions. In this paper, we set heating was a positive number and cooling was a negative number by applying standardization of temperature value. Since cooling and heating have positive correlations with the amount of EPT, we should unify both cooling and heating with a positive number using square as represented in Equation (1):
T _ t e m p e r a t u r e = ( ( t e m p t e m p m e a n t e m p s t d ) ) 2
Here, temp is the highest daily temperature in Seoul, Busan, and Gwangju of South Korea, t e m p m e a n is the average value of temp, and tempstd is the standard deviation of temp.
Figure 12 presents the highest temperature in Seoul, Busan, and Gwangju as blue lines. The highest temperature of each city is then applied into Equation (1) to find T _ t e m p e r a t u r e indicated by red lines.

4.2. Special Day: Saturday, and Sunday

The pattern for the amount of EPT on weekdays showed a characteristic that it nearly linearly decreased it as the day passed on Saturday and Sunday. It then rapidly increased on Monday. To make variables reflect these patterns, holiday data were applied into Equation (2):
T _ h o l i d a y 1 = ( h o l i d a y + h o l i d a y 1 ) × h o l i d a y
where holiday indicated whether it was a holiday and h o l i d a y 1 indicated whether it was a holiday the day before. Both were binary.
Figure 13 shows different amounts of EPT in seven days and Equation (2) as a graph. Here, blue, red, and gray vertical lines represent Saturday, Sunday, and Monday, respectively.

4.3. Special Day: Continuous Holiday

The pattern for the amount of EPT on continuous holidays was different from the pattern of weekends. There were quite a few cases where the amount of EPT sharply dropped from the start day of the holiday in a row. The amount of EPT for continuous holidays was also significantly reduced compared to that for weekends. Thus, we need to create a pattern in which EPT decreases for continuous holidays. Such pattern is different from Equation (2). In addition, EPT on the start day and the last day of the holiday should be lower than that of the rest of holidays while it should be the highest in the middle point of holidays.
Equation (3) refers to EPT in which patterns decrease during continuous holidays. It is characterized by adding up holidays between n days before and after the day of calculation so that the first day and the last day of holidays had lower EPT than the middle point.
T _ h o l i d a y 2 = ( i = 1 n h o l i d a y n   +   h o l i d a y n   +   h o l i d a y )
where holiday represents the holiday, h o l i d a y n is a public holiday before n day, and holidayn is a public holiday after n day.
In this paper, in order to generate appropriate variables, we calculated correlation (COR) according to the n value. We then chose variables with the highest value among COR as shown in Equation (4):
C O R = 1 n i = 1 n ( F i F i ¯ ) ( O i O i ¯ ) 1 n i = 1 n ( F i F i ¯ ) 2 1 n i = 1 n ( O i O i ¯ ) 2
where Oi is the observation value, O i ¯ is the mean value of the observation value, Fi is the prediction value, and F i ¯ is the mean prediction value.
Table 6 presents COR ranked according to n value. As a result of comparison by COR, we obtained the highest variable COR which was the sum of three days (from the day before calculation to the day after calculation).

5. Machine Learning Pipeline to Predict the Amount of EPT

The process of predicting the amount of EPT using deep learning is summarized in Figure 14.
First of all, to predict the amount of EPT, data for the amount of EPT were acquired from the KPX. Temperature data of Seoul, Busan, and Gwangju as a variable were obtained from the Korea Meteorological Administration as a comma-separated values (CSV) file. Second, acquired data for the amount of EPT amount, maximum temperature data, and holiday and daily data were merge into CSV type. Third, to analyze merged data as CSV type easily, we applied standardization. Standardize data were then divided into two categories: learning data and test data at a ratio of 70% to 30%. Fourth, the algorithm was trained using learning data. We also measured error and performed an optimization process. Then, we predicted the amount of EPT using test data. Finally, we carried out an inverse standardization for predicted results and measured the accuracy of prediction results.
We used total seven variables including years, months, days, holidays, and prior work. We also performed standardization for each variable in order to easily learn algorithms. Then we predicted the amount of EPT. Each variable used for prediction in this paper was placed in the past rather than at the starting point. We needed data acquired for years, months, days, and national holidays at any time. We could predict the highest temperature in each city because we used data a year ago.
Table 7 presents input data of years, months, days, and holidays as references for predicting the amount of EPT. We used holiday and temperature as preprocessing variables.
If we want to predict the amount of EPT on the date of 1 January 2018, we can use two kinds of data as variable. First, we can use data to appoint the day, for example the year, month, and public holidays in 1 January 2018. Second, we can use temperature data for 1 January 2017. We can acquire these variables as past data rather than data on the date of prediction.
There are four digits of data of year and the amount of EPT. However, there is maximum two digit for data of month, day, and holiday data. If we directly apply these data into the algorithm, there is a high possibility to have a large weight incline value and fall into local minimum. To reduce such possibility, we applied standardization as shown in Equation (5) which transformed zero as average into each variable and the amount of EPT.
s t a n d a r d i z a t i o n = x i x i m e a n x i s t d
where x i was data to be applied, x i m e a n was the average value of x i , and x i s t d was the standard deviation of x i .
To measure the performance of each algorithm, we divided data into learning (or training) data and test data. Learning data accounted for 60% of data from 2014 to 2016 and test data accounted for 40% of data from 2017 to 2018. We trained the algorithm with learning data and measured the performance of algorithm with test data.
Figure 15 presents the amount of EPT. Blue lines represent learning data and red lines represent test data.
In this paper, we predicted the amount of EPT with eight algorithms and measured the error of test data. The measurement of error was performed using RMSE and MAPE as shown in Equations (6) and (7):
R M S E = 1 n i = 1 n ( α i     β i ) 2
M A P E = 1 n ( i = 1 n | α i β i | | α i | ) ×   10
where n was the number of data, α i was the amount of EPT, and β i was the predicted value.
In this paper, we proposed eight algorithms such as MLP, LSTM, CNN, GRU, SVR, ANFIS, CNN + LSTM, and LSTM + CNN to predict the amount of EPT. We also compared these results of prediction.

5.1. MLP

MLP is type of a sequence of several layers organized by perceptron. MLP consists of an input layer, a hidden layer, and an output layer. The input layer inputs the value of variable while the output layer gives the final output [26]. We performed training using learning data consisting of pairs of input and output. We determined the weight of connection line and deviation using information about certain values for the output when an input was given. The weight of connection line and deviation terms can be presented as shown in Equation (8). Figure 16 shows configuration of CNN, LSTM, and GRU algorithms based on MLP algorithms, not just MLP algorithms.
Y MLP = W X + b

5.2. LSTM

LSTM is a derivative algorithm from RNN. The hidden layer of RNN consists of three gates: Input Gate, Output Gate, and Forget Gate [27]. Figure 17 shows the basic structure of LSTM.
We added the following calculation processing. If (t-1) hidden layer of Figure 17 is changed into (t) hidden layer, (t-1) hidden layer will keep it or delete it vice versa.
Figure 18 presents the computational structure of the hidden layer of LSTM. The input variable is specified according to the time flow. The LSTM bundles variables, inputs variables into the hidden layer before N-day, and then outputs the current prediction value while ignoring the past prediction value. Figure 18 shows how we designate variables and target data.
As shown in Figure 18, after bundling the variable of time flow into (N) days, we designated it as input X data. We also designated Y output data as target value of t time of prediction target value. Table 8 and Figure 19 show RMSE values of train data and test data according to N and node values when nodes are 5.
As shown in Figure 19, when N value increases, the error of the learning data decreases. However, N value should be applied properly because N increases the computer’s computation. If the value of N is less than 5, the slope of the graph is steep. If it exceeds 5, the slope is gentle. In order to improve training efficiency, we designated N to be 5. We then calculated RMSE.
Figure 20 presents RMSE values of train data and test data according to the number of nodes.

5.3. CNN

CNN has the advantage to easily train two-dimensional data. In addition, the number of parameters is small [28]. CNN algorithm can represent weighting value and bias term like Equation (9). The computation processing of MLP is the same as that of CNN. However, CNN has a feature in that its input data are organized by two dimensions.
Y CNN = W X + b
We created two-dimensional data by designating the column as time flow and the row as variable to be applied to the CNN algorithm in this paper.
Figure 21 shows a data reordering process and a calculation process for the CNN algorithm. The table in Figure 21 shows that when data are merged, the row in table is time flow and the column consists of variable and target value.
Input data of CNN had two dimensions. The column was variable and the row was D. Variables were year, month, day, holiday, and T _ t e m p e r a t u r e . D was date. Boxes with various colors inside the table were input data. We made two-dimensional data for each one-day stride. Noting that the most empirically optimized value of the N learning course in the LSTM learning course was 5. We designated D as 5, the same value as N.
Target value is the amount of EPT the algorithm that is trying to predict. Since input data used past data, target value data before D-day without past data were not available. Weight stands for W for Equation (9), while Weight’s shape is designated as (ω, 1). stands for node of convolution layer and α β stands for output value of node.
Figure 22 shows a training process for the algorithm. Flatten of Figure 22 changes the output value of the secondary source convolution layer to one dimension. Since the value of target value was one power transaction volume, we designated the number of nodes in the output layer as one.
Table 9 presents RMSE of train data and test data according to the size of D and ω when the number of nodes is five. We could see that the larger the D value, the smaller the error. After this, the error did not change significantly according to D value even when D was greater than 5.
Figure 23 shows RMSE according to D and filter size. The higher the RMSE, the darker the red color. The lower the value, the darker the blue color.

5.4. GRU, SVR, ANFIS

Chung et al. [29] have proposed GRU using reset gate and update. GSU is a simpler model than LSTM algorithm. When GRU and LSTM are compared, GRU shows better performance than LSTM. In this paper, we trained the LSTM algorithm using input data SVR is an algorithm proposed by Drucker et al. [30]. It is a regression algorithm based on SVM. It can be applied to cases where variables are continuous, unlike SVM.
ANFIS is a combination of neural network and fuzzy theory [31]. This model automatically adjusts the membership function and control rules to fit control object from information of input and output obtained from the control environment using the structure of neural network and train performance.

5.5. CNN + LSTM

CNN + LSTM is composed of algorithms of CNN which can easily train 2D data and LSTM which can predict using past information [32]. In this paper, we designated filter size to be 3 and the number of nodes to be 6. We then measured the error using the CNN algorithm. The error did not change significantly according to filter size or the LSTM algorithm as shown in Table 8 and Table 9. Figure 24 shows the organization of CNN + LSTM. ∂ in Figure 24 represents node of the convolution layer.

5.6. LSTM + CNN

LSTM is an algorithm that variable enters the hidden layer until before n–day. It ignores the prediction value of the past and outputs prediction value of the current. LSTM + CNN algorithm applies all prediction values of the past and current. It then makes a two-dimensional output value which applies the CNN algorithm.
Like CNN + LSTM in this paper, we designated filter size to be 3 and the number of nodes to be 6. We then measured error using the CNN algorithm in which the error did not change significantly according to filter size or LSTM algorithm as shown in Table 8 and Table 9.
Figure 25 presents the LSTM algorithm showing target values of the past and the present. Figure 26 shows the CNN + LSTM structure that connects Figure 25’s LSTM algorithm with the CNN algorithm.

6. Prediction Result

6.1. Preprocessing and Non-Processing Comparison

In order to investigate the influence of preprocessing variables, we compared prediction values between non-processing and preprocessing variables. To improve the train performance of the algorithm, we standardized Equation (5). We also measured the precision of performance using data of 2017–2018 rather than data of 2018 as test data.
Figure 27 shows a comparison graph between amounts of EPT and the two predictions for non-preprocess and preprocess. The blue graph and orange graph shows the predicted value and amount of EPT, respectively.
When predicting the amount of EPT using variables without preprocessing, seasonal patterns were not found. The amount of EPT decreased with the same degree on Saturday and Sunday. In addition, the amount of power electric transaction decreased in the same degree on a holiday and holidays in a row. However, when the amount of EPT was predicted after we added data with preprocessed variables, seasonal patterns, weekend patterns, and special day patterns were observed. These patterns were not completely the same. When measurement errors were compared between preprocessing and not preprocessing, the error was smaller when variables were preprocessed than that without preprocessing. Table 10 shows comparison results of predicted values between preprocessing and non-preprocessing.

6.2. Pattern Analysis of Prediction Values

Pattern 1: Seasonal pattern
Figure 28 presents a graph of prediction results for the amount of EPT from January 2017 to December 2017 proposed for sections by applying each algorithm. Blue and gray graph represent predictive amount of EPT of each algorithm and amount of EPT. The prediction performance was determined based on MAPE and RMSE. Results showed that SVR and CNN algorithms had high accuracy. In order to accurately evaluate the performance of each algorithm, we analyzed seasonal, Sunday, and special day patterns for each algorithm from 1 January 2017 to 31 December 2017. Results of pattern analysis revealed that all predicted amount of EPT had seasonal patterns, increasing in summer and winter seasons but decreasing in spring and autumn seasons.
A large error occurred for the prediction of the amount of EPT in winter season of 2017 using proposed algorithms. However, CNN + LSTM algorithm showed the lowest prediction error among all algorithms.
Pattern 2: Week pattern
Figure 29 shows the amount of EPT from 5 January 2017 to 17 January 2017. Blue and gray graph represent predictive amount of EPT of each algorithm and amount of EPT. The green vertical line and the red vertical line represent Saturday and Sunday, respectively. Week pattern showed that variables of Equation (2) were well applied to all algorithms presented in Section 5.
Pattern 3: Special day pattern
Figure 30 shows the amount of EPT from 3 June 2017 to 9 June 2017. Blue and gray graph represent predictive amount of EPT of each algorithm and amount of EPT. The red vertical line represents a special day of Memorial Day. MLP, CNN, SVR, and ANFIS algorithms predicted that the amount of EPT would decreasing during this period.
Pattern 4: Special day (holiday season) pattern
Figure 31 shows the amount of EPT from 25 September 2017 to 13 October 2017. Blue and gray graph represent predictive amount of EPT of each algorithm and amount of EPT. Red vertical lines represent starting day and ending day of holidays in a row. Holidays in row of October 2017 continued for 10 days, including Armed Forces Day, temporary holidays, opening days, Thanksgiving Day, alternative holidays, and Hangul Day. During the holiday season, four algorithms (MLP, CNN, LSTM, and CNN + LSTM) showed prediction patterns consistent with the holiday pattern displayed in Section 4.3. However, the other four algorithms showed prediction patterns inconsistent with the holiday pattern as the decrease in holidays at the middle point was predicted to be lower than the decrease in the beginning day or the last day.
Table 11 shows RMSE and MAPE results for the prediction of the amount of EPT from 1 January 2017 to 31 December 2017 using eight algorithms tested in this study, when we apply 60% of train data and 40% of test data. As a result, CNN algorithm showed the best prediction.
Table 12 also shows RMSE and MAPE results for the prediction of the amount of EPT of 2017 for validation and 2018 for test using eight algorithms tested in this study. As a result, CNN algorithm also showed the best prediction.

7. Conclusions

In this paper, we investigated seasonal, Sunday, and special day patterns of the amount of EPT in the past to predict the amount of EPT in South Korea. We selected date, holiday, and temperature data. Korean holiday was acquired on the day stipulated in the “Regulations on Public Holidays of Government Offices” by the Presidential Decree of Korea. It was presented with a binary digit.
Since the acquired amount of EPT was the amount of total EPT in South Korea, we designated three large cities in each region and acquired their temperature data. In order to use variables that could be used as references on 31 December 2016, we used temperature data of the prior year.
For example, if we want to predict the amount of EPT in 2017, we used temperature data in 2016. In addition, in order to improve the correlation between variables and amount of EPT, we preprocessed variables. We found differences when we compared predicted values without preprocessing of variables and those with preprocessing of variables.
We tested various algorithms such as MLP, LSTM, CNN, GRU, SVR, ANFIS, CNN + LSTM, and LSTM + CNN to predict the amount of EPT for 2017 of South Korea. When we measured errors for the predicted amount of EPT in 2017 with various proposed algorithms, the CNN algorithm with six nodes and three filter sizes showed the lowest prediction error (67.35 for RMSE and 3.513% for MAPE).
We found that the accuracy of prediction using CNN was the highest among all algorithms for a weekly pattern. However, CNN could not predict the trend of annual amount of EPT in 2017 of South Korea. The prediction error using CNN was large from 1 November 2017.
In the future studies, it is necessary to add variables with characteristics of unforeseen patterns. In this study, we used temperature variable from one year ago. We also need temperature data after one year as variable. To do this, prediction of future temperature, humidity, wind speed and atmosphere pressure are required.

Author Contributions

G.B. and Y.B. conceived and designed the conceptualization, G.B. performed the computer simulation and Y.B. analyzed the data and algorithms; G.B. wrote the paper. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by Chonnam National University (Smart Plant Reliability Center) grant funded by the Ministry of Education (2020R1A6C101B197).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Yang, D.; Guo, J.; Li, J.; Wang, S.; Sun, S. Knowledge Mapping in Electricity Demand Forecasting: A Scientometric Insight. arXiv 2020, arXiv:2003.10055. [Google Scholar]
  2. Hippert, H.S.; Pedreira, C.E.; Souza, R.C. Neural networks for short-term load forecasting: A review and evaluation. IEEE Trans. Power Syst. 2001, 16, 44–55. [Google Scholar] [CrossRef]
  3. Papalexopoulos, A.D.; Hao, S.; Peng, T.M. An implementation of a neural network based load forecasting model for the EMS. IEEE Trans. Power Syst. 1994, 9, 1956–1962. [Google Scholar] [CrossRef]
  4. Hernandez, L.; Baladron, C.; Aguiar, J.M.; Carro, B.; Sanchez-Esguevillas, A.J.; Lloret, J.; Massana, J. A survey on electric power demand forecasting: Future trends in smart grids, microgrids and smart buildings. IEEE Commun. Surv. Tutor. 2014, 16, 1460–1495. [Google Scholar] [CrossRef]
  5. Korea Power Exchange. Available online: https://www.kpx.or.kr/ (accessed on 16 December 2020).
  6. Korea Electric Power Company. Available online: http://home.kepco.co.kr/ (accessed on 16 December 2020).
  7. GUPTA, P.C. A stochastic approach to peak power-demand forecasting in electric utility systems. IEEE Trans. Power Appar. Syst. 1971, 2, 824–832. [Google Scholar] [CrossRef]
  8. Mamlook, R.; Badran, O.; Abdulhadi, E. A fuzzy inference model for short-term load forecasting. Energy Policy 2009, 37, 1239–1248. [Google Scholar] [CrossRef]
  9. El-Sharkawi, M.A.; Oh, S.; Marks, R.J.; Damborg, M.J.; Brace, C.M. Short term electric load forecasting using an adaptively trained layered perceptron. In Proceedings of the First International Forum on ANNPS, Seattle, WA, USA, 23–26 July 1991; pp. 3–6. [Google Scholar]
  10. He, J.; Wang, J.; Dai, L.; Zhang, J.; Bao, J. An Adaptive Interval Forecast CNN Model for Fault Detection Method. In Proceedings of the 2019 IEEE 15th International Conference on Automation Science and Engineering (CASE), Vancouver, BC, Canada, 22–26 August 2019; pp. 602–607. [Google Scholar]
  11. Zang, H.; Liu, L.; Sun, L.; Cheng, L.; Wei, Z.; Sun, G. Short-term global horizontal irradiance forecasting based on a hybrid CNN-LSTM model with spatiotemporal correlations. Renew. Energy 2020, 160, 26–41. [Google Scholar] [CrossRef]
  12. Kim, T.; Kim, H.Y. Forecasting stock prices with a feature fusion LSTM-CNN model using different representations of the same data. PLoS ONE 2019, 14, e0212320. [Google Scholar] [CrossRef] [PubMed]
  13. Xu, Z.; Yixian, W.; Yunlong, C.; Xueting, C.; Lei, G. Short-term Wind Speed Prediction Based on GRU. In Proceedings of the 2019 IEEE Sustainable Power and Energy Conference (iSPEC), Beijing, China, 21–23 November 2019; pp. 882–887. [Google Scholar]
  14. Wang, R. Application Research of Short-term Traffic Flow Forecast Based on Bat Algorithm Support Vector Machine. MS&E 2020, 740, 012168. [Google Scholar]
  15. González-Romera, E.; Jaramillo-Morán, M.Á.; Carmona-Fernández, D. Forecasting of the electric energy demand trend and monthly fluctuation with neural networks. Comput. Ind. Eng. 2007, 52, 336–343. [Google Scholar] [CrossRef]
  16. Lin, Y.C.; Zhang, Y.M.; Chen, Y.H.; Wang, W.K. LSTM Neural Network for Electricity Consumption Forecast. In Proceedings of the International Conference on Information and Knowledge Engineering (IKE), Las Vegas, NV, USA, 29 July–1 August 2019; pp. 91–97. [Google Scholar]
  17. Kasule, A.; Ayan, K. Using PSO and Genetic algorithms to optimize ANFIS model for forecasting Uganda’s net electricity consumption. Sakarya Üniversitesi Fen Bilimleri Enstitüsü Dergisi 2020, 24, 324–337. [Google Scholar] [CrossRef]
  18. Ogihara, K.; Urano, S. A study of risk reduction for daily peak load demand forecasting. In Proceedings of the 2019 IEEE Milan PowerTech, Milan, Italy, 23–27 June 2019; pp. 1–6. [Google Scholar]
  19. Duong-Ngoc, H.; Nguyen-Thanh, H.; Nguyen-Minh, T. Short term load forcast using deep learning. In Proceedings of the 2019 Innovations in Power and Advanced Computing Technologies (i-PACT), Vellore, India, 22–23 March 2019; pp. 1–5. [Google Scholar]
  20. Eshragh, A.; Ganim, B.; Perkins, T. The Importance of Environmental Factors in Forecasting Australian Power Demand. arXiv 2019, arXiv:1911.00817. [Google Scholar]
  21. Kim, M.; Choi, W.; Jeon, Y.; Liu, L. A hybrid neural network model for power demand forecasting. Energies 2019, 12, 931. [Google Scholar] [CrossRef] [Green Version]
  22. del Real, A.J.; Dorado, F.; Durán, J. Energy Demand Forecasting Using Deep Learning: Applications for the French Grid. Energies 2020, 13, 2242. [Google Scholar] [CrossRef]
  23. Li, R.; Jiang, P.; Yang, H.; Li, C. A novel hybrid forecasting scheme for electricity demand time series. Sustain. Cities Soc. 2020, 55, 102036. [Google Scholar] [CrossRef]
  24. Imani, M. Deep Learning Based Electricity Demand Forecasting in Different Domains. Iran. J. Energy Environ. 2020, 11, 33–39. [Google Scholar]
  25. Ma, M.; Wang, Z. Prediction of the Energy Consumption Variation Trend in South Africa based on ARIMA, NGM and NGM-ARIMA Models. Energies 2019, 13, 10. [Google Scholar] [CrossRef] [Green Version]
  26. Pal, S.K.; Mitra, S. Multilayer perceptron, fuzzy sets, classification. Trans. Neural Netw. IEEE 1992, 3, 683–697. [Google Scholar] [CrossRef] [PubMed]
  27. Gers, F.A.; Schmidhuber, J.; Cummins, F. Learning to forget: Continual prediction with LSTM. In Proceedings of the International Conference on Artificial Neural Networks: ICANN’99, Edinburgh, UK, 7–10 September 1999; pp. 850–855. [Google Scholar]
  28. Girshick, R. Fast r-cnn. In Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile, 7–13 December 2015; pp. 1440–1448. [Google Scholar]
  29. Chung, J.; Gulcehre, C.; Cho, K.; Bengio, Y. Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv 2014, arXiv:1412.3555. [Google Scholar]
  30. Drucker, H.; Burges, C.J.; Kaufman, L.; Smola, A.J.; Vapnik, V. Support vector regression machines. In Advances in Neural Information Processing Systems; MIT Press: Cambridge, MA, USA, 1997; pp. 155–161. [Google Scholar]
  31. Jang, J.S. ANFIS: Adaptive-network-based fuzzy inference system. IEEE Trans. Syst. Man Cybern. 1993, 23, 665–685. [Google Scholar] [CrossRef]
  32. Wang, J.; Yu, L.C.; Lai, K.R.; Zhang, X. Dimensional sentiment analysis using a regional CNN-LSTM model. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics, Berline, Germany, 7–12 August 2016; pp. 225–230. [Google Scholar]
Figure 1. Korea energy system [5,6].
Figure 1. Korea energy system [5,6].
Energies 13 06649 g001
Figure 2. Time point of selected variable.
Figure 2. Time point of selected variable.
Energies 13 06649 g002
Figure 3. Amount of EPT in Korea from 2014 to 2018.
Figure 3. Amount of EPT in Korea from 2014 to 2018.
Energies 13 06649 g003
Figure 4. Characteristics of EPT from 2017 to 2018.
Figure 4. Characteristics of EPT from 2017 to 2018.
Energies 13 06649 g004
Figure 5. Geographical locations of Seoul, Gwangju, and Busan in South Korea.
Figure 5. Geographical locations of Seoul, Gwangju, and Busan in South Korea.
Energies 13 06649 g005
Figure 6. Amount of EPT in South Korea and the highest temperature in Seoul.
Figure 6. Amount of EPT in South Korea and the highest temperature in Seoul.
Energies 13 06649 g006
Figure 7. Highest temperatures of day in Seoul, Gwangju and Busan during 2013–2017.
Figure 7. Highest temperatures of day in Seoul, Gwangju and Busan during 2013–2017.
Energies 13 06649 g007
Figure 8. Election Days in South Korea during 2014–2018.
Figure 8. Election Days in South Korea during 2014–2018.
Energies 13 06649 g008
Figure 9. Children’s Day in South Korea during 2014–2018.
Figure 9. Children’s Day in South Korea during 2014–2018.
Energies 13 06649 g009
Figure 10. New year holidays in South Korea during 2014–2018.
Figure 10. New year holidays in South Korea during 2014–2018.
Energies 13 06649 g010
Figure 11. Thanksgiving holiday in South Korea during 2014–2018.
Figure 11. Thanksgiving holiday in South Korea during 2014–2018.
Energies 13 06649 g011
Figure 12. Graphs of temperature and graphs of results applied to Equation (1).
Figure 12. Graphs of temperature and graphs of results applied to Equation (1).
Energies 13 06649 g012
Figure 13. Graph applying power transaction and Equation (2) on different weeks.
Figure 13. Graph applying power transaction and Equation (2) on different weeks.
Energies 13 06649 g013
Figure 14. Algorithm used for predicting the amount of EPT.
Figure 14. Algorithm used for predicting the amount of EPT.
Energies 13 06649 g014
Figure 15. Composition between training data and test data.
Figure 15. Composition between training data and test data.
Energies 13 06649 g015
Figure 16. Configuration of MLP-based algorithm to predict the amount of EPT.
Figure 16. Configuration of MLP-based algorithm to predict the amount of EPT.
Energies 13 06649 g016
Figure 17. Basic structure of LSTM.
Figure 17. Basic structure of LSTM.
Energies 13 06649 g017
Figure 18. Designation of variables and target data.
Figure 18. Designation of variables and target data.
Energies 13 06649 g018
Figure 19. RMSE graph according to N value.
Figure 19. RMSE graph according to N value.
Energies 13 06649 g019
Figure 20. RMSE according to node value.
Figure 20. RMSE according to node value.
Energies 13 06649 g020
Figure 21. Data reordering process and the calculation process for the CNN algorithm.
Figure 21. Data reordering process and the calculation process for the CNN algorithm.
Energies 13 06649 g021
Figure 22. Training process of the algorithm.
Figure 22. Training process of the algorithm.
Energies 13 06649 g022
Figure 23. RMSE according to D and ω.
Figure 23. RMSE according to D and ω.
Energies 13 06649 g023
Figure 24. Structure of CNN + LSTM.
Figure 24. Structure of CNN + LSTM.
Energies 13 06649 g024
Figure 25. LSTM algorithm for selecting all predictions of the past and the present.
Figure 25. LSTM algorithm for selecting all predictions of the past and the present.
Energies 13 06649 g025
Figure 26. Structure of LSTM + CNN.
Figure 26. Structure of LSTM + CNN.
Energies 13 06649 g026
Figure 27. Comparison of predictive amount of EPT.
Figure 27. Comparison of predictive amount of EPT.
Energies 13 06649 g027
Figure 28. Comparison of seasonal patterns with different algorithms.
Figure 28. Comparison of seasonal patterns with different algorithms.
Energies 13 06649 g028
Figure 29. Comparison of week patterns with different algorithms.
Figure 29. Comparison of week patterns with different algorithms.
Energies 13 06649 g029
Figure 30. Comparison of special day patterns with different algorithms.
Figure 30. Comparison of special day patterns with different algorithms.
Energies 13 06649 g030
Figure 31. Comparison of special day (holiday season) patterns with different algorithms.
Figure 31. Comparison of special day (holiday season) patterns with different algorithms.
Energies 13 06649 g031
Table 1. Classification of electricity demand by four criteria.
Table 1. Classification of electricity demand by four criteria.
CriteriaInput VariablesAim
Long-term load forecasting (LTLF)Range of monthExpansion planning of the network
Medium-term load forecasting (MTLF)Range of weeks Operational planning
Short-term load forecasting (STLF)Range of dayDay of day planning and dispatch cost minimization
Very short-term load forecasting (VSTLF)Minutes or hoursScale of seconds to minutes allows the network to respond to the flow of demand
Table 2. Previous studies on the prediction of amount of EPT.
Table 2. Previous studies on the prediction of amount of EPT.
NumberReferenceYearCountryModelDescription
1[18]2019JapanMLR, MLP
  • Uses meteorological data,
  • Optimizes combinations when predicted values select
  • Organize seasonal models
  • Predicted start point is older than used variable
2[19]2019VietnamFF-DNN, RNN
  • Variables are used one day ago, one hour ago and one week ago.
  • Use as a variable that cannot be acquired at the beginning of the prediction
3[20]2020AustraliaSARIMA
  • Develop a SARIMA-regression model for the weekly power demand
  • Use as a variable that cannot be acquired at the beginning of the prediction
4[21]2019KoreaLSTM + CNN
  • Pre-process data by pairing for power demand values.
  • Predicted start point is older than used variable
5[22]2020FrenchCNN + ANN
  • Using a combination of CNN and ANN
  • Predicted start point is older than used variable
6[23]2020Australia and SingaporeSVR,
sine, cosine optimization algorithm et.
  • Combining SVR, sine and cosine optimization
  • Data preprocessing method was used (AFD, FFT)
  • Predicted start point is older than used variable
7[24]2020IranLSTM
  • Significantly improve electric load forecasting by integrating acquired load characteristics and time series
  • Predicted start point is older than used variable
8[25]2020South AfricaARIMA,
NGM-ARIMA
  • On the basis of NGM and ARIMA single models, a new combined NGM-ARIMA model proposed
  • Predicted start point is older than used variable
Propose method--KoreaCNN, LSTM + CNN, GRU etc.
  • The predicted start point is placed in the future for variable used
  • Preprocess variables for better prediction of power demand
Table 3. Correlation between amount of EPT and temperature.
Table 3. Correlation between amount of EPT and temperature.
NumberSortationTemperatureAmount of EPTCorrelation
Winter → SpringIncreaseDecrease
Spring → SummerIncreaseIncrease+
Summer → FallDecreaseDecrease+
Fall → WinterDecreaseIncrease
The numbers in Table 3 represent the numbers of sections in Figure 3.
Table 4. Features of Korean holidays.
Table 4. Features of Korean holidays.
Public HolidayDateSolar/LunarReplacement Holiday
New year’s day1.1S
Lunar New Year’s Day12.31–1.2L
Independence Movement Day3. 1S
Buddha’s birthday4. 8L
Children’s Day5. 5S
Memorial Day6.6S
National Liberation Day8.15S
Thanksgiving Day (Chuseok)8.14–8.16L
the National foundation Day of Korea10.3S
Hangul Proclamation Day10.9S
Christmas12.25S
Election Day
Table 5. Characteristics of acquired data.
Table 5. Characteristics of acquired data.
DataSourcesTime UnitData-TypeMeasure
Amount of power transactionKorea power exchangedayfloatGWh
TemperatureKorea meteorological administrationdayfloatCelsius
Year, month, day-dayDate-time-
Holiday-dayTrue/False-
Table 6. COR rank by n value.
Table 6. COR rank by n value.
nCORRank
33.21
50.25
72.12
90.44
111.23
Table 7. Dates of variable used as a basis for forecasting the amount of EPT.
Table 7. Dates of variable used as a basis for forecasting the amount of EPT.
EPTYearsMonthsDaysHolidaysTemperature
2018-01-0120181112017-01-01
2018-01-0220181202017-01-02
2018-01-0320181302017-01-03
2018-12-302018123002017-12-30
2018-12-312018123102017-12-31
Table 8. RMSE of train and test data according to N and node value of LSTM algorithm.
Table 8. RMSE of train and test data according to N and node value of LSTM algorithm.
NRMSENode
(N = 5)
RMSE
Train DataTest DataTrain DataTest Data
10.19290.644410.21680.7171
20.15680.707120.11850.5553
30.14310.613630.09160.5516
40.10600.601240.06370.6410
50.05430.755050.05430.7550
60.04850.836160.03940.6653
70.05280.711070.03640.6743
80.06650.624280.03680.5933
90.05200.730890.02580.6317
100.05980.7560100.02450.5752
110.05850.6866110.01990.7526
120.05970.7270120.01580.6669
130.05410.7097130.01860.5825
140.06100.7736140.01340.6293
150.05780.6540150.01100.6345
160.07300.6968160.00970.6246
170.05770.8223170.01140.6570
180.06250.8660180.00750.6507
190.06730.7243190.00800.6499
Table 9. RMSE according to D and ω.
Table 9. RMSE according to D and ω.
Filter
(Node = 5)
RMSEFilter
(Node = 5)
RMSE
DωTrain DataTest DataDωTrain DataTest Data
110.70955.3227640.52843.8690
210.68815.2076650.52733.8889
220.67875.1663660.52973.9206
310.66195.0385710.53613.9313
320.66455.0485720.54333.9700
330.66685.0344730.52853.9058
410.62934.7151740.53293.9407
420.62144.7711750.52463.8812
430.62164.6647760.54354.0078
440.62424.6801770.53103.9299
510.55124.0790810.53233.9287
520.55004.0490820.52643.9228
530.54814.0558830.53653.9635
540.55644.0907840.52083.8832
550.54744.0393850.53463.9507
610.52213.8586860.52813.9112
620.53363.8973870.53053.9288
630.52043.8571880.52953.8915
Table 10. Comparison of prediction results between preprocessing and non-preprocessing of variables.
Table 10. Comparison of prediction results between preprocessing and non-preprocessing of variables.
NumberSortationPre-ProcessEPT
BeforeAfter
1Winter → SpringDecreaseDecreaseDecrease
2Spring → SummerDecreaseIncreaseIncrease
3Summer → FallIncreaseDecreaseDecrease
4Fall → WinterIncreaseIncreaseIncrease
Table 11. RMSE and MAPE Results of Predicted Values for 1 Year.
Table 11. RMSE and MAPE Results of Predicted Values for 1 Year.
RMSE [GWh]MAPE [%]
MLP74.7203.970
LSTM82.9544.680
CNN67.3503.513
GRU74.7443.952
SVR71.1063.577
ANFIS75.1284.046
LSTM + CNN86.1834.681
CNN + LSTM72.8403.975
Table 12. RMSE and MAPE Results of Predicted Values for 2 Year.
Table 12. RMSE and MAPE Results of Predicted Values for 2 Year.
RMSE [GWh]MAPE [%]
ValidationTestValidationTest
MLP74.72086.4243.9704.220
LSTM82.95489.5904.6804.996
CNN67.35079.7853.5133.932
GRU74.74485.1063.9524.459
SVR71.106110.9963.5775.833
ANFIS75.128115.5714.0466.215
LSTM + CNN86.18381.2264.68110.813
CNN + LSTM72.840154.4043.9758.746
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Bak, G.; Bae, Y. Predicting the Amount of Electric Power Transaction Using Deep Learning Methods. Energies 2020, 13, 6649. https://doi.org/10.3390/en13246649

AMA Style

Bak G, Bae Y. Predicting the Amount of Electric Power Transaction Using Deep Learning Methods. Energies. 2020; 13(24):6649. https://doi.org/10.3390/en13246649

Chicago/Turabian Style

Bak, Gwiman, and Youngchul Bae. 2020. "Predicting the Amount of Electric Power Transaction Using Deep Learning Methods" Energies 13, no. 24: 6649. https://doi.org/10.3390/en13246649

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