You are on page 1of 5

Short Term Load Forecasting Method of Smart Grid Based on RB

XGboost Algorithm
Xiaojun Zhang∗ Hao Fu Suzhou Wu
State Grid Xinjiang Company Limited State Grid Xinjiang Electric Power State Grid Xinjiang Company Limited
Electric Power Research Institute, Company, Urumqi City, 830011, Electric Power Research Institute,
Urumqi City, 830011, Xinjiang, China Xinjiang, China Urumqi City, 830011, Xinjiang, China
523389980@qq.com 564530512@163.com 1311708565@qq.com

Shuqiang Zhou Dalu Sun


State Grid Xinjiang Electric Power Beijing new energy central test
Company Urumqi Power Supply Technology Co., Ltd, Beijing City,
Company, Urumqi City, 830011, 102600, Beijing, China
Xinjiang, China 38828289@qq.com
zhoushuqiang@mail.dlut.edu.cn

ABSTRACT KEYWORDS
China is a big power consumer, and the design of smart grid is Rb XGBOOST Algorithm, Smart Grid, Load Forecasting, Innovation
becoming more and more important for our power consumption Mechanism
peak. RB xgboost algorithm is used to predict the grid load during
ACM Reference Format:
the peak period of smart grid. RB xgboost algorithm is becoming
Xiaojun Zhang, Hao Fu, Suzhou Wu, Shuqiang Zhou, and Dalu Sun. 2021.
more and more mature, and intelligent algorithm and deep learning
Short Term Load Forecasting Method of Smart Grid Based on RB XGboost
are booming, The key point is that the analysis and prediction of Algorithm. In 2021 3rd International Conference on Artificial Intelligence
power grid load performance has brought new opportunities and and Advanced Manufacture (AIAM2021), October 23–25, 2021, Manchester,
application methods. RB xgboost algorithm network, which takes United Kingdom. ACM, New York, NY, USA, 5 pages. https://doi.org/10.1145/
a lot of time. Often for an algorithm, if it wants to play the great- 3495018.3495424
est role, it needs to spend a lot of effort on adjusting parameters.
The experimental results show that the short-term load forecast-
ing method based on RB xgboost algorithm improves the power 1 INTRODUCTION
consumption efficiency by 13.6%. For the short-term power grid With the rapid development of national economic construction,
load pressure at the peak of power consumption such as severe cold the increasingly prominent energy problem has long been widely
and heat, grand festival days and so on, the corresponding power concerned by all parties. As the main body of energy consumption,
accidents still occur from time to time. With the diversification of in recent years, all social parties have made active efforts around
power market, for the regulation and prediction of power price, the capacity structure adjustment, optimized supply, green energy
the RB xgboost algorithm prediction method does not depend on conservation and other aspects of power resources [1-2]. As an im-
the input variables and the expression of load prediction. It can portant part of power system, power grid load forecasting has been
find the trend of load data in a large number of historical load data. paid attention to by experts in the industry. From time series to the
This paper analyzes, discusses and summarizes the power consump- application of machine learning models such as support vector ma-
tion risk, so as to enrich the research results for high-voltage load chine, power grid load forecasting has made remarkable progress.
forecasting. However, with the improvement of prediction accuracy require-
ments, the increase of data volume and the increase of influencing
CCS CONCEPTS factors [3-4].
• Applied computing; • Physical sciences and engineering; • Specifically, the optimal parameters obtained by random search
Engineering; • Computer-aided design; and grid search are rearranged and combined to obtain a new pa-
rameter matrix, and the optimal parameter combination is retrained
∗ corresponding author based on the principle of grid search [5-6]. In terms of serialization,
due to the huge time-consuming of manual search and the influence
Permission to make digital or hard copies of all or part of this work for personal or
classroom use is granted without fee provided that copies are not made or distributed of many subjective human factors, the manual search is upgraded
for profit or commercial advantage and that copies bear this notice and the full citation to Bayesian parameter global optimization. The model evaluates
on the first page. Copyrights for components of this work owned by others than ACM many different power grid attributes, from practical integrated new
must be honored. Abstracting with credit is permitted. To copy otherwise, or republish,
to post on servers or to redistribute to lists, requires prior specific permission and/or a sensors, power grid monitoring and control evaluation of switch-
fee. Request permissions from permissions@acm.org. ing and communication technology to smart grid prediction and
AIAM2021, October 23–25, 2021, Manchester, United Kingdom analysis of power companies, and then better. The research work
© 2021 Association for Computing Machinery.
ACM ISBN 978-1-4503-8504-6/21/10. . . $15.00 on power grid load in China is slightly later than that in developed
https://doi.org/10.1145/3495018.3495424 countries such as Europe and the United States [7-8].

