Research on a Location Method for Complex Voltage Sag Sources Based on Random Matrix Theory

,e precise location of voltage sag sources plays an important role in formulating a voltage sag governance plan and clarifying the responsibility for the accident. ,e traditional location method of voltage sag sources is difficult to establish a precise mathematical model and locate the complex voltage sag sources accurately in the complex distribution network. In order to solve these problems, a locationmethod for complex voltage sag sources based on randommatrix theory is proposed in this paper. Firstly, the augmentedmatrix is constructed based on the influence factor data and the operation state data of the distribution network as the data source matrix, and the statistical characteristics of each data are analyzed by using the randommatrix theory to determine the suspicious area of voltage sag source. ,en, the disturbance signal of each node in the suspicious area of voltage sag source is analyzed by using the atomic algorithm and disturbance active powermethod, and it can determine the location of each disturbance source in the complex voltage sag event and the cause of voltage sag at each node. Compared with the existing model-based methods, the proposed method in this paper is a datadriven approach, which does not need the physical model and topology information. Furthermore, it can reduce the amount of data and improve the analysis efficiency on the basis of determining the suspicious area of the voltage sag source. Finally, the examples are given to show that the proposed method can accurately locate the disturbance sources in complex voltage sag events.


Introduction
In the distribution network, the power quality problems caused by voltage sag occupy the majority, which are difficult to avoid and do great harm. With a large number of renewable energies, electric vehicles, and other flexible loads connected to the distribution network, the structure of the distribution network becomes more complex, and the factors affecting voltage sag become more complex. As a result, the consequence of voltage sag is more and more serious, and the range of influence is also larger and larger. If the problem of voltage sag cannot be dealt with timely and accurately, it will develop into a serious accident, which will lead to the continuous deterioration of the distribution network and even large-scale failure [1]. So, one of the most concerned problems of power system operators is how to diagnose the distribution network fault quickly and accurately. Unfortunately, the complex voltage sag events are a whole of single voltage sag events with causal spatiotemporal correlation at different locations and times, and these voltage sag processes overlap each other to form a complex voltage sag process. ese reasons make it more difficult to locate the voltage sag sources [2]. erefore, it is necessary to analyze and locate the origin event sources and the intermediate event sources when locating the complex voltage sag sources, which can provide theoretical support for the whole process of a comprehensive restoration of complex voltage sag events, and it has guiding value for the analysis of event consequences and event accountability.
At present, a lot of research works on the location of voltage sag sources have been carried out, which is mainly based on physical characteristics, including features' extraction and pattern recognition. e extraction of characteristics is to transform and reconstruct voltage sag signal through signal processing and mathematical statistics, including Fourier transform, Hilbert Huang transform, S transform, and wavelet transform [3]. Karimi et al. [3] suggested a method to analyze the voltage sag signal that is based on the frequency-domain characteristics of wavelet transform and singularity detection theory, which can reduce the computational complexity. However, it has the worse ability to resist noise, and its accuracy is greatly affected by harmonic, noise, and other interferences. Zhao et al. [4] proposed a method that establishes the location state estimation model by estimating fault location and fault resistance. However, it is difficult to establish an accurate and general mathematical model for complex time series data in the complex power grid. In [5], two new methodologies are introduced: improved distance relay (IDR) and improved current based method (ICBM). ese methodologies establish the evaluation index by using the threshold current, saturation current, and positive and negative power factor of the inverter of the distributed generation unit, which can well determine the position of voltage sag sources in the complex distribution network including the distributed generation, but this method still depends on the accuracy of the network structure model. At the same time, the process of characteristics' extraction will result in information loss, and the overcomplexity of the classification model also makes the shortcomings of existing methods increasingly prominent. e pattern recognition methods use the classification algorithm to design a classifier, which is used to determine the voltage sag source category of the disturbance signal, mainly including support vector machine, high-order spectral analysis [6], and neural network [7]. In [6], the classification of power quality disturbances is researched by using high-order spectral analysis. Reference [7] carried out a self-monitoring voltage sag source identification method based on the convolution neural network (CNN), and this method can not only identify the voltage sag source but also accurately determine the specific fault phase. With the development of artificial intelligence technology, the methods based on artificial intelligence and machine learning are gradually applied to the research of voltage sag source location. However, these methods have many problems, such as large demand data and a high-order model, and so on. In particular, these methods cannot deal with complex voltage sag events well. To solve the problem of complex voltage sag sources locating, [8] proposed a location method of voltage sag sources based on the division of disturbance regions, which can accurately locate the disturbance sources of complex voltage sag events and has a strong fault-tolerant performance. However, this method needs to analyze data of all of the detection points, and the process is complex.
In recent years, big data technology has been widely concerned. With the popularity of wide-area management system (WAMS) and phasor measurement unit (PMU) in the distribution network system, a large amount of information (including correct alarm information, wrong transmission information, repeated information, and irrelevant information) is obtained, which provides a reliable data for the application of big data technology in power system fault diagnosis. Also, some big data analysis methods are proposed for voltage sag source recognition. As a big data analysis method, random matrix theory (RMT) does not rely on the simplification and assumption of the physical model of the system, because it can extract effective information from a large number of data. Recently, it has achieved some results in a power system fault diagnosis. Considering that the occurrence of voltage sag is a Poisson process, [9] proposed a mathematical model describing the voltage sag process as a random process, which proves the randomness of the voltage sag process. It shows that the RMT method can effectively analyze the voltage sag process. In [10], the mean spectral radius evaluation index is established by using the single ring law in random matrix theory, and the operation state of the system is analyzed. Reference [11] investigated an evaluation method to identify the weak points of power grid accurately from a data-driven perspective, which is combined with high-dimensional random matrix theory and entropy theory. ese methods are used only to analyze whether there is a fault state in the power system, but how to locate the fault location is not involved. A fault time determination method based on the mean spectral radius index and a fault area localization based on data correlation analysis are proposed in [12]; they can effectively locate the fault location, but the cause of each fault source cannot be determined for complex fault cases. erefore, this paper proposes a new location method of complex voltage sag sources based on random matrix theory. Firstly, the fault state is identified by the random matrix theory, the augmented matrix is established by using the state data matrix and the influence factor matrix, and the potential area of voltage sag source is determined by using the mean spectral radius difference as the index.
en, according to the starting and ending time of basic events, the complex voltage sags are decomposed by the atomic algorithm, and the whole complex voltage sags are divided into segments in time sequence. According to the polarity of the disturbance energy in each segment, the disturbance event source in each segment is located to locate the voltage sag source accurately. Finally, the feasibility and correctness of the proposed method are verified by the simulation data of the IEEE 39-bus system through the PSCAD simulation platform. e results show that the random matrix theory can accurately determine the location of complex voltage sag sources. It should be pointed out that this method can help operators to determine the location of voltage sag source timely and accurately and can also explain the causes of voltage sag events of each node according to the location results of segments. e paper is organized as follows. Section 2 discusses the random matrix theory and big data processing method. e voltage sag source location method based on PMU data correlation analysis is presented in Section 3, including the method of determining the suspicious areas of voltage sag source and the location method of complex voltage sag sources. Section 4 includes simulation results. Finally, the paper is concluded in Section 5. e RMT can reflect the fluctuation characteristics of data by analyzing the correlation between data and can also map the physical system state through data characteristics. When the dimension of data is in tens or hundreds, some properties of random matrix are still convergent and have considerable accuracy, which provides a possibility for the random matrix theory to be used in practical engineering problems [13,14]. When the number of rows and columns of the random matrix tends to infinity, and the ratio of the number of rows to the number of columns tends to constant, the empirical spectral distribution (ESD) function of the random matrix will have certain characteristics, such as semicircle law, full-circle law, single ring theorem, and Marchenko-Pastur (M-P) law. e ESD function is often used to characterize the distribution of the eigenvalues of the random matrix in random matrix theory. For the p order matrix A, the ESD function is as follows [15]:

