A Deep-Learning Approach to Load Modeling in Modern Power Distribution System

ABST�CT: Modern Power Distribution Networks (MPDNs) are no longer passive, because Distributed Generations (DGs) are integrated in them to enhance system reliability and power quality. For this reason, load modeling has to be updated to capture the new dynamics of active DNs. �is paper presents a composite load modeling for a grid-connected photovoltaic (PV) distribution network using Levenberg-Marquardt algorithm in deep learning feed forward neural network approach. Load modeling is a process of constructing a relationship between input excitation(s) and its output response(s); it can be used for simulation studies, stability analysis, and or control/protection design. A grid-connected PV distribution network was model in Matlab/Simulink and generates data for training and model estimation. �e estimated model was tested and validated using laboratory experimental test bed. Results of the model exhibit a good �tness of 99.8% and 97.2% in active and reactive power models respectively during training. While, 97.84% and 94.65% respectively were obtained during testing. �e estimation errors were found to be 0.0025 and 0.0049 for active and reactive powers respectively with 0.0473 and 0.0701 corresponding errors in testing.


INTRODUCTION
Load modeling and identi cation is a science of developing a mathematical relationship between load excitation (voltage/frequency) and load response (active and reactive power consumed) of a typical load Bus of interest [1]. Power systems consist of three different branches; Generators, lines, and loads. Diverse models of generators are searched with a high level of precision, likewise transmission lines, but due to varied nature of power system loads, time and different disturbances affecting distribution lines as well as innovation of new types of loads, Load Models (LMs) need to be search and formulated for more understanding and accuracy [2][3][4]. In power system stability studies, simulation, monitoring, control, and protection exact LMs are required. If the load model failed to represent the actual behavior of the loads the intended application of the model will certainly unperformed, thereby leading to unexpected behavior of the system [5][6][7]. ere are two available approaches used in handling load modeling of a power system; componentbased which requires a deep understanding of individual loads connected to a load Bus of interest, formulate and aggregate the models. e second approach is measurements based which make use of measurement sensor to extract data. e measurement-based is easier than the componentbased because Distribution Networks (DNs) are now becoming more complex than ever before, so componentbased will be difficult in such a situation. Additionally, advanced measurement devices are readily available nowadays. Loads can be classi ed as static, dynamic and a combination of the two (i.e. composite) [8,9]. A static load is one with xed characteristics such as lightings and resistive loads, they are normally represented by constant impedance, constant current, and constant power (ZIP). While a dynamic load has a varying characteristic, it is normally represented by Induction Motor (IM). e composite load model combines the two and it is o en more realistic in DN representations. Details of these classi cations can be obtained in [3]. In this paper, a composite load based measurement approach is chosen for the reasons outlined above. A search for the best NARX candidate to handle the nonlinearity and dynamic nature of loads in active DN was carried out with data generated from a model of a North American Distribution network connected with PV. In validating the work, a laboratory equivalent network was set up and obtains data which was used for validation. In recent works, Zhang, Lu [10] investigate load modeling accuracy based on an ambient signal generated by PMU, the authors realized that results of ambient signals-based load modeling are more sensitive to PMU data errors for the least disturbance issue of the signal. Measurements error of PMU data were acquired through experiments and the impact of those errors are analyzed on the load model. e results suggested that unintentional errors have more impact on the precision of models. e work concludes that PMU measurements are capable of producing a good model. In the work of Massucco, Mosaico [11], a Markov chain technique was used to accurately established a load model, based on large data available with the recently advanced metering infrastructure. e fact that loads is dynamic and depends on-time duration of day and year a large data can give more information on the load dynamics which recent literature did not address. A clustering technique was applied to the data and later load models were developed. e results of the model were validated through experiment and comparison with dynamical Clustering and k-Means to ascertain the accuracy and computational time. Alahmed and Almuhaini [12], presents results of a residential load composition based on the top to down and bo om to up approaches of a case study of SCADA system of the eastern province in Saudi Arabian Power Company. Details of the residential load data were captured for the whole year and consumptions based summer and winter periods were analyzed for hourly and daily periods. e objective of this paper is to model Grid-PV and develop a Load model based Grid-PV as the DNs are transforming from passive to active so the load modeling needs to follow the trend. In addition, a practical setup was made to authenticate the model accuracy. is paper is organized as follows: section two brought step-by-step methods followed in actualizing the aim of the paper; in section three results and discussion are provided while conclusions are drawn in section four.

METHODOLOGY
To achieve the aim of this work, a step by step process was carried out as indicated in gure 1. Load modeling follows a sequence of experimental design and measurements, model selection, model estimation, and model validation. e process is iterative in the sense that several training/estimation, model selection, and even data regeneration had to be done to have a generalized acceptable model of interest. Figure 1 indicates a owchart used for the load model.