1474
AIAM2021, October 23–25, 2021, Manchester, United Kingdom Xiaojun Zhang et al.

The innovation of this paper is to propose the current smart grid The calculated value of the algorithm is, and the formula is as
short-term load forecasting method based on RB xgboost algorithm. follows; Í ′
With the continuous growth of power consumption, the power grid (u,i)∈T |rui − rui |
needs to build more power plants, the corresponding construction MAE = (2)
T
and power generation costs are also increasing, and it also causes The following formula shall be used for the test:
some pressure on the environment. When environmental factors Í
|R(u) ∩ T (u)|
or other interference factors are large, the above methods have Pr ecision = u ∈U Í (3)
large deviation in power grid load forecasting, resulting in low u ∈U |R(u)|
accuracy of forecasting. The shortcomings of traditional prediction
2.2 Load Forecasting Algorithm Analysis
methods also provide further development space for the research
of prediction analysis. The purpose of this study is to find a new In addition, in the traditional forecasting research, in addition to
way of smart grid short-term load forecasting method based on RB statistics, researchers establish the corresponding time series model
xgboost algorithm. by combining the theories of random process and mathematical
statistics, that is, according to the potential relationship between
historical data and time, so as to realize the forecasting of power
2 SMART GRID MANAGEMENT ANALYSIS grid load, The research shows that the time series analysis method
can better represent the prediction and analysis of power grid load
UNDER INTERNET TECHNOLOGY when the environmental factors are small. Boost algorithm is an
2.1 Smart Grid Application Analysis improved method based on different calculation methods on the
In recent years, the development of smart grid faces many chal- gradient of gbdt algorithm. We use the default parameters of XGB
lenges, such as new energy grid connection, load increase and Library in Python for model training. As our control experiment,
access of distributed power generation and other equipment. The this paper maintains the data set completely consistent with RB
existence of these factors increases the difficulty and complexity xgboost model on four baseline experiments, and optimizes the
of safe and reliable operation of power grid. Sandra, B. demand parameters of each model. In the process of model establishment,
response refers to the behavior of power consumers to adjust or The input characteristics and output targets are consistent with the
change their habitual electricity use mode in order to obtain certain experiments in this paper.
economic benefits under the guidance of electricity price policy
or incentive policy [9]. Kumral o also has further optimization 3 SMART GRID ANALYSIS UNDER
in the management and technology of power system, mainly in- COMPUTER ALGORITHM
cluding the optimization of power grid lines and the reasonable 3.1 Smart Grid Load Analysis
prediction of transmission peak, so as to make more efficient use
of power resources. Moreover, with the continuous development The overall load adjustment goal of the system is realized, and
of urbanization and modernization in recent years, the demand for the fairness of the response among air conditioning individuals is
power consumption is becoming more and more controllable and guaranteed. In the simulation, the decentralized control strategy is
predictable [10]. considered in the primary frequency modulation of power system
In recent years, environmental problems have also become in- to provide fast frequency regulation service. The simulation results
creasingly prominent. Good power grid intelligent forecasting plays show that the air conditioner can quickly respond to the system
an important role in alleviating greenhouse gas emissions and air frequency change caused by the sudden change of demand, and
pollution to a certain extent. At present, the term of power grid load can greatly reduce the output and frequency deviation of primary
forecasting can be divided into medium and long-term forecast- frequency regulation unit. Finally, based on the hierarchical model
ing. We use theoretical methods and practical cases to analyze the predictive control and market bidding mechanism, the flexible load
relevant cases of real estate, and statistically analyze the financial can participate in the secondary frequency regulation service of
indicators of some power market prices in China on the basis of data power system through electricity price incentive. In the data pre-
and models. Power generation is controlled in the power system. processing stage, the weighted least squares fitting, recursive least
The imbalance between regional power generation and demand squares, orthogonal function least squares and small array least
often leads to system frequency deviation and inter regional tie line squares are compared and analyzed. Finally, the weighted least
power deviation from the planned value. The purpose of power square method is selected to fill the data gap.
system control is that in the presence of disturbance, the system
operation can still meet the established requirements and maintain 3.2 Grid Load Forecasting in Power
a certain stability. Proper application of this function can design an Consumption Management
effective algorithm for real estate market transaction risk prediction Medium and long-term power grid load forecasting belongs to the
in risk management model, which has the following forms. content of national strategy or a regional level, and is an important
part of the future development planning of its region. In addition,
the medium and long-term power grid load is also closely related to
sÍ the local surrounding international and regional situation, market
(u,i)∈T (rui − rui ′ )2 structure distribution, expected economic trend, policy and insti-
RMSE = (1)
|T | tutional arrangements, etc. The overall development trend of load