Random Matrix Theory and Big Data
where I(· ≤ ·) is an indicative function. If the inequality in parentheses holds, the function takes a value of 1; otherwise, it takes a value of 0.

Single Ring eorem.
Assume that X � x i,j is a p × n random matrix with non-Hermitian features, and it consists of independent random variables, where the mean E(x i,j ) � 0 and the variance δ 2 (x i,j ) � 1. e matrix Z � z i,j is obtained by quadrature of L the random matrix X, the matrix Z is subjected to standardization processing to obtain a standard matrix Z � z i,j , and each element satisfies with the mean E(z i,j ) � 0 and the variance δ 2 (z i,j ) � 1/N. When p, n ⟶ ∞ and the ratio y � p/n ∈ (0, 1], the ESD function of matrix Z satisfies the single ring theorem, and its probability density function is be expressed as follows [16]: where λ i is the eigenvalues of matrix Z. According to the characteristics of the single ring theorem, when the system is in a stable state, the eigenvalues of the matrix Z are roughly distributed in a ring with an outer ring radius of 1 and an inner ring radius of (1 − y) L/2 . When the system is stable, the effect diagram of the single ring theorem is shown in Figure 1.

M-P Law.
e sample covariance matrix is a statistic that is more commonly used in mathematical statistics and other areas of analysis system status.
e M-P law can describe the distribution of eigenvalues of the large-dimensional covariance matrix, and it has strong applicability. A p × n random matrix X � x i,j , where the mean E(x i,j ) � 0 and the variance δ 2 (x i,j ) < ∞. When p, n ⟶ ∞, y � p/n ∈ (0, 1], the ESD of the sample covariance matrix S � (1/N)ZZ H ∈ C p×p tends to the M-P law, and its probability density function is as follows [17]: λ is the covariance matrix eigenvalue.
When the system is stable, the effect drawing of the M-P law is shown in Figure 2.

