Voltage sag evaluation method, system, equipment and medium
By constructing the distribution network topology identification data set and combining the XGBoost model and Monte Carlo simulation method, dynamically evaluate the temporary drop in the distribution network voltage, solving the problem of inaccurate evaluation in the existing technology, and improving the accuracy and adaptability of evaluation .
Patent Information
- Application Number
- CN202411113806.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-08-14
AI Technical Summary
The existing voltage drop evaluation method fails to effectively consider the real-time changes in the distribution network topology and the impact of large-scale distributed power access on short-circuit current calculation, resulting in inaccurate evaluation results.
By establishing the distribution network topology data set and measurement data set, the topology identification initial data set is constructed, and the topology structure is dynamically identified by using the XGBoost model to obtain the real-time node association matrix, combining the short-circuit iteration calculation method under sequence coordinates and Monte Carlo simulation method calculates the temporary drop in the fault voltage of each node in the unbalanced distribution network containing the inverse-type power supply.
It improves the accuracy of voltage drop evaluation, adapts to the changes in the distribution network topology and the impact of distributed power supply access, and reduces calculation errors.
Smart Images

Figure CN118889435A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of distribution network operation evaluation, and in particular to a voltage sag evaluation method, system, device and medium. Background Art
[0002] Distribution network topology identification is an important task to ensure the safe and stable operation of the power system. It can provide topological data basis for the voltage sag assessment of the distribution network and is the basis for conducting distribution network system analysis. Voltage sag refers to the phenomenon that the effective value of the power frequency voltage at a certain point in the power system temporarily drops to 10%~90% of the rated voltage and lasts for 10ms~1min, and then returns to normal levels.
[0003] In the context of new power system construction, the frequency of changes in the distribution network topology increases due to power generation planning, load distribution, economic operation, etc. The access of various distributed generation (DG) also makes the distribution network topology more complex. At the same time, the access of large-scale DG makes the power quality problem of the distribution network more prominent on the one hand, and on the other hand, large-scale DG is connected to the grid through power electronic devices, resulting in a significant difference in its fault current characteristics from traditional AC synchronous generators.
[0004] However, the existing voltage sag assessment method does not consider the impact of real-time topology changes on system parameters, and does not consider the impact of large-scale DG access on short-circuit current calculation, resulting in its assessment results being no longer applicable. The frequent changes in topology and the deviation in short-circuit current calculation will lead to inaccurate distribution network voltage sag assessment results. In summary, it is urgent to study a voltage sag assessment method that can adapt to DG access. Summary of the invention
[0005] The present application provides a voltage sag assessment method, system, device and medium, which are used to solve the problem of inaccurate assessment of distribution network voltage sag in the prior art.
[0006] In view of this, a first aspect of the present application provides a voltage sag assessment method, the method comprising:
[0007] Establishing a distribution network topology data set and a distribution network measurement data set, combining the distribution network topology data set and the distribution network measurement data set to construct a distribution network topology identification initial data set, and after preprocessing, obtaining a distribution network topology identification data set;
[0008] The XGBoost model is trained by using the distribution network topology identification data set to obtain a distribution network topology structure dynamic identification model;
[0009] Inputting the real-time monitoring data of the distribution network to be evaluated into the dynamic identification model of the distribution network topology structure to obtain a dynamic identification topology structure, thereby outputting a node association matrix corresponding to the real-time monitoring data;
[0010] Calculate a node admittance matrix and a node impedance matrix according to the node association matrix, and use the node admittance matrix and the node impedance matrix as power network parameters for dynamic evaluation of voltage sag;
[0011] The short-circuit iterative calculation method under ordinal coordinates is combined with the Monte Carlo simulation method, and the fault voltage sag amplitude of each node in the unbalanced distribution network containing inverter power supplies is calculated in an iterative manner, and the voltage sag is evaluated according to the fault voltage sag amplitude.
[0012] Optionally, the step of establishing a distribution network topology data set and a distribution network measurement data set further includes:
[0013] Importance evaluation is performed on features in the distribution network measurement data set, and features in the distribution network measurement data set are screened according to the importance to obtain a screened distribution network measurement data set.
[0014] Optionally, the short-circuit iterative calculation method under the ordinal coordinate is combined with the Monte Carlo simulation method, the fault voltage sag amplitude of each node in the unbalanced distribution network containing the inverter power supply is calculated in an iterative manner, and the voltage sag is evaluated according to the fault voltage sag amplitude, specifically including:
[0015] S51, setting the number of Monte Carlo sampling iterations, and establishing a random probability model of short circuit fault;
[0016] S52, simulating a short-circuit fault in the power grid based on a random probability model of the short-circuit fault, and constructing an inverter-type distributed power supply short-circuit calculation model for calculating power grid operation parameters, and constructing a distribution network line sequence component model according to the node impedance matrix;
[0017] S53, establishing a normal operating network according to the node admittance matrix, writing node voltage equations under ordinal coordinates, and writing fault boundary conditions according to the fault type corresponding to the fault point when a short circuit fault occurs in the power grid simulation;
[0018] S54, establishing a fault component network node equation in combination with the node voltage equation and the fault boundary condition;
[0019] S55, based on the fault component network node equation, iterate according to the given initial value of the distributed power source equivalent current source, and use the theorem to obtain the voltage of each node after the fault occurs in the power grid;
[0020] S56, determining whether the difference between the node voltage values of the two iterations meets the preset iteration accuracy, if not, returning to step S53, if yes, calculating the voltage sag amplitude of the fault according to the node voltage values of the two iterations;
[0021] S57, determining whether the number of sampling iterations reaches a preset value, if so, performing voltage sag evaluation according to the fault voltage sag amplitude, otherwise returning to step S52.
[0022] Optionally, the node voltage equation is expressed as:
[0023]
[0024] In the formula, is the node admittance matrix in ordinal coordinates, is the positive and negative zero-sequence voltage vector of each node in the normal operation network, are the positive and negative zero-sequence current vectors injected into each node.
[0025] Optionally, the fault boundary conditions specifically include: boundary conditions of a single-phase grounding fault, boundary conditions of a two-phase interphase short circuit fault, and boundary conditions of a two-phase grounding short circuit fault.
[0026] Optionally, the expression of the fault component network node equation is:
[0027]
[0028] In the formula, is the node admittance matrix in ordinal coordinates, is the voltage of the fault component network, are the positive and negative zero-sequence current vectors injected into node f.
[0029] A second aspect of the present application provides a voltage sag assessment system, the system comprising:
[0030] An establishing unit is used to establish a distribution network topology data set and a distribution network measurement data set, and to construct a distribution network topology identification initial data set by combining the distribution network topology data set and the distribution network measurement data set, and to obtain a distribution network topology identification data set after preprocessing;
[0031] A training unit, used to train the XGBoost model using the distribution network topology identification data set to obtain a distribution network topology structure dynamic identification model;
[0032] The identification unit inputs the real-time monitoring data of the distribution network to be evaluated into the dynamic identification model of the distribution network topology structure to obtain a dynamic identification topology structure, thereby outputting a node association matrix corresponding to the real-time monitoring data;
[0033] A calculation unit, used for calculating a node admittance matrix and a node impedance matrix according to the node association matrix, and using the node admittance matrix and the node impedance matrix as power network parameters for dynamic evaluation of voltage sag;
[0034] An evaluation unit is used to combine the short-circuit iterative calculation method under sequence coordinates with the Monte Carlo simulation method, calculate the fault voltage sag amplitude of each node in an unbalanced distribution network containing an inverter power supply in an iterative manner, and perform voltage sag evaluation based on the fault voltage sag amplitude.
[0035] Optionally, the evaluation unit is specifically used to:
[0036] S51, setting the number of Monte Carlo sampling iterations, and establishing a random probability model of short circuit fault;
[0037] S52, simulating a short-circuit fault in the power grid based on a random probability model of the short-circuit fault, and constructing an inverter-type distributed power supply short-circuit calculation model for calculating power grid operation parameters, and constructing a distribution network line sequence component model according to the node impedance matrix;
[0038] S53, establishing a normal operating network according to the node admittance matrix, writing node voltage equations under ordinal coordinates, and writing fault boundary conditions according to the fault type corresponding to the fault point when a short circuit fault occurs in the power grid simulation;
[0039] S54, establishing a fault component network node equation in combination with the node voltage equation and the fault boundary condition;
[0040] S55, based on the fault component network node equation, iterate according to the given initial value of the distributed power source equivalent current source, and use the theorem to obtain the voltage of each node after the fault occurs in the power grid;
[0041] S56, determining whether the difference between the node voltage values of the two iterations meets the preset iteration accuracy, if not, returning to step S53, if yes, calculating the voltage sag amplitude of the fault according to the node voltage values of the two iterations;
[0042] S57, determining whether the number of sampling iterations reaches a preset value, if so, performing voltage sag evaluation according to the fault voltage sag amplitude, otherwise returning to step S52.
[0043] A third aspect of the present application provides a voltage sag assessment device, the device comprising a processor and a memory:
[0044] The memory is used to store program code and transmit the program code to the processor;
[0045] The processor is used to execute the steps of the voltage sag assessment method as described in the first aspect according to the instructions in the program code.
[0046] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program codes, and the program codes are used to execute the voltage sag assessment method described in the first aspect.
[0047] It can be seen from the above technical solutions that this application has the following advantages:
[0048] The present application provides a voltage sag assessment method. Considering that the impact of changes in the topology of the distribution network on the node admittance matrix will reduce the applicability of the traditional voltage sag assessment method, the present application uses the XGBoost algorithm to perform topology identification through the collected data such as the distribution network node voltage and node injection power, and then dynamically updates the node admittance matrix in the voltage sag assessment process. Furthermore, after obtaining the node admittance matrix updated in real time in the distribution network, the short-circuit iterative calculation method in the sequence coordinate is combined with the Monte Carlo simulation method, and the voltage sag amplitude characteristics of each node in the unbalanced distribution network containing the inverter power supply are calculated in an iterative manner to reduce the calculation error and thus improve the accuracy of the voltage sag assessment. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 A schematic diagram of a flow chart of a voltage sag evaluation method provided in an embodiment of the present application;
[0050] Figure 2 A schematic diagram of a voltage sag assessment process based on the Monte Carlo method provided in an embodiment of the present application;
[0051] Figure 3 A schematic diagram of the structure of a voltage sag assessment system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0053] See also Figure 1 , a voltage sag assessment method provided in an embodiment of the present application includes:
[0054] Step 101: establish a distribution network topology data set and a distribution network measurement data set, construct a distribution network topology identification initial data set by combining the distribution network topology data set and the distribution network measurement data set, and obtain a distribution network topology identification data set after preprocessing.
[0055] It should be noted that with the development of smart distribution networks, Advanced Metering Infrastructure (AMI) and Phasor Measurement Unit (PMU) have become key measurement methods for distribution network operation data. Therefore, the present invention performs dynamic topology identification through information such as distribution network node voltage and node injection power collected by the AMI system and PMU.
[0056] In a specific implementation, step 101 includes the following steps:
[0057] (1) Distribution network topology data set:
[0058] Assume that the distribution network has m topological structures according to different states of sectional switches and tie switches, which correspond to m distribution network topological node association matrices. Therefore, according to the lines containing sectional switches and tie switches in the distribution network, the corresponding distribution network topological structures when the switches in the lines are in different open and closed states can constitute the distribution network topological structure dataset y. m .
[0059] (2) Distribution network measurement data set:
[0060] Assume that the distribution network contains n nodes. According to the voltage amplitude (V1~V n ), injection power (P1+jQ1~P n +jQ n ) can construct a distribution network measurement data feature dataset x nm .
[0061] (3) Distribution network topology identification dataset:
[0062] In summary, the load data of the same topological structure in the distribution network and its corresponding topological structure are merged into the topological identification data set of the topological structure, and then the initial data set D of the distribution network topology identification is established, and the Newton-Raphson method is further used to perform power flow calculation to preprocess the measured data. The specific formula is as follows:
[0063]
[0064] The constraints in power flow calculations include:
[0065]
[0066] Finally, the data set D used for distribution network topology identification can be expressed as:
[0067]
[0068] Where: x nm is the distribution network measurement data set; m It is a distribution network topology data set.
[0069] Furthermore, in one embodiment, the step 101 of establishing a distribution network topology data set and a distribution network measurement data set further includes: evaluating the importance of features in the distribution network measurement data set, and filtering the features in the distribution network measurement data set according to the importance, so as to obtain a filtered distribution network measurement data set.
[0070] It should be noted that in order to further improve the speed and accuracy of topology identification, it is necessary to evaluate the importance of features in the distribution network measurement data set and remove features with smaller contributions based on this. The feature screening process is as follows:
[0071] (1) Take the six features as input for XGBoost prediction and select the root mean square error (RMSE) R RMSE As a key parameter for evaluating feature importance, its expression is as follows:
[0072]
[0073] In the formula, n is the number of calculation results, R op,true,i represents the true value of the i-th operational resilience index, R op,pre,i Represents the prediction result of the i-th operating resilience index.
[0074] (2) Eliminate each feature in turn, that is, input five features for each regression prediction, so as to obtain the root mean square error R of the evaluation result after eliminating the i-th feature RMSE,i (i=1,2,···,6).
[0075] (3) The importance of each feature is calculated by the increment E of the evaluation result error after removing the feature. i To express, according to E i The contribution of each feature to the accuracy of operational resilience assessment can be obtained by sorting the size of each feature. The feature importance screening can be achieved by removing the feature with the smallest contribution. i The expression is:
[0076]
[0077] The distribution network topology recognition dataset D after feature screening is used as input and trained with the XGBoost algorithm to obtain a topology recognition model with better accuracy and algorithm speed. By inputting the real-time monitoring data of the distribution network, the topology structure can be dynamically identified, thereby outputting the corresponding node association matrix A=(a ij ),in:
[0078]
[0079] Where +1 indicates that the specified direction of the branch current is to flow out of the node; -1 indicates that the specified direction of the branch current is to flow into the node.
[0080] Step 102: Train the XGBoost model using the distribution network topology identification data set to obtain a distribution network topology structure dynamic identification model.
[0081] It should be noted that XGBoost is a Boosting ensemble learning algorithm that can effectively learn the relationship between the distribution network monitoring data features and the topological structure from sample data. As a serial decision tree model, the XGBoost model can be understood as a summation model of multiple decision trees, which can be written as:
[0082]
[0083] Where: K is the number of trees; is the set space of trees; f k is a function in the set space, which is used to characterize the correlation between the structure q of the kth tree and the leaf weight w.
[0084] The objective function of XGBoost is as follows:
[0085]
[0086] Where: The objective function mainly consists of two parts. The first half is the loss function, usually using y i and The square error between is used to describe the degree to which the model fits the data; the second half is the regularization term, which is used to control the complexity of the model. Further processing yields:
[0087]
[0088] The solution can be obtained When , the minimum objective function is:
[0089]
[0090] 80% of the samples are randomly selected from the distribution network topology identification dataset D as the training set, and the remaining 20% of the samples are used as the validation set. After training with the XGBoost algorithm, a model for dynamic identification of distribution network topology structure can be obtained.
[0091] Step 103: input the real-time monitoring data of the distribution network to be evaluated into the dynamic identification model of the distribution network topology structure to obtain the dynamic identification topology structure, thereby outputting the node association matrix corresponding to the real-time monitoring data.
[0092] It should be noted that the voltage sag assessment based on the Monte Carlo method requires the topological information of the distribution network. By inputting the distribution network data that needs to be evaluated for voltage sag into the trained XGBoost-based distribution network topology identification and prediction model, the topological structure of the distribution network can be obtained and used for dynamic evaluation of voltage sag.
[0093] Step 104: Calculate a node admittance matrix and a node impedance matrix according to the node association matrix, and use the node admittance matrix and the node impedance matrix as power network parameters for dynamic evaluation of voltage sag.
[0094] It should be noted that the dynamic identification of the node admittance matrix in step 104 specifically includes:
[0095] Assume that the power network has n nodes and L branches. For each branch, the equation can be written as:
[0096]
[0097] Where: I lk is the current of branch k; V Lk is the voltage drop of branch k; y Lk is the admittance of branch k.
[0098] The above formula can be written in matrix form as:
[0099]
[0100] Where: I l is the branch current column vector; V L is the branch voltage drop column vector; Y L is the branch admittance matrix.
[0101] The node admittance matrix Y and the node impedance matrix Z can be obtained by using the node association matrix and the branch admittance matrix through the following formula:
[0102]
[0103] In summary, the dynamic identification of power network parameters is achieved, which in turn provides data support for the subsequent dynamic evaluation of voltage sag.
[0104] Step 105, combining the short-circuit iterative calculation method in sequence coordinates with the Monte Carlo simulation method, iteratively calculating the fault voltage sag amplitude of each node in the unbalanced distribution network containing the inverter power supply, and performing voltage sag assessment according to the fault voltage sag amplitude.
[0105] In one embodiment, Figure 2 As shown, step 105 specifically includes:
[0106] S1051. Set the number of Monte Carlo sampling iterations and establish a random probability model for short circuit failure.
[0107] It should be noted that the step 1051 of establishing the random probability model of the short circuit fault needs to be explained as follows:
[0108] Short-circuit faults in the grid occur randomly. In order to better reflect the randomness of fault occurrence, a random probability model of short-circuit faults can be established to generate fault information and simulate a short-circuit fault that occurs randomly in the power grid.
[0109] (1) Selection of fault line:
[0110] In actual power systems, the incidence of multiple faults is relatively low, so only two states of the line are considered, namely, normal state and single fault state. In order to ensure that the number of times each line is selected is proportional to its fault probability, the starting line number for each sampling is also generated randomly in the algorithm, namely:
[0111]
[0112] Where: L is the number of lines; INT means rounding the result; μ1 obeys the uniform distribution in the interval [0,1].
[0113] (2) Determine whether the line is faulty
[0114] Generate a random number μ2 that follows a uniform distribution on [0,1], then:
[0115]
[0116] Where: P(l i ) is the probability of failure of line i.
[0117] (3) Determine the fault type
[0118] There are usually four types of short-circuit faults: single-phase ground fault (LG), two-phase ground fault (2LG), two-phase phase-to-phase fault (2L) and three-phase ground fault (3LG). Assuming that the random number μ3 obeys the uniform distribution of [0, 1], the corresponding fault type probability model is expressed as
[0119]
[0120] Where P 3LG , P 2L , P 2LG , P LG are the probability of occurrence of the corresponding fault type, generally considering P 3LG 5%, P 2L 5%, P 2LG is 10%, P LG It is 80%.
[0121] (4) Determination of fault duration
[0122] Generate a random number μ4 that follows a uniform distribution on [0,1]:
[0123]
[0124] Where: p t is the failure rate of transient failure, p p is the failure rate of permanent failure; according to the judgment result, the instantaneous failure rate or permanent failure rate is called and substituted into the calculation.
[0125] (5) Determine the line fault location
[0126] Generate a random number μ5 that follows a uniform distribution on [0,1], then:
[0127]
[0128] Where: L ij is the line distance, k is the fault point, L ik is the distance from the beginning of the line to the fault point; i, j represent the node numbers at the beginning and end of the line respectively.
[0129] S1052. Based on the random probability model of short-circuit fault, a short-circuit fault in the power grid is simulated, and an inverter-type distributed power supply short-circuit calculation model is constructed to calculate the power grid operation parameters, and a distribution network line sequence component model is constructed according to the node impedance matrix.
[0130] Regarding the construction of the inverter-type distributed power supply short-circuit calculation model in step 1052 for calculating the power grid operation parameters, it should be noted that:
[0131] When the IIDG adopts the low voltage ride-through control strategy of suppressing negative sequence current, its short-circuit calculation model is equivalent to a controlled current source and only the positive sequence network exists, as follows:
[0132]
[0133] In the formula, I IIDGis the amplitude of the positive sequence component of the IIDG fault current, φ is its phase angle, and α1 is the phase angle of the positive sequence voltage at the IIDG grid connection point; U IIDG(1) is the amplitude of the positive sequence voltage at the IIDG grid connection point after the fault, i d * 、i q * are respectively the active current command and reactive current command of IIDG during the fault period, i d0 It is the active power command value of IIDG before the fault.
[0134] Regarding the construction of the distribution network line sequence component model according to the node impedance matrix in step 1052, it should be noted that:
[0135] A multi-phase distribution network line sequence component model is established for the assessment of unbalanced grid voltage sag. The establishment steps are as follows:
[0136] If a line is a three-phase line, its sequence component impedance model can be established as:
[0137]
[0138] In the formula, the superscripts 1, 2, and 0 represent positive, negative, and zero sequence, respectively. ij 120 represents the impedance matrix between nodes i and j in the sequence coordinates, and the value of a is e j120° , T is the transformation formula from positive and negative zero sequence coordinates to three-phase coordinates, Z ij ABC It represents the impedance matrix between nodes i and j in phase coordinates, which can be expressed as follows in different cases:
[0139]
[0140] In the formula, Z ij kk is the virtual impedance, and its value can be calculated by the following formula:
[0141]
[0142] For other situations of single-phase line and two-phase line, establishing the virtual impedance of the missing phase is similar to the above two cases.
[0143] S1053, establish a normal operating network according to the node admittance matrix, write the node voltage equation under the ordinal coordinate, and write the fault boundary condition according to the fault type corresponding to the fault point when the short circuit fault occurs in the power grid simulation.
[0144] It should be noted that when writing the node voltage equation under the sequence coordinate in the normal operation network, the initial value of the node injection current connected to the inverter power supply can be set to the sequence current value before the fault. The equation written is as follows:
[0145]
[0146] Among them, Y 120 is the node admittance matrix in ordinal coordinates, U th 120 is the positive and negative zero-sequence voltage vector of each node in the normal operation network, I 120 is the positive and negative zero-sequence current vector injected into each node. The voltage vector corresponding to the i-th node can be expressed as: U th 120 (i) =[U i 1 , U i 2 , U i 0 ] T Similarly, the current vector injected into the i-th node can be expressed as I (i) 120 =[I i 1 , I i 2 , I i 0 ] T .
[0147] Assume that a fault occurs at node f, and then list the fault boundary conditions according to the fault type to solve the short-circuit current and voltage at the fault point.
[0148] The boundary condition equation for a single-phase ground fault is:
[0149]
[0150] The boundary condition equation for a two-phase short-circuit fault is:
[0151]
[0152] The boundary condition equation for a two-phase ground short circuit fault is:
[0153]
[0154] In the formula, z f is the transition resistance, , , are the positive, negative and zero sequence voltages at the fault point f, respectively. , , They are the positive, negative and zero sequence currents at the fault point f respectively.
[0155] S1054. Establish the fault component network node equation by combining the node voltage equation and the fault boundary condition. S1055. Based on the fault component network node equation, perform iteration according to the given initial value of the distributed power source equivalent current source, and use the theorem to obtain the voltage of each node after the fault occurs in the power grid.
[0156] In the fault component network, only the negative value of the fault current is injected at the fault point f, and the current injection amount at other nodes is 0. Then the node equation of the fault component network is as follows:
[0157]
[0158] After obtaining the voltage of the fault component network, the superposition theorem can be used to obtain the voltage of each node after the fault occurs in the power grid, as shown in the following formula:
[0159]
[0160] S1056, determine whether the difference between the node voltage values of the two iterations meets the preset iteration accuracy, if not, return to step S1053, if so, calculate the voltage sag amplitude of this fault based on the node voltage values of the two iterations.
[0161] It should be noted that those skilled in the art can preset the iteration accuracy according to actual needs, and no limitation is made here.
[0162] S1057, determine whether the number of sampling iterations reaches a preset value, if so, perform voltage sag evaluation according to the fault voltage sag amplitude, otherwise return to step S1052.
[0163] It should be noted that when the number of sampling iterations reaches the number of sampling iterations set in step 1051, a voltage sag assessment is performed based on the fault voltage sag amplitude. Those skilled in the art can perform a voltage sag assessment based on the fault voltage sag amplitude based on historical data or experience accumulated in their work, which will not be repeated here.
[0164] A voltage sag assessment method provided in an embodiment of the present application takes into account that the impact of changes in the topology of the distribution network on the node admittance matrix will reduce the applicability of the traditional voltage sag assessment method. The present application uses the XGBoost algorithm to perform topology identification through the collected data such as the node voltage and node injection power of the distribution network, and then dynamically updates the node admittance matrix in the voltage sag assessment process. Further, after obtaining the node admittance matrix updated in real time in the distribution network, the short-circuit iterative calculation method in the sequence coordinate is combined with the Monte Carlo simulation method, and the voltage sag amplitude characteristics of each node in the unbalanced distribution network containing the inverter power supply are calculated in an iterative manner, so as to reduce the calculation error and thus improve the accuracy of the voltage sag assessment.
[0165] The above is a voltage sag evaluation method provided in an embodiment of the present application, and the following is a voltage sag evaluation system provided in an embodiment of the present application.
[0166] See also Figure 3 , a voltage sag assessment system provided in an embodiment of the present application includes:
[0167] The establishing unit 201 is used to establish a distribution network topology data set and a distribution network measurement data set, and construct a distribution network topology identification initial data set by combining the distribution network topology data set and the distribution network measurement data set, and obtain a distribution network topology identification data set after preprocessing.
[0168] The training unit 202 is used to train the XGBoost model using the distribution network topology identification data set to obtain a distribution network topology structure dynamic identification model.
[0169] The identification unit 203 inputs the real-time monitoring data of the distribution network to be evaluated into the dynamic identification model of the distribution network topology structure to obtain the dynamic identification topology structure, thereby outputting the node association matrix corresponding to the real-time monitoring data.
[0170] The calculation unit 204 is used to calculate the node admittance matrix and the node impedance matrix according to the node association matrix, and use the node admittance matrix and the node impedance matrix as power network parameters for dynamic evaluation of voltage sag.
[0171] The evaluation unit 205 is used to combine the short-circuit iterative calculation method under the sequence coordinate with the Monte Carlo simulation method, calculate the fault voltage sag amplitude of each node in the unbalanced distribution network containing the inverter power supply in an iterative manner, and perform voltage sag evaluation according to the fault voltage sag amplitude.
[0172] Furthermore, an embodiment of the present application also provides a voltage sag assessment device, the device comprising a processor and a memory:
[0173] The memory is used to store program code and transmit the program code to the processor;
[0174] The processor is used to execute the steps of the voltage sag assessment method as described in the above method embodiment according to the instructions in the program code.
[0175] Furthermore, a computer-readable storage medium is provided in an embodiment of the present application, and the computer-readable storage medium is used to store program code, and the program code is used to execute the method described in the above method embodiment.
[0176] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0177] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0178] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0179] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0180] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0181] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0182] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (full name in English: Read-Only Memory, English abbreviation: ROM), random access memory (full name in English: Random Access Memory, English abbreviation: RAM), disk or optical disk and other media that can store program codes.
[0183] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A voltage sag assessment method, It is characterized in that include: Establishing a distribution network topology data set and a distribution network measurement data set, combining the distribution network topology data set and the distribution network measurement data set to construct a distribution network topology identification initial data set, and after preprocessing, obtaining a distribution network topology identification data set; The XGBoost model is trained by using the distribution network topology identification data set to obtain a distribution network topology structure dynamic identification model; Inputting the real-time monitoring data of the distribution network to be evaluated into the dynamic identification model of the distribution network topology structure to obtain a dynamic identification topology structure, thereby outputting a node association matrix corresponding to the real-time monitoring data; Calculate a node admittance matrix and a node impedance matrix according to the node association matrix, and use the node admittance matrix and the node impedance matrix as power network parameters for dynamic evaluation of voltage sag; The short-circuit iterative calculation method under ordinal coordinates is combined with the Monte Carlo simulation method, and the fault voltage sag amplitude of each node in the unbalanced distribution network containing inverter power supplies is calculated in an iterative manner, and the voltage sag is evaluated according to the fault voltage sag amplitude.
2. The voltage sag evaluation method according to claim 1, It is characterized in that The step of establishing a distribution network topology data set and a distribution network measurement data set further includes: Importance evaluation is performed on features in the distribution network measurement data set, and features in the distribution network measurement data set are screened according to the importance to obtain a screened distribution network measurement data set.
3. The voltage sag evaluation method according to claim 1, It is characterized in that The short-circuit iterative calculation method under the ordinal coordinate is combined with the Monte Carlo simulation method, and the fault voltage sag amplitude of each node in the unbalanced distribution network containing the inverter power supply is calculated in an iterative manner, and the voltage sag is evaluated according to the fault voltage sag amplitude, which specifically includes: S51, setting the number of Monte Carlo sampling iterations, and establishing a random probability model of short circuit fault; S52, simulating a short-circuit fault in the power grid based on a random probability model of the short-circuit fault, and constructing an inverter-type distributed power supply short-circuit calculation model for calculating power grid operation parameters, and constructing a distribution network line sequence component model according to the node impedance matrix; S53, establishing a normal operating network according to the node admittance matrix, writing node voltage equations under ordinal coordinates, and writing fault boundary conditions according to the fault type corresponding to the fault point when a short circuit fault occurs in the power grid simulation; S54, establishing a fault component network node equation in combination with the node voltage equation and the fault boundary condition; S55, based on the fault component network node equation, iterate according to the given initial value of the distributed power source equivalent current source, and use the theorem to obtain the voltage of each node after the fault occurs in the power grid; S56, determining whether the difference between the node voltage values of the two iterations meets the preset iteration accuracy, if not, returning to step S53, if yes, calculating the voltage sag amplitude of the fault according to the node voltage values of the two iterations; S57, determining whether the number of sampling iterations reaches a preset value, if so, performing voltage sag evaluation according to the fault voltage sag amplitude, otherwise returning to step S52.
4. The voltage sag evaluation method according to claim 3, It is characterized in that The expression of the node voltage equation is: In the formula, is the node admittance matrix in ordinal coordinates, is the positive and negative zero-sequence voltage vector of each node in the normal operation network, are the positive and negative zero-sequence current vectors injected into each node.
5. The voltage sag evaluation method according to claim 3, It is characterized in that The fault boundary conditions specifically include: boundary conditions for a single-phase grounding fault, boundary conditions for a two-phase phase-to-phase short-circuit fault, and boundary conditions for a two-phase grounding short-circuit fault.
6. The voltage sag evaluation method according to claim 3, It is characterized in that The expression of the fault component network node equation is: In the formula, is the node admittance matrix in ordinal coordinates, is the voltage of the fault component network, are the positive and negative zero-sequence current vectors injected into node f.
7. A voltage sag assessment system, It is characterized in that include: An establishing unit is used to establish a distribution network topology data set and a distribution network measurement data set, and to construct a distribution network topology identification initial data set by combining the distribution network topology data set and the distribution network measurement data set, and to obtain a distribution network topology identification data set after preprocessing; A training unit, used to train the XGBoost model using the distribution network topology identification data set to obtain a distribution network topology structure dynamic identification model; The identification unit inputs the real-time monitoring data of the distribution network to be evaluated into the dynamic identification model of the distribution network topology structure to obtain a dynamic identification topology structure, thereby outputting a node association matrix corresponding to the real-time monitoring data; A calculation unit, used for calculating a node admittance matrix and a node impedance matrix according to the node association matrix, and using the node admittance matrix and the node impedance matrix as power network parameters for dynamic evaluation of voltage sag; An evaluation unit is used to combine the short-circuit iterative calculation method under sequence coordinates with the Monte Carlo simulation method, calculate the fault voltage sag amplitude of each node in an unbalanced distribution network containing an inverter power supply in an iterative manner, and perform voltage sag evaluation based on the fault voltage sag amplitude.
8. The voltage sag evaluation system according to claim 7, It is characterized in that The evaluation unit is specifically used for: S51, setting the number of Monte Carlo sampling iterations, and establishing a random probability model of short circuit fault; S52, simulating a short-circuit fault in the power grid based on a random probability model of the short-circuit fault, and constructing an inverter-type distributed power supply short-circuit calculation model for calculating power grid operation parameters, and constructing a distribution network line sequence component model according to the node impedance matrix; S53, establishing a normal operating network according to the node admittance matrix, writing node voltage equations under ordinal coordinates, and writing fault boundary conditions according to the fault type corresponding to the fault point when a short circuit fault occurs in the power grid simulation; S54, establishing a fault component network node equation in combination with the node voltage equation and the fault boundary condition; S55, based on the fault component network node equation, iterate according to the given initial value of the distributed power source equivalent current source, and use the theorem to obtain the voltage of each node after the fault occurs in the power grid; S56, determining whether the difference between the node voltage values of the two iterations meets the preset iteration accuracy, if not, returning to step S53, if yes, calculating the voltage sag amplitude of the fault according to the node voltage values of the two iterations; S57, determining whether the number of sampling iterations reaches a preset value, if so, performing voltage sag evaluation according to the fault voltage sag amplitude, otherwise returning to step S52.
9. A voltage sag assessment device, It is characterized in that The device comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the voltage sag assessment method according to any one of claims 1 to 6 according to the instructions in the program code.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium is used to store program codes, and the program codes are used to execute the voltage sag assessment method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Power grid node voltage dip risk evaluation method
CN106058865A
Voltage sag state estimation method based on finite information
CN109523165A
Voltage sag state estimation method
CN110120666A
Distributed power supply and sensitive user combined site selection method considering voltage sag
CN110890754A
Method and device for determining voltage sag, equipment and medium
CN117171485A
Cited By
Voltage sag assessment method based on low-voltage ride-through control parameter identification
WO2026123495A1