1475
Short Term Load Forecasting Method of Smart Grid Based on RB XGboost Algorithm AIAM2021, October 23–25, 2021, Manchester, United Kingdom

Figure 1: the optimal capacity allocation

forecasting algorithm is as follows: the research on classical fore- 4.2 Future Smart Grid Prediction Modeling
casting algorithm is less and less, and it is gradually replaced by On the other hand, there will be a large number of flexible loads in
traditional and new algorithms with clear mathematical theory and the power grid in the future, which can stabilize the fluctuation of
model: the traditional algorithm and new algorithm are improved, new energy and "cut peak and fill valley" by adjusting their own
and the traditional algorithm and new algorithm are combined power consumption, so as to greatly reduce the power generation
and cross applied; The comprehensive algorithm combined with and adjustment cost of traditional power plants. In the future smart
a variety of forecasting algorithms is widely used, and the charac- grid, power supply, energy storage and flexible load are intercon-
teristics of various models complement each other to improve the nected through power grid and communication network (energy
load forecasting accuracy and reduce the forecasting risk, but it Internet). On this basis, the efficient, reliable and sustainable opera-
also leads to the increase of operation quantity and the reduction tion of power system can be realized by implementing intelligent
of operation efficiency. control strategy. The control action of future time-varying load
in advance can effectively reduce the frequency fluctuation and
stabilize the system frequency; Considering the control strategy
of CPS1 standard is beneficial to improve the frequency quality of
4 PREDICTION MODEL ANALYSIS UNDER interconnected regional power grid. Secondly, on the demand side,
SMART GRID the estimation of steady-state power and distribution of heteroge-
neous air-conditioning polymers is studied. The research work of
4.1 Power Generation Prediction Model
power grid load forecasting is also carried out. The early research
Analysis on power grid load is mainly through the use of mathematical
Firstly, on the generation side, the model predictive control is ap- tools, that is, mainly through statistical methods. Among them,
plied to the real-time adjustment of secondary frequency modu- the traditional prediction research is mainly represented by the
lation power of AGC unit in power system. For single region and trend analysis method, which mainly carries out the corresponding
multi region power system models, ultra short-term load forecast- data sorting, curve fitting and data prediction of future time nodes
ing, unit economic cost and model predictive load frequency control through the relevant historical data of the industry. Trend analysis
strategy of CPSL / cps2 standard are considered respectively. In grid method not only has a certain research in power grid load fore-
search, each parameter is sorted in order, similar to the grid, which casting, but also has a wide range of applications in such as stock
actually forms a high-dimensional matrix. In this grid, taking the market trend analysis and enterprise financial statement analysis.
three parameters in the figure as an example, select N1 in the first The specific results are shown in Figure 2
parameter, D1 in the second parameter and L1 in the third parame- In terms of time and climate, the severe cold climate in winter in
ter to train the model to obtain the accuracy of the model, and then the north and the high temperature season in summer in the south
select Ni in the first parameter, D1 in the second parameter and L2 are still the high incidence period of "power shortage". Therefore, it
in the third parameter again to train the model, The accuracy of is also of great significance to strengthen the short-term prediction
this model model2 is obtained. The specific results are shown in of regional power load. In view of this, on the one hand, all localities
Figure 1

1476
AIAM2021, October 23–25, 2021, Manchester, United Kingdom Xiaojun Zhang et al.

Figure 2: Comparison of running time

Table 1: Statistical table of sample library

Practical Courses Quantity Proportion


Too much emphasis on theory 17 94.44%
Less practical content 14 77.78%
Too few hours 17 94.44%
Content does not meet requirements 13 72.22%
Others 1 5.56%