Linear Eigenvalue Statistic.
Linear eigenvalue statistic (LES) can describe the distribution of eigenvalues of the random matrix. For the random matrix X, its linear eigenvalue statistic is defined as follows [18]: where λ i (i � 1, 2, ..., p) is the eigenvalues of matrix X, and f(·) is a test function. Different test functions result in different linear characteristic statistics. Mean spectral radius (MSR) is a linear eigenvalue statistic commonly used in random matrix theory. e distance between the eigenvalue and the origin in the complex plane is used to reflect the distribution of the eigenvalues of the random matrix. It is defined as follows [19]: where L MSR is the value of MSR of the random matrix, and λ i (i � 1, 2, ..., p) is the eigenvalue root of the matrix. e operating state of the system is characterized by comparing the limits of the spectral radius between L MSR and the normal case.

Data Processing and the Random Matrix Establishing.
e PMU can acquire massive real-time operation data with spatiotemporal characteristics. Assume that there are n nodes in the distribution network system, all nodes are equipped with PMUs, and each PMU can obtain m state variables. At the sampling time t i , the measurement data of PMU can form a column vector which is formed as Arrange the measurement data of each sampling time into a matrix according to the time series, as shown in formula (7).
In order to realize the real-time analysis of the data, the PMU data is collected by the real-time separation window method. e raw data matrix X is obtained from the data matrix X by the real-time separation window, and the window size is N × T. After each sampling, the separation window is moved backward by a one time point, so as to realize the dynamic process of monitoring state variables. Since the different state variables of the monitoring data have different measurement units, and the data does not meet the requirement of the single ring theorem and the M-P law, it is necessary to standardize the raw data matrix X. e N × T non-Hermitian standard matrix X is obtained by equation (8) [20].
δ(x i ) and E(x i ) are the standard deviation and the mean of the standard matrix X, respectively, and δ(x i ) � 1, and E(x i ) � 0. δ(x i ) and E(x i ) are the standard deviation and the mean of the raw data matrix X, respectively. e singular value equivalent matrix of the standard matrix X is where U is a unitary matrix satisfying Haar distribution, and X u X u T � X X T . After performing the above processing, L-independent standard non-Hermitian matrices X u,i (i � 1, 2, . . . L) can be obtained, and the matrix product Z is obtained as follows: e matrix Z can be obtained according to where In addition, if the intercepted sample data has nonstationary conditions, the data should be differentiated and meet the requirements of stability.