a. Experimental Design and Data Collection
Model of grid distribution network with 50kW solarbased DG incorporated was developed in MATLAB/ Simulink. e grid includes two 25-kV feeders, loads, a grounding transformer, and an equivalent 10-kV distribution system. To transform the load bus to composite, an induction motor, and static load were connected in parallel in addition to a DG connected to the bus. By doing so, the DN is transformed from passive to active and from static load to a composite load. e Simulink model can be seen in Figure 2. Voltage disturbance was created and cleared during the simulation, and samples of 1000 measurements were generated from the Simulink model within 10-step time window at a sampling time of 0.01 sec. e data were stored in excel les ready for model selection and training. In model selection, emphasis is given to which algorithm/model structure will give an accurate result based on the data presented to the network. In a nonlinear situation, the choice is directed by behavior and structural aspect of the system [13]. Since power systems loads are known to be nonlinear and our focus in this paper is on active distribution network operating under disturbance conditions, deep learning NN based on Feed Forward (FFNN) was selected. NN is a brain-based mathematical model that learns from experience rather than programming. It is very capable of mapping the nonlinear relationship between input and output of a classic DN.

c. Model Estimation
With input-output data at hand, the target is to estimate a model of the load P e and Q e that describes the actual output more closely. In this case, the measured input is voltage magnitude V m and the outputs are real power P m and reactive power Q m . e objective functions are:

Applied Materials and Technology
e accuracy of the estimation is measured by percentage tness and error minimization of the model. Equations (3) and (4) described the measure of error that is targeted to be zero. error = measured -estimated e performance of the model can also be evaluated by measures of percentage tness. is index can be express as: Once a good model is developed, it can then be used to represent the system in analysis and control. e unknown relationship between the input and the output of equations (6) and equation (7) can be derived from the system response. A difficulty of estimation/ training is in obtaining the correct regressors, algorithm, neurons, delays, layers, and type of network con guration in case of deep learning NN modeling. FFNN was designed with ve layers of 40 neurons in each layer, train, and estimated using the Levenberg-Marquardt algorithm. is was achieved through training/retraining and searching until an acceptable error is obtained.
where: P and Q are active and reactive powers consume by the load as a result of a dynamic input voltage (V).
In this case, the synchronous generator serves as the grid supply while the white cable in gure 4 is the PV supply to the synchronization panel. A composite load consisting of Resistive, inductive, and an induction motor was connected to the output of the panel and applied different load switching to emulate a real DN. Data were generated, retrieved and presented to the deep FFNN for testing/ validation.

RESULTS AND DISCUSSIONS
Performance of the proposed FFNN based load model for representing the dynamic behaviors of Grid-connected PV distribution network is presented and evaluated using simulated data and experimental data.
a. Result of the Training e voltage dynamic obtained from simulation is depicted in Figure 5; it was used as input in training the model. It can be seen that voltage disturbance happens at 0.5 sec and recovered at 1sec, leading to a corresponding response in the active and reactive powers of the system as indicated in gures 6 and 7. A er recovery, the system continues to uctuate up to the 10 seconds of the recording. ese dynamics are due to the natural uctuation of the system. It can be observed that the trained model has ed the measured values very closely in both Active and reactive powers response. is is an indication that good learning has been achieved by the FFNN model. Table 1 summarized the numerical performance of the training in terms of MSE and % tness. From the table, it is clear that the active power response is more accurate than the reactive power by 2.61% tness and 48.98% error reduction. is is because the nonlinearity between the input and output power is more in the reactive data than that of active. is indicates that, the voltage dependency on real power is glarier. e active power is seen to be greater than the reactive, this is solidly depends on the nature of the load connected to the system. To verify the good performance of the trained model a new data based on the experimental setup was presented to the trained model and performance responses were given in gures 8, 9, and 10. e dynamics of the data, in this case, change faster than that of the Simulink data generated, and therefore the accuracy is less. However, good and acceptable results were obtained as seen in Table 2.  e work, focus on composite load modeling using deep learning approach for a grid-connected PV distribution network. Modern distribution networks are said to be active rather than passive, such that DGs are connected to them for power quality enhancement. e model developed exhibits a very good performance as the mean squared errors are very close to zeros. In testing the performance of the model, the mean squared errors obtained are higher than those obtained in training indicating that the experimental data dynamics and nonlinearity are also higher. In both training and testing, the active power model performs be er than the reactive power model. is shows that the voltage dependency is more on the active power component of the load. To this extent, it can be said that the Grid-connected PV load model based on deep FFNN has been developed, tested, and validated.