and departments continue to strengthen the upgrading and transfor- grid, and can provide reference for short-term forecasting of power
mation of regional distribution network, especially in strengthening grid in the region to a certain extent. The specific results are shown
industrial distribution network. Relationship between peak load in Table 1
and maximum temperature. The relationship between peak load
and maximum temperature is most obvious in summer. Generally 5 CONCLUSIONS
speaking, when the temperature increases in summer, the load
Although this paper studies the short-term load forecasting method
increases due to the operation of air conditioning and other cool-
and mechanism of smart grid, due to the one-sided data that may
ing equipment. With the decrease of maximum temperature, the
be collected, there are great deficiencies in the content of this paper.
peak load also decreases gradually. The short-term prediction of
With the rapid development of national economic marketization,
power grid load emphasizes the timeliness. Especially in the major
the standard for judging the reliable operation of power grid is get-
national day, festivals, large-scale events and other power peak
ting higher and higher, so it is particularly important to maintain
short-term prediction is particularly important. In addition, the re-
the balance between supply and demand of power system. Power
search shows that due to the short-term prediction time and small
system load forecasting is an important basic work to maintain
environmental error, the accuracy of the results is relatively high.
the balance of power supply and demand, and its importance has
The effect of short-term load forecasting is more obvious than that
long been valued by industry experts. It plays a more and more
of medium and long-term forecasting and short-term forecasting.
important role in power consumption, planning and dispatching
In the selection of classification and recognition algorithms, this
of power grid system and ensuring safe and high-quality electric
paper compares bprb xgboost algorithm and elmanrb xgboost al-
energy. The result of power load forecasting is the basis of eco-
gorithm. Through specific theoretical and experimental analysis,
nomic dispatching and power market operation, and the level of
elmanrb xgboost algorithm has achieved good expected results in
power system load forecasting has gradually become an important
classification and recognition. In addition, the comparative analysis
symbol to measure whether a power related enterprise is moving
between the above algorithm and the current power grid prediction
towards modernization. Based on this factor, this paper discusses it
system in this area shows that, Elmanrb xgboost algorithm has
from both macro and micro aspects. There are still many steps to
good characterization ability in daily load forecasting of power
study the current RB xgboost algorithm, which can not be involved

1477
Short Term Load Forecasting Method of Smart Grid Based on RB XGboost Algorithm AIAM2021, October 23–25, 2021, Manchester, United Kingdom

because of space and personal ability. In addition, the practical ap- [4] Donaldson, A. L. Pre-Professional Training for Serving Children With ASD: An
plication effect of the relevant experiments of smart grid short-term Apprenticeship Model of Supervision[J]. Teacher Education & Special Education,
2015, 38(1):58-70.
load forecasting method can only be compared with the traditional [5] Lamis D A, Underwood M, D’Amore N. Outcomes of a Suicide Prevention Gate-
model from the level of theory and simulation. keeper Training Program Among School Personnel[J]. Crisis, 2016, 38(2):89-99.
[6] Nelson J, Bennewitz L. Special Education Teacher Training and Knowledge of
Behavior Assessment and Intervention Practices[J]. Estuarine Coastal & Shelf
REFERENCES Science, 2015, 81(4):544-554.
[1] A, M, Baikulova, et al. The System of Development Programmes on Pre-School [7] James, Q, Affleck, et al. Expanding the Resource Concept: The Resource School[J].
and School Education in the Republic of Kazakhstan[J]. Interchange, 2016, Exceptional Children, 2016, 39(6),18-23.
48(2),13-15. [8] Moshe A. Inclusion Assistants in General Education Settings - A Model for In-
[2] Prof. Dr. Hüseyin Uzunboylu, Gundogdu E G. A Content Analysis Study on service Training[J]. Universal Journal of Educational Research, 2017, 5(2):209-216.
Pre-School Education and Instructional Technologies[J]. International Journal of [9] Sandra, B, Ward, et al. An Investigation of Intervention Assistance Teams at a
Innovative Research in Education, 2018, 5(4):119-128. Preservice Level[J]. School Psychology International, 2016, 19(3):279-286.
[3] Sandra, B, Ward, et al. An Investigation of Intervention Assistance Teams at a [10] Kumral O, Sahin A. Farabi Exchange Program in Higher Education with its
Preservice Level[J]. School Psychology International, 2016, 19(3):279-286. Purpose and Functionality: An Investigation through the Eyes of Pre-service
Teachers[J]. Journal of Higher Education and Science, 2017, 7(1):41-42.

1478

You might also like