Establishing Augmented Matrix.
In order to accurately locate the voltage sag sources, it is necessary to analyze the correlation between the distribution network state data and the influencing factors of each node. Utilizing the distribution network state data as the basic matrix and taking the influencing factors of each node as the augmentation part, the sate augmentation matrix is constructed together with the basic matrix and the augmentation part. e internal relationship between the distribution network operation state and the influencing factors of each node is explored by analyzing the augmented matrix. e operation state data can be composed of a variety of distribution network state data, such as node voltage amplitude and phase angle, injected active power and reactive power, and branch current. Data of influencing factors include the output of distributed power supply, node load, temperature, humidity, weather, and other data. Because the proposed method needs to determine the position of voltage sag source by data correlation, the data of influencing factors should have only the main measurements associated with voltage sags, such as the residual voltage, the time the voltage sags occurred, and their duration, and so on [21]. Assume that there are m nodes in the monitoring data of the distribution network. m c was selected as the state variable and m f as the influencing factors of each node. After t times of real-time separation window acquisition, the state variable data constitutes a basic state matrix B c ∈ C ((m×m f )×T) , and the influence factor data constitutes an influencing factor matrix B f ∈ C ((m×m f )×T) . In practice, the number of state variables is far greater than the number of influencing factors; that is m c ≫ m f .
For the purpose of reducing the influences of repeated data in the influencing factors matrix, it is necessary to process the matrix of influencing factors as shown in equation (12) [19]: where N f is the influencing factors matrix after processing. N is the random noise matrix, and N ∼ N(0, 1). g is the magnitude of the random noise.
It should be noted that the value of g should not be too large or too small, and if its value is too large, this will affect the accuracy of the factor matrix; if the value is too small, this will reduce the correlation of repeated data. erefore, it is essential to determine a suitable signal-to-noise ratio to get an appropriate g, and so as to ensure the consistency of the results, the signal-to-noise ratio should take a constant value. e definition of SNR can be expressed as follows [11]: where SNR represents the signal-to-noise ratio.
is an element of the factor matrix. e state data matrix and influencing factors matrix are constructed as state augmented matrix, which can be represented as follows: In addition, the reference state augmentation matrix is constructed by the state data matrix and the random noise matrix, and the influence of the correlation between the data can be eliminated by comparing it with the state augmentation matrix and the state data matrix. e reference state augmentation matrix is formed as

e Method to Determine the Suspicious Areas of Voltage
Sag Source. For the sake of locating the voltage sag sources, it is necessary to analyze the correlation between the influencing factors of each node and the system state matrix. e MSR is used as the index of correlation analysis for matrix data. In order to eliminate the interference caused by the repeated data in the state data and the influencing factors, the difference of the MSR of the augmented matrix is defined as an index, and the formula is shown in where k � m(m c + m f ).
where t 0 and t are the starting and ending time of the realtime separation window, respectively. e Q MSR (t) can be used to characterize the degree of correlation between different influencing factors and the state data. When the distribution network operates stably, the critical value of the difference of mean spectral radius is d MSR.0 (t)(d MSR.0 (t) is a reference value, which is determined by realities). If d MSR (t) > d MSR.0 (t), the influence factor of the node is related to the system disturbance; then, all the values of Q MSR (t) are sorted from big to small. If the value of Q MSR (t)is larger, the corresponding buses or lines are more likely to be the area where voltage sag sources exist.

e Location Method of Complex Voltage Sag Sources.
In order to accurately locate the position of the complex voltage sag sources, the disturbance data in the fault area is analyzed by the atomic algorithm and the method of disturbance active power (DP) and the disturbance energy (DE). e analysis process mainly includes two parts: the basic voltage sag event segmentation method and location method of disturbance event source in each segment.

Basic Voltage Sag Event Segmentation Method.
e complex voltage sag disturbance signal contains multiple basic events, and there are chain-type relationships, development-type relationships, parallel-type relationships, or multiple mixed-type relationships between basic events. e atomic decomposition algorithm has a good application in dealing with this composite, overlapping, segmented, and mixed data signal [22]. In the atomic decomposition algorithm, a complete atomic database is constructed. According to the characteristics of the signal, a set of best-matching atoms are adaptively selected in the highly redundant atomic database by search algorithm, and the signal is represented by a set of best-matching atoms to achieve sparse signal decomposition. e matching pursuit algorithm is commonly used in signal sparse decomposition [23].
Assuming that f is the analyzed signal, D � g r Γ is a complete atomic database, Γ is the set of values of r, and all atoms are normalized; that is ‖g r ‖ � 1. After the j th decomposition, the search algorithm finds the best matching atom g r,(j−1) from the complete atomic database with the original signal or the current residual signal, and g r,(j−1) should satisfy where 〈f, g r 〉 is the inner product of f and g r . e best matching atom g r,(j−1) is extracted to get the residual signal R After n iterations, the residual signal R n f is ignored, and the original signal f can be represented as a linearly expanded form of n atoms.

Mathematical Problems in Engineering
In each iteration process of the matching pursuit algorithm, a matching atom closest to the signal which is to be decomposed can be obtained by searching all the atoms in the complete atomic database. Usually, the main components of the signal can be represented by a few matching atoms.
e flow chart of the basic event detection for complex voltage sag events using the atomic decomposition algorithm is shown in Figure 3.
rough signal decomposition, the correlation and causal relationship of each basic event in the data record of the voltage sag event can be obtained. According to the starting and ending time of each basic event, the basic voltage sag event segmentation method is divided into the following steps: Step 1. e basic events detected are represented in the phase-time diagram.
Step 2. According to the distribution of the occurrence time of each of the basic events in the three-phase signal data, search for the starting and ending time of each disturbance event, and establish a three-phase starting and ending time set.
Step 3. e starting time and ending time of each phase are combined to establish a set of critical moments. Because there will be some error in the process of basic event detection, if the difference between the values of multiple starting and ending times is too small, it can be regarded as the same time.
Step 4. e three-phase voltage waveform records are divided into segments by using the critical values in the three-phase critical time set.
For a simple voltage sag event, the relationship between the events caused by the voltage sag source is relatively simple, so only one basic event is included in the segment. However, there are multiple basic events in the segment for complex voltage sag events.

Location Method of Disturbance Event Source in Each
Segment. After dividing the basic segments of the complex voltage sag event, firstly, the direction and location of the basic event sources are determined based on the method of DP and DE within each segment. en, the circuit in which voltage sag events occur is regarded as a result of the interaction of power sources and each disturbance event sources in the system. And the superposition principle is used to analyze each segment and determine the location of each basic disturbance event source relative to the monitoring point. According to the analysis of each section, the location of the disturbance source of the most serious basic events affecting the voltage and current of the monitoring point is determined. And the complete process of complex voltage sag events can be recorded according to the result of the location of the voltage sag source in the segment [24].
When the voltage sag event occurs, the phase voltage or current of each monitoring point in the suspicious area of the voltage sag source can be divided into the sum of the steady-state component and the disturbance component. e voltage and current components generated by the voltage sag source in the i th segment can be obtained as shown in formula (21), respectively: where u p.i and i p.i represent the voltage and current steadystate components produced by all system power supplies in segment i. u i and i i represent the total voltage and total current of the segment i, that is, the instantaneous voltage and current values at the corresponding time.
e three-phase instantaneous power in this segment can be expressed: en, the disturbance power can be obtained as shown in (23): By integrating the disturbance power DP i , the disturbance energy DE i of the segment i can be obtained; namely, When the DE i symbol is positive, this basic disturbance event source is located upstream of the monitoring point; when the DE i symbol is negative, it is located downstream of the monitoring point.
ere may be an action of multiple basic event disturbance sources in a segment. If the location results of the segments in the monitoring point are consistent, this indicates that the monitoring point is affected by the basic

Simulation Experiment Analysis
Based on the PSCAD simulation platform, the IEEE39-bus system is built as a simulation example. e corresponding short-circuit fault is set to simulate the voltage sag event, voltage sag data is obtained by simulation, and the validity of the proposed method is verified by analyzing voltage sag data. e analysis of the examples mainly includes three parts: the system operation state verification, the method for determining suspicious areas where the voltage sag source is located, and the verification of the location method of complex voltage sag sources. e structure diagram of the IEEE39-bus system built by the PSCAD simulation platform is shown in Figure 4.

e System Operation State Verification.
A three-phase short-circuit fault occurs on line 3-4 close to bus 3 in the IEEE39-bus system, and the simulated bus voltage data is taken as the system state data. e program of single ring theorem and M-P law is written with Python language. e changes in system state data before and after the fault under the single ring theorem and M-P law expression are shown in Figures 5 and 6.
It can be seen from Figure 5(a) that the characteristic roots of the system state matrix are distributed between the outer ring and the inner ring when the system is before the fault, which conforms to the single ring theorem. Some of these points are distributed outside the outer ring, which may be caused by bad data, and have no influence on the result of the single ring theorem. In Figure 5(b), when the system is at fault time, the characteristic roots are concentrated in the inner ring, and most of the characteristic roots are concentrated at the center of the circle. And the single ring theorem of the system state matrix is no longer satisfied. It can be seen from Figure 6(a) that before the fault, the characteristic roots of the covariance matrix of the system state data matrix satisfy the M-P law, the spectral distribution histogram is evenly distributed, and the characteristic roots are distributed between the two limits. In Figure 6(b), when the system is at fault time, the characteristic roots of the covariance matrix do not satisfy the M-P law, and the distribution of the histogram of the spectral distribution is not uniform. e eigenvalues appear abnormally large eigenvalues, and the probability density is abnormally large when the eigenvalues are close to zero. e single ring theorem and the M-P law can clearly reflect the operating state of the system at a certain moment.

e Method of Determining Suspicious
Areas. In the simulation system, d MSR.0 (t) � 0.1. A three-phase shortcircuit fault occurs on line 3-4 close to bus 3 at t � 5 s, and the fault is cleared at t � 5.5 s. e voltage data of all bus is used to construct the state data matrix, and the voltage value of each bus is used to construct the influencing factor matrix. e size of the real-time separation window was taken as 39 × 50. According to the proposed voltage sag source location method, the state augmentation matrix and the reference state augmentation matrix can be established, and the values of d MSR (t) and Q MSR (t) of each matrix can be obtained. e changes in d MSR (t) and Q MSR (t) are shown in Figures 7 and 8.
It can be seen from Figures 7 and 8 that at t � 5s, the d MSR (t) corresponding to the buses 3, 4, 5, 14, and 18 is obviously greater than the critical value d MSR.0 (t), and the value of Q MSR (t) corresponding to these buses is larger than that of the other buses, which indicates that the voltage sag sources have a great influence on these buses. e area of those buses is a more likely suspicious area of the voltage sag source.
In order to further explain that the voltage sag source is located in the area of buses 3, 4, 5, 14, and 18, the voltage variation of the system is analyzed. e unit value change diagram of system voltage is shown in Figure 9.
In Figure 9, the voltage sag o occurs at t � 5 s. e voltage variation results of buses 3, 4, 5, and 18 are more serious than those of the other buses. erefore, this voltage sag source has a higher impact on these buses, and bus 3 and bus 4 should be closer to the location of the voltage sag source than the other buses. e results of the example show that the indicators using d MSR (t) and Q MSR (t) can well determine the suspicious areas where the voltage sag sources are located.

Verification of the Location Method of the Complex
Voltage Sag Sources. A three-phase short-circuit fault occurs on line 1-2 close to bus 2 at t � 5 s, and the fault is cleared at t � 5.5 s. Moreover, a three-phase short-circuit fault occurs on line 3-4 close to bus 3 at t � 5.2 s, and the fault is cleared at t � 5.7 s. e simulation data is analyzed according to the method of determining the suspicious area where the voltage sag sources are located, and the curve of voltage variation per unit, the variation curve of d MSR (t), and the distribution of Q MSR (t) of each bus are got as shown in Figures 10-12.
As can be seen from Figure 10, when multiple voltage sag events occur in the system, the system voltage changes will become more complicated. In Figure 11, since the two voltage sag sources appear simultaneously in the system, the variation curve of d MSR (t) of complex voltage sag events is more complicated than that of the single voltage sag source, and the influence of the two voltage sag sources on each bus at different times is very different. In Figure 12, it can be seen that in the complex voltage sag event, the Q MSR of buses 1, 2, 3, 4, 5, 14, 18, and 25 are larger than those of the other buses, indicating that voltage sag sources are more likely to exist in the area of these buses, but it is difficult to determine the exact location of the two voltage sag sources, and it is impossible to determine the impact of the two voltage sag sources on each bus.
Based on the suspicious areas where the voltage sag sources located, the location method of the complex voltage sag sources proposed in this paper is used to analyze the bus voltage and bus current data of buses 1, 2, 3, 4, 5, 14, 18, and 25. According to the three-phase voltage disturbance data of  each bus in the voltage sag period, the time distribution diagram of the basic event is established. Since all fault types are three-phase short-circuit fault, which are symmetric faults, the three-phase segments of each bus are basically consistent; therefore, one of the phases is used to obtain the diagram of event segment division for each bus as shown in Figure 13.
As shown in Figure 13, bus 2 has a small segment at 5.7 s, which may be a voltage swell segment caused by the transformer connected to bus 2 after all faults are restored, and buses 3, 4, and 5 are the same as bus 2, which have a small nonfaulty voltage swell segment at 5.7 s caused by the transformer. Bus 14 and bus 18 have only two segments, and the long segment occurs at 5.2 s, indicating that a voltage sag source has a much higher impact on bus 14 and bus 18 than the other voltage sag sources.       Table 1 gives the starting and ending times of the voltage segments of each bus and the results of the disturbance location of each segment, where the symbol "↑" indicates that the disturbance source is located in the upstream direction of the bus, the symbol "↓" indicates that the disturbance source is located in the downstream direction of the bus, and the symbol "-" indicates that the disturbance segment does not exist.
As shown in Table 1, the results of the location of all disturbance event segments are the same for bus 1, so all voltage sag sources are located upstream of bus 1. For bus 2, the location results of all disturbance event segments show that voltage sags are located downstream of bus 2. Similarly, the results of the location of all disturbance event segments for buses 4, 5, 14, and 18 indicate that all voltage sag sources are located upstream of these nodes. e voltage sag sources are located downstream of bus 25. For bus 3, the results of the location of disturbance segments are different, which means that bus 3 is affected by multiple voltage sag sources in different directions. In segment 1, it can be judged that there is a voltage sag source in this period according to the location results, and this voltage sag source should be located on line 2-3 or line 2-1. In segment 2, because the result of the location for bus 3 is changed, it can be concluded that another voltage sag source begins to affect the system at 5.2 s, and the voltage sag source should be located on line 3-4. is is similar to the result of the set simulation example. erefore, the location of voltage sag sources can be determined more accurately by dividing the complex voltage sag events into the basic disturbance event segments and analyzing the result of the location of all disturbance segments.
In addition, as can be seen from Table 1, buses 1, 14, and 18 have only two segments, the starting and ending time of segment 1 of bus 1 is 5.004 s-5.505 s, but the starting and ending time of bus 14 and bus 18 is 5.004 s-5.200 s, which means that the first voltage sag source has a greater influence on bus 1 than the second voltage sag source, and the influence of the first voltage sag source on bus 14 and bus 18 is less than the second voltage sag source. For bus 3, the first voltage sag source at 5.504 s-5.201 s is affected; the second voltage sag source begins to affect the system, and this voltage sag source has a greater impact on bus 3 after 5.2 s. erefore, the second voltage sag source is closer to the position of bus 3. Analyzing the starting and ending time of each bus's disturbance segments, we can obtain the main cause of the voltage sag of the bus in a certain period of time. is method can be used as a support for analyzing the consequences of the voltage sag event and the accountability of the voltage sag event.

Conclusion
In this paper, a new method is proposed to locate the complex voltage sag source, which is based on random matrix theory and traditional disturbance power and disturbance energy method. Utilizing the single ring theorem and M-P law of random matrix theory, the grid operation state can be judged obviously at a certain time, and the correlation between the data of the state augmentation matrix is analyzed by the mathematical statistics method to determine the possible area of voltage sag source. On the basis of judging the suspicious area where the voltage sag sources are located, the sequence division method and the disturbance power and the disturbance energy method are combined to analyze the data of each bus in the suspicious area, thereby accurately determining the location of each voltage sag source in the complex voltage sag source event. e proposed method is not limited to the model structure and the operation mechanism of the distribution network and can improve the accuracy of sag source location with fewer data.
For the location problem of complex voltage sag sources, further research is needed. For example, in the timing sequence division method, the matching pursuit algorithm will have a large computational problem in the analysis process, which is not conducive to the online analysis of the voltage sag disturbance signal, and can be optimized by the combination of the optimization algorithm and the matching pursuit algorithm which improves the calculation speed while ensuring accuracy. In addition, for the complex distribution network system, we can consider the reasonable division of the large power grid and then use the method in this paper to analyze each subnetwork.

Data Availability
e data used to support the results of this study are obtained from PSCAD simulation. e authors can provide relevant data to support the results of this study upon request.

Conflicts of Interest
e authors declare that they have no conflicts of interest.