Photovoltaic grid-connected power distribution network fault processing method, device and medium

By acquiring the operating data of the photovoltaic grid-connected point to calculate the total fault current contribution value, and combining it with the fault current measured by the protection device, the problem of inaccurate fault location in photovoltaic grid-connected scenarios in traditional methods is solved, and higher reliability and accuracy of fault handling are achieved.

CN123162736APending Publication Date: 2026-11-24SHANWEI POWER SUPPLY BUREAU OF GUANGDONG POWER GRID CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611240880.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-14
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In photovoltaic grid-connected distribution networks, traditional fault location methods are no longer reliable because they do not take into account the contribution of the photovoltaic side, resulting in a decrease in the accuracy and reliability of fault handling.

Method used

By acquiring operational data from multiple photovoltaic grid-connected points, the total fault current contribution value is calculated. Combined with the fault current measured by the protection device, the fault location is determined, fault isolation processing is performed, and the fault current contribution value of the photovoltaic grid-connected points is introduced to compensate and correct the fault current measured by the protection device, thereby eliminating the positioning error caused by the superposition of multiple current sources.

Benefits of technology

It improves the pertinence and accuracy of fault location determination, provides a more reliable basis for fault isolation, and enhances the stability and availability of distribution network fault handling under photovoltaic grid-connected conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123162736A_ABST
    Figure CN123162736A_ABST
Patent Text Reader

Abstract

This application provides a method, device, and medium for handling faults in photovoltaic grid-connected distribution networks, relating to the field of power technology. The method includes: acquiring operational data from multiple photovoltaic grid-connected points during a distribution network fault; calculating the total fault current contribution value of the multiple photovoltaic grid-connected points during the fault based on the operational data; determining the fault location based on the total fault current contribution value and the fault current measured by a protection device; and finally performing fault isolation processing based on the fault location. This method improves the accuracy of fault location, provides a more reliable location basis for fault isolation processing, and thus enhances the reliability of distribution network fault handling under photovoltaic grid-connected conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power technology, and in particular to a method, equipment and medium for handling faults in a photovoltaic grid-connected distribution network. Background Technology

[0002] With the large-scale grid connection of photovoltaic power generation systems in the distribution network, the traditional single-source radial network has gradually evolved into a multi-source active distribution network, which improves energy utilization efficiency and also puts forward higher requirements for the accuracy of fault handling.

[0003] For fault handling in photovoltaic grid-connected distribution networks, a fault location scheme based on impedance method is typically used. This involves estimating the fault distance using the fault current measured by protection devices, and then performing operations such as switch disconnection and line isolation accordingly. The basic idea of ​​this scheme is to use the electrical quantities collected during the fault as input, calculate the line impedance change through a preset parameter model, and map the calculation result to the fault location, thereby guiding the subsequent isolation process. However, this fault handling method is no longer reliable because it does not consider the contribution from the photovoltaic side.

[0004] In conclusion, improving the reliability of power distribution network fault handling in photovoltaic grid-connected scenarios is an urgent technical problem to be solved. Summary of the Invention

[0005] This application provides a method, device, and medium for handling faults in photovoltaic grid-connected distribution networks. It addresses the fault handling needs of distribution networks under large-scale photovoltaic grid-connected scenarios, comprehensively considers the impact of multiple photovoltaic grid-connected points on the fault current during the fault period, and combines the photovoltaic side contribution information with the fault characteristics of the distribution network to determine the fault location and complete subsequent fault handling, thereby improving the pertinence and adaptability of distribution network fault handling under photovoltaic grid-connected conditions.

[0006] In a first aspect, embodiments of this application provide a method for handling faults in a photovoltaic grid-connected distribution network, including:

[0007] Acquire operational data from multiple photovoltaic grid-connected points during power distribution network faults;

[0008] Based on the operational data, the total fault current contribution value of the multiple photovoltaic grid-connected points during the distribution network fault is calculated.

[0009] The fault location is determined based on the total fault current contribution value and the fault current measured by the protection device.

[0010] Based on the location of the fault, fault isolation procedures are performed.

[0011] In one possible implementation, the operating data includes output current, power factor, and photovoltaic grid connection point type. The calculation of the total fault current contribution value of the plurality of photovoltaic grid connection points during a distribution network fault, based on the operating data, includes:

[0012] For each photovoltaic grid connection point, a photovoltaic type correction coefficient is determined based on the photovoltaic grid connection point type;

[0013] Based on the photovoltaic type correction coefficient and the power factor, the current contribution value of the photovoltaic grid connection point during the distribution network fault is calculated.

[0014] The total fault current contribution value is calculated based on the current contribution value of each photovoltaic grid-connected point during the distribution network fault.

[0015] In one possible implementation, the photovoltaic grid connection point type includes centralized photovoltaic, string photovoltaic, and residential photovoltaic. The step of determining a photovoltaic type correction coefficient for each photovoltaic grid connection point based on its type includes:

[0016] If the photovoltaic grid connection point type is centralized photovoltaic, then the photovoltaic type correction factor is determined to be the first correction factor;

[0017] If the photovoltaic grid connection point type is string photovoltaic, then the photovoltaic type correction factor is determined to be the second correction factor;

[0018] If the photovoltaic grid connection point type is residential photovoltaic, then the photovoltaic type correction factor is determined to be the third correction factor;

[0019] Wherein, the first correction coefficient is greater than the second correction coefficient, and the second correction coefficient is greater than the third correction coefficient.

[0020] In one possible implementation, determining the fault location based on the total fault current contribution value and the fault current measured by the protection device includes:

[0021] The fault current is corrected based on the total fault current contribution value to obtain the corrected current;

[0022] Based on the corrected current, the fault distance between the fault point and the protection device is calculated using the impedance method.

[0023] In one possible implementation, the method further includes:

[0024] For the isolated areas obtained after fault isolation processing, a comprehensive score for the isolated areas is determined based on preset scoring rules;

[0025] When the overall score is greater than or equal to a preset threshold, multiple transfer paths are generated based on the fault location and the topology of the isolated area;

[0026] Based on the multiple transfer paths, the optimal transfer path is obtained through a pre-obtained weighted evaluation model;

[0027] The load at the fault location is distributed to the lines within the island area via the optimal transfer path to perform transfer processing.

[0028] In one possible implementation, determining the comprehensive score of the isolated area based on preset scoring rules includes:

[0029] Based on the matching degree between the total available photovoltaic output and the total load demand of multiple photovoltaic grid-connected points in the isolated area, a load matching degree score for the isolated area is obtained.

[0030] Based on the configuration of the photovoltaic grid-connected control devices in the isolated area, a control capability score for the isolated area is obtained;

[0031] Based on the configuration of anti-islanding protection devices within the islanded area, a protection configuration score for the islanded area is obtained;

[0032] The comprehensive score is calculated based on the load matching score, the control capability score, and the protection configuration score.

[0033] In one possible implementation, the decision factors of the weighted evaluation model include line load rate factor, historical failure rate factor, number of recovered users factor, important user weight factor, photovoltaic support capacity factor, and photovoltaic consumption priority factor.

[0034] The process of obtaining the optimal transfer path based on the multiple transfer paths using a pre-acquired weighted evaluation model includes:

[0035] For each transfer path, the value corresponding to the decision factor of the transfer path is calculated;

[0036] Based on the numerical value and the optimal weight coefficients corresponding to the decision factors obtained in advance, the comprehensive score of the transfer path is calculated.

[0037] The transfer path with the highest overall score is determined as the optimal transfer path.

[0038] In one possible implementation, the method further includes:

[0039] Based on the fault location, fault type, total photovoltaic capacity of multiple grid-connected photovoltaic points within the isolated area, and total load demand, a state space is constructed.

[0040] An action space is constructed based on the adjustment of the weight coefficients corresponding to the decision factors;

[0041] A reward function is constructed based on the power restoration time, the number of users restored, and the photovoltaic consumption after the power transfer process is executed.

[0042] Based on the state space, the action space, and the reward function, an optimal set of weight coefficients is obtained through iterative updates using a reinforcement learning algorithm; wherein, the optimal set of weight coefficients includes the optimal weight coefficients corresponding to the decision factors.

[0043] Secondly, embodiments of this application provide a photovoltaic grid-connected distribution network fault handling device, comprising:

[0044] The first processing module is used to acquire operational data from multiple photovoltaic grid-connected points during distribution network faults.

[0045] The second processing module is used to calculate the total fault current contribution value of the multiple photovoltaic grid-connected points during the distribution network fault based on the operating data.

[0046] The third processing module is used to determine the fault location based on the total fault current contribution value and the fault current measured by the protection device.

[0047] The fourth processing module is used to perform fault isolation processing based on the fault location.

[0048] In one possible implementation, the operating data includes output current, power factor, and photovoltaic grid connection point type, and the second processing module is specifically used for:

[0049] For each photovoltaic grid connection point, a photovoltaic type correction coefficient is determined based on the photovoltaic grid connection point type;

[0050] Based on the photovoltaic type correction coefficient and the power factor, the current contribution value of the photovoltaic grid connection point during the distribution network fault is calculated.

[0051] The total fault current contribution value is calculated based on the current contribution value of each photovoltaic grid-connected point during the distribution network fault.

[0052] In one possible implementation, the photovoltaic grid connection point type includes centralized photovoltaic, string photovoltaic, and residential photovoltaic, and the second processing module is further used for:

[0053] If the photovoltaic grid connection point type is centralized photovoltaic, then the photovoltaic type correction factor is determined to be the first correction factor;

[0054] If the photovoltaic grid connection point type is string photovoltaic, then the photovoltaic type correction factor is determined to be the second correction factor;

[0055] If the photovoltaic grid connection point type is residential photovoltaic, then the photovoltaic type correction factor is determined to be the third correction factor;

[0056] Wherein, the first correction coefficient is greater than the second correction coefficient, and the second correction coefficient is greater than the third correction coefficient.

[0057] In one possible implementation, the third processing module is specifically used for:

[0058] The fault current is corrected based on the total fault current contribution value to obtain the corrected current;

[0059] Based on the corrected current, the fault distance between the fault point and the protection device is calculated using the impedance method.

[0060] In one possible implementation, the device further includes a fifth processing module for:

[0061] For the isolated areas obtained after fault isolation processing, a comprehensive score for the isolated areas is determined based on preset scoring rules;

[0062] When the overall score is greater than or equal to a preset threshold, multiple transfer paths are generated based on the fault location and the topology of the isolated area;

[0063] Based on the multiple transfer paths, the optimal transfer path is obtained through a pre-obtained weighted evaluation model;

[0064] The load at the fault location is distributed to the lines within the island area via the optimal transfer path to perform transfer processing.

[0065] In one possible implementation, the fifth processing module is specifically used for:

[0066] Based on the matching degree between the total available photovoltaic output and the total load demand of multiple photovoltaic grid-connected points in the isolated area, a load matching degree score for the isolated area is obtained.

[0067] Based on the configuration of the photovoltaic grid-connected control devices in the isolated area, a control capability score for the isolated area is obtained;

[0068] Based on the configuration of anti-islanding protection devices within the islanded area, a protection configuration score for the islanded area is obtained;

[0069] The comprehensive score is calculated based on the load matching score, the control capability score, and the protection configuration score.

[0070] In one possible implementation, the decision factors of the weighted evaluation model include line load rate factor, historical failure rate factor, number of recovered users factor, important user weight factor, photovoltaic support capacity factor, and photovoltaic consumption priority factor.

[0071] The fifth processing module is further used for:

[0072] For each transfer path, the value corresponding to the decision factor of the transfer path is calculated;

[0073] Based on the numerical value and the optimal weight coefficients corresponding to the decision factors obtained in advance, the comprehensive score of the transfer path is calculated.

[0074] The transfer path with the highest overall score is determined as the optimal transfer path.

[0075] In one possible implementation, the device further includes a sixth processing module for:

[0076] Based on the fault location, fault type, total photovoltaic capacity of multiple grid-connected photovoltaic points within the isolated area, and total load demand, a state space is constructed.

[0077] An action space is constructed based on the adjustment of the weight coefficients corresponding to the decision factors;

[0078] A reward function is constructed based on the power restoration time, the number of users restored, and the photovoltaic consumption after the power transfer process is executed.

[0079] Based on the state space, the action space, and the reward function, an optimal set of weight coefficients is obtained through iterative updates using a reinforcement learning algorithm; wherein, the optimal set of weight coefficients includes the optimal weight coefficients corresponding to the decision factors.

[0080] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;

[0081] The memory stores computer-executed instructions;

[0082] The processor executes computer execution instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.

[0083] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.

[0084] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.

[0085] This application provides a method, device, and medium for handling faults in a photovoltaic grid-connected distribution network. By acquiring operational data from multiple photovoltaic grid-connected points during a distribution network fault, and calculating the total fault current contribution value of these points based on the operational data, the actual impact of photovoltaic grid-connected equipment on the fault current under fault conditions can be more accurately characterized. The fault location is determined by combining the total fault current contribution value with the fault current measured by the protection device, and fault isolation processing is then performed based on the fault location. This method improves the accuracy of fault location, provides a more reliable basis for fault isolation processing, and enhances the stability and availability of distribution network fault handling under operating conditions such as photovoltaic output fluctuations. Attached Figure Description

[0086] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0087] Figure 1 A flowchart illustrating a photovoltaic grid-connected distribution network fault handling method provided in this application. Figure 1 ;

[0088] Figure 2 A flowchart illustrating a photovoltaic grid-connected distribution network fault handling method provided in this application. Figure 2 ;

[0089] Figure 3 A flowchart illustrating a photovoltaic grid-connected distribution network fault handling method provided in this application. Figure 3 ;

[0090] Figure 4 A flowchart illustrating a photovoltaic grid-connected distribution network fault handling method provided in this application. Figure 4 ;

[0091] Figure 5 A flowchart illustrating a photovoltaic grid-connected distribution network fault handling method provided in this application. Figure 5 ;

[0092] Figure 6This application provides a structural schematic diagram of a photovoltaic grid-connected distribution network fault handling device.

[0093] Figure 7 This is a schematic diagram of the structure of an electronic device provided in this application.

[0094] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0095] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application.

[0096] The application background of this application is explained as follows:

[0097] With the continuous advancement of photovoltaic power generation technology and the gradual reduction of grid connection costs, the scale of distributed photovoltaic power generation systems connected to the distribution network is showing a rapid growth trend, and its penetration rate is constantly increasing. While improving energy efficiency, it also objectively puts forward higher and more stringent technical requirements on the safe operation guarantee capability of the distribution network, especially the accuracy and reliability of fault handling in complex fault scenarios compared to traditional power grids.

[0098] In traditional distribution networks, the path and amplitude of fault current are relatively fixed, and fault characteristics are clearly identifiable. Therefore, fault handling typically employs an impedance-based fault location scheme, combined with the fault current measured by protection devices to estimate the fault distance, and then performs operations such as switch disconnection and line isolation accordingly. Specifically, when a fault occurs, the protection device collects voltage and current phasors and calculates the measured impedance. Since the measured impedance equals the sum of the system equivalent impedance and the line impedance between the measurement point and the fault point, the fault distance can be obtained by subtracting the known system impedance. For cases with many line branches, a two-terminal or multi-terminal impedance method can be used to simultaneously measure the electrical quantities of multiple nodes, solving a system of equations to reduce the interference of transition resistance or load current on location accuracy. Under relatively stable power grid structure and operating conditions, this scheme, with its clear logic and mature technological accumulation, can meet basic fault handling requirements.

[0099] However, in scenarios with a high proportion of distributed photovoltaic (PV) grid integration, the distribution network has evolved from a radial passive network powered by a single source to an active network with multiple sources supplying power and bidirectional power flow. When a fault occurs, the PV inverter continuously injects fault current into the fault point according to its own control strategy. This means that the fault current flowing through the protection and measurement devices is no longer a simple system-side contribution, but rather a superposition of contributions from the main grid power supply and multiple distributed PV power sources. Consequently, the amplitude and phase distribution of the current are fundamentally altered. Therefore, the traditional fault handling method based on impedance-based fault location, which combines the fault current measured by the protection device to determine the fault distance, is no longer reliable because it does not consider the contribution from the PV side.

[0100] Therefore, improving the reliability of power distribution network fault handling in photovoltaic grid-connected scenarios is an urgent technical problem to be solved.

[0101] To address the aforementioned technical problems, the inventors, in researching methods for handling distribution network faults in photovoltaic grid-connected scenarios, first acquire operational data from multiple photovoltaic grid-connected points when a fault occurs in the distribution network. Based on this data, they calculate the total fault current contribution value of these points during the fault period. Then, combining this total fault current contribution value with the fault current measured by the protection device, they determine the fault location. Subsequently, fault isolation processing is performed based on the fault location. By incorporating the fault current contribution of the photovoltaic grid-connected points into the fault location process, the specificity and accuracy of fault location determination are improved, providing a more reliable basis for subsequent isolation and handling. Therefore, this application provides a method, device, and medium for handling faults in photovoltaic grid-connected distribution networks.

[0102] The technical solution of this application and how it solves the above-mentioned technical problems will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.

[0103] Figure 1 A flowchart illustrating a photovoltaic grid-connected distribution network fault handling method provided in this application. Figure 1 The execution entity of this method can be a power distribution master station or a fault handling terminal, such as... Figure 1 As shown, the method includes:

[0104] S101: Obtain operational data from multiple photovoltaic grid-connected points during distribution network faults.

[0105] In this step, operational data refers to a set of parameters reflecting the electrical status and equipment attributes of each photovoltaic grid-connected point at the moment of fault occurrence and during its duration. This data is collected by monitoring equipment deployed at each photovoltaic grid-connected point and uploaded to the distribution master station or fault handling terminal via the communication network. Specifically, this operational data includes the real-time current amplitude and power factor output by the photovoltaic inverter, as well as the photovoltaic grid-connected point type that identifies the equipment type.

[0106] Among them, the real-time current amplitude output by the photovoltaic inverter, that is, the output current of the photovoltaic grid connection point, refers to the effective value of the phase current measured on the AC side of the inverter at the moment of the fault. It is the physical quantity that most directly reflects the magnitude of the current injected from the grid connection point to the fault point. This value can be sampled in real time by a current transformer or Hall effect sensor deployed at the AC side output of the inverter at the photovoltaic grid connection point, and then after signal conditioning, analog-to-digital conversion and digital signal processing, it is finally uploaded to the distribution master station or fault handling terminal through the communication network.

[0107] The power factor is the ratio of active power to apparent power at a grid-connected point. Its value directly determines the distribution ratio of active and reactive components in the fault current. Active power refers to the net output of work actually done, converting solar energy into electrical energy, while apparent power is the product of the effective voltage and effective current in a sinusoidal AC circuit. A power factor closer to 1 indicates a higher proportion of active power and a weaker reactive power regulation capability; conversely, a lower power factor indicates a lower proportion of active power and a higher proportion of reactive power, resulting in a stronger reactive power regulation capability of the photovoltaic grid-connected inverter and a more significant effect on the phase shift of the fault current and the support of the grid-connected point voltage.

[0108] Voltage and current waveforms can be acquired by voltage transformers and current sensors deployed on the photovoltaic grid connection side, respectively, and the phase angle between their fundamental components can be extracted by a digital signal processor. Then, taking the cosine of the phase angle yields the power factor, which is: .

[0109] Alternatively, the active and reactive power of the photovoltaic grid-connected point can be calculated in real time through the power metering chip built into the inverter or grid-connected interface device at the photovoltaic grid-connected point. Then, the apparent power is obtained by multiplying the effective value of voltage and the effective value of current, and the power factor is calculated.

[0110] The photovoltaic grid connection point type identifies the type of equipment and is used to distinguish the inverter equipment attributes corresponding to the photovoltaic grid connection point, such as centralized power station inverters, string distributed inverters, or units connected to the grid through different voltage levels. Correspondingly, the photovoltaic grid connection point types include centralized photovoltaic, string photovoltaic, and residential photovoltaic, etc.

[0111] Centralized photovoltaic (PV) systems typically refer to PV power plants with large installed capacities (ranging from several megawatts to hundreds of megawatts). Their PV modules are connected in series and parallel to form a massive DC-side array. Several high-power centralized inverters convert the DC power to AC power, which is then collected by a step-up transformer and connected to the distribution network at a medium- or high-voltage (e.g., 10kV, 35kV, or even higher) grid connection point. These PV systems have short electrical distances and large short-circuit capacities, resulting in relatively high current amplitudes injected into the distribution network during faults.

[0112] String photovoltaic (PV) systems generally refer to grid-connected configurations using multiple low-power string inverters in commercial or industrial rooftop or small ground-mounted power plants. Each inverter independently tracks the maximum power point of several strings of PV modules. On the AC side, multiple inverters are connected in parallel and then stepped up via a transformer to the medium-voltage distribution network (e.g., 10kV / 380V). The total installed capacity of string PV systems typically ranges from several hundred kilowatts to several megawatts. The inverters are distributed across the grid, allowing for flexible fault response.

[0113] Residential photovoltaic (PV) systems refer to distributed power generation systems installed on the rooftops of residential buildings. These systems typically have a small installed capacity, usually between 3kW and 10kW, and are directly connected to the low-voltage power grid (such as 220V / 380V) via single-phase or small-capacity three-phase inverters. They can generate their own power for self-consumption and sell surplus electricity to the grid without requiring voltage boosting. These PV inverters have small capacity, low grid voltage, and limited fault current contribution capability.

[0114] The photovoltaic grid connection point type is stored in the equipment database and written to the memory of the distribution master station or fault handling terminal during grid connection acceptance. It is bound to the grid connection point number as a static attribute parameter. The photovoltaic grid connection point type can be obtained by searching the equipment database based on the grid connection point number.

[0115] In addition, the distribution master station or fault handling terminal can also obtain the photovoltaic grid connection point type by parsing the communication protocol messages uploaded by the photovoltaic grid connection interface device or inverter. Specifically, the inverter equipment itself has fixed type identification parameters (such as equipment model and rated power level), which are included in the equipment type field in the communication message. After reading this field, the distribution master station or fault handling terminal can map it to centralized photovoltaic, string photovoltaic, or residential photovoltaic.

[0116] By acquiring operational data from multiple photovoltaic grid-connected points during distribution network faults, it is possible to provide fundamental data support for subsequent quantification of the impact of distributed power sources on fault current injection, thereby overcoming the positioning bias caused by neglecting the characteristics of distributed power sources in traditional methods.

[0117] S102: Based on operational data, calculate the total fault current contribution value of multiple photovoltaic grid-connected points during distribution network faults.

[0118] In this step, the total fault current contribution value is used to indicate the sum of current injected into the fault point by all photovoltaic grid-connected points when a fault occurs. Based on the operating data obtained in S101, firstly, for each photovoltaic grid-connected point, its current output characteristics under fault conditions are analyzed in conjunction with its equipment type and output current, and then the fault current component of a single photovoltaic grid-connected point is calculated; subsequently, the fault current components of each photovoltaic grid-connected point are vector-accumulated to obtain the total fault current contribution value. This total fault current contribution value can accurately quantify the overall disturbance degree of distributed photovoltaic power generation to the fault current level of the distribution network, providing a key parameter for subsequent current correction.

[0119] In one possible implementation, the total fault current contribution value of multiple photovoltaic grid-connected points during distribution network faults is calculated based on operational data, which may specifically include the following steps:

[0120] (1) For each photovoltaic grid connection point, determine the photovoltaic type correction coefficient based on the photovoltaic grid connection point type.

[0121] The photovoltaic (PV) type correction factor is a parameter used to quantify the differences in short-circuit current supply capabilities of different types of PV power sources during grid faults. Its value depends on the equipment capacity and control characteristics of the PV grid connection point. A pre-built mapping rule table between PV grid connection point types and PV type correction factors can be used to map the current PV grid connection point type to the corresponding numerical coefficient. This mapping rule table is constructed based on historical fault statistics and the electrical characteristic parameters of various types of PV inverters.

[0122] Understandably, centralized photovoltaic (PV) systems, due to their strong voltage support capabilities, are configured with higher coefficient values; residential PV systems, due to their smaller capacity and dispersed distribution, are configured with lower coefficient values; and string PV systems, with multiple units operating in parallel, having moderate individual unit capacity and overall controllability between the former two, can be configured with intermediate coefficient values. Introducing a PV type correction coefficient ensures that subsequent current contribution calculations accurately reflect the differences in the actual fault current support levels of different PV devices.

[0123] (2) Based on the photovoltaic type correction coefficient and power factor, the current contribution value of the photovoltaic grid connection point during the distribution network fault is calculated.

[0124] The specific incremental contribution of a single photovoltaic (PV) grid-connected point to the grid fault current at the moment of a fault is obtained by weighting the output current using a combination of PV type correction coefficients and power factor. The power factor reflects the phase relationship between the output current and voltage of the PV grid-connected point, directly determining the ratio of active and reactive components injected into the grid, and thus affecting the amplitude characteristics of the fault current.

[0125] First, the output current and power factor of the photovoltaic grid-connected point are obtained. Then, a correction factor based on the power factor is calculated, which characterizes the degree of influence of phase lag or phase lead on the current amplitude. Finally, the photovoltaic type correction coefficient, the power factor-based correction factor, and the output current are multiplied to obtain the final current contribution value.

[0126] For example, the current contribution of a single photovoltaic grid-connected point during a distribution network fault can be expressed as:

[0127]

[0128] in, This indicates the current contribution of the photovoltaic grid connection point during a distribution network fault; I pv This represents the output current of the photovoltaic grid connection point; k represents the photovoltaic type correction coefficient of the photovoltaic grid connection point; This represents a correction factor based on the power factor. For example, this correction factor could be the power factor raised to the power of 0.8. By performing nonlinear mapping of the power factor through exponential operations, the actual output characteristics of photovoltaic inverters under different load rate conditions can be accurately simulated.

[0129] (3) Based on the current contribution value of each photovoltaic grid connection point in multiple photovoltaic grid connection points during the distribution network fault, the total fault current contribution value is calculated.

[0130] The current contribution values ​​of all photovoltaic grid-connected points during distribution network faults are summarized to obtain the total fault current contribution value, so as to form an overall assessment of the total injected current on the photovoltaic side during distribution network faults.

[0131] Specifically, the total fault current contribution value can be obtained by summing the current contribution values ​​of each photovoltaic grid-connected point during the distribution network fault. The total fault current contribution value This is a scalar value representing the total additional current supplied to the fault point by all connected photovoltaic (PV) power sources within the distribution network at the moment of the fault. During the accumulation operation, the data records of all PV grid-connected points are traversed in parallel, the current contribution value corresponding to each grid-connected point is extracted, and the values ​​are summed. In other words, the total fault current contribution value... The larger the value, the more significant the amplification effect of the photovoltaic power source on fault current.

[0132] S103: Determine the fault location based on the total fault current contribution value and the fault current measured by the protection device.

[0133] In this step, the fault location refers to the specific physical coordinates or electrical distance of the short circuit or ground fault occurring in the distribution network. The fault current measured by the protection device installed at the substation or line branch reflects the amplitude and phase information of the actual power frequency short circuit current flowing through the measurement point at the fault location.

[0134] In traditional distribution networks, the fault current measured by protection devices originates directly from the system-side power supply. Its amplitude and phase accurately reflect the location of the fault point and can be directly used for fault location. However, after photovoltaic grid connection, the distribution network becomes a multi-source system. The fault current measured by protection devices actually includes the vector superposition of the current from the system side and the total fault current contribution value injected by all photovoltaic grid-connected points. Therefore, the fault current needs to be corrected; otherwise, directly using it as a judgment criterion is equivalent to superimposing an uncertain interference quantity on the original physical quantity reflecting the characteristics of the fault point, making fault location based on fault current unreliable.

[0135] Therefore, it is necessary to subtract the photovoltaic injection component from the fault current measured by the protection device based on the total fault current contribution value, to reconstruct a current information that only reflects the current formed by the system-side power supply through the fault point. This allows the corrected current to return to the physical semantics of a traditional single-source radial network, thereby ensuring the accuracy and reliability of subsequent fault location criteria. Based on this corrected current, the electrical distance between the fault point and the protection device can be calculated using the impedance method, and the specific fault location can be calculated by combining line parameters. By introducing the photovoltaic contribution value to correct the measured current, the location error caused by distributed power supply access can be effectively suppressed, significantly improving the accuracy of fault location.

[0136] S104: Based on the fault location, perform fault isolation processing.

[0137] Fault isolation refers to the operation of controlling the switching equipment in the power distribution network to electrically separate the faulty area from the non-faulty area based on the determined fault location.

[0138] For example, the distribution master station or fault handling terminal sends tripping commands to circuit breakers or disconnectors upstream and downstream of the fault point based on the fault location, cutting off the fault current path. This operation aims to prevent the fault from spreading and damaging other equipment in the power grid, while ensuring continuous power supply to non-faulty areas. Performing isolation based on high-precision fault location ensures that the isolation range is minimized, the power outage area is reduced to the minimum, and favorable conditions are provided for subsequent fault repair and load transfer.

[0139] The photovoltaic grid-connected distribution network fault handling method provided in this application first acquires the operating data of multiple photovoltaic grid-connected points when a fault occurs in the distribution network. Then, based on the operating data, it calculates the total fault current contribution value of each of the multiple photovoltaic grid-connected points during the distribution network fault. Subsequently, it uses the total fault current contribution value and the fault current measured by the protection device to determine the fault location. Finally, it performs isolation processing based on the fault location, cutting off the fault current path and isolating the fault area. This embodiment compensates and corrects the fault current measured by the protection device by introducing the total fault current contribution value of the photovoltaic grid-connected points during the distribution network fault, restoring the true current information that only reflects the system-side power supply through the fault point. This eliminates the measurement distortion caused by the superposition of multiple current sources, effectively suppresses the location error caused by the access of distributed power sources, significantly improves the accuracy of fault location, and thus enhances the reliability of photovoltaic grid-connected distribution network fault handling.

[0140] Based on the above embodiments, for each photovoltaic grid connection point, a photovoltaic type correction coefficient is determined based on the photovoltaic grid connection point type, specifically including:

[0141] (1) If the photovoltaic grid connection point type is centralized photovoltaic, then the photovoltaic type correction coefficient is determined to be the first correction coefficient.

[0142] Understandably, centralized photovoltaic (PV) systems typically refer to large-capacity PV power plants that employ centralized inverter grid-connected solutions. During transient events caused by power grid faults, centralized PV systems, equipped with sophisticated power regulation and control devices, exhibit faster dynamic response speeds and stronger fault current output capabilities in their inverters. Therefore, the first correction coefficient k1 can be configured with a higher value; for example, in some embodiments, k1 = 1.0, which is merely illustrative.

[0143] (2) If the photovoltaic grid connection point type is string photovoltaic, then the photovoltaic type correction coefficient is determined to be the second correction coefficient.

[0144] String photovoltaic (PV) systems connect photovoltaic (PV) modules in series to form strings, which are then connected to the grid via multiple string inverters. Compared to centralized PV systems, string PV systems have smaller individual unit capacities, and their control strategies and response characteristics fall between those of centralized and residential systems. While string PV systems can provide some fault current support during fault periods, their continuous output capability is generally weaker than that of centralized PV systems. Therefore, a second correction factor k2 can be configured with an appropriate value, which is smaller than the first correction factor. For example, the second correction factor k2 can be set to 0.8, etc., which is only an example for illustration.

[0145] (3) If the photovoltaic grid connection point type is household photovoltaic, then the photovoltaic type correction coefficient is determined to be the third correction coefficient.

[0146] Residential photovoltaic (PV) systems mainly refer to small-capacity distributed PV systems that are directly connected to the user side or low-voltage distribution network. Due to cost control considerations, residential PV systems typically have relatively simple inverter control functions. In the event of a distribution network fault, residential PV systems are more susceptible to being quickly disconnected from the grid due to protection logic triggering, or can only provide extremely limited short-circuit current. Therefore, the third correction factor k3 can be configured with a low value; for example, it can be set to 0.6, etc., which is only an example for illustration.

[0147] Figure 2 A flowchart illustrating a photovoltaic grid-connected distribution network fault handling method provided in this application. Figure 2 ,like Figure 2 As shown, based on the above embodiment, in S103: the fault location is determined based on the total fault current contribution value and the fault current measured by the protection device, specifically including:

[0148] S201: Correct the fault current based on the total fault current contribution value to obtain the corrected current.

[0149] As mentioned in S103, the fault current measured by the protection device needs to be corrected based on the total fault current contribution value. Otherwise, if it is directly used as the basis for fault location, the fault location based on the fault current will be unreliable.

[0150] Specifically, the corrected current is used to indicate the fault current component generated when the power source on the distribution network system acts alone, assuming no photovoltaic grid-connected current feed. This component more accurately reflects the electrical distance relationship between the fault point and the system power source. Therefore, based on the principle of current superposition, the corrected current can be obtained by subtracting the total fault current contribution value from the fault current measured by the protection device.

[0151] For example, the corrected current can be expressed as:

[0152]

[0153] Among them, I corrected Indicates the corrected current; I measured This indicates the fault current measured by the protection device.

[0154] By compensating and correcting the fault current measured by the protection device based on the total fault current contribution value of the photovoltaic grid connection point during the distribution network fault, and subtracting the photovoltaic injection component in reverse, the true current information reflecting only the power supply on the system side through the fault point is restored. This eliminates the measurement distortion caused by the superposition of multiple source currents, effectively suppresses the positioning error caused by the access of distributed power sources, and provides a basis for improving the fault location accuracy.

[0155] S202: Based on the corrected current, the fault distance between the fault point and the protection device is calculated using the impedance method.

[0156] In this step, the impedance method is a classic fault location method based on the electrical quantity relationship of a fault loop, and its basic principle originates from Ohm's law. When a short circuit or ground fault occurs in a distribution network, an electrical loop is formed from the installation point of the protection device (such as the substation busbar or line outlet) to the fault point, consisting of the system power supply, line impedance, and the fault point. The protection device can measure the voltage and current at that point, and the electromotive force of the system-side power supply and the system impedance are approximately known after the operating mode is determined. Therefore, the impedance of the fault loop mainly depends on the product of the impedance value per unit length of the line and the distance from the fault point to the measurement point (at the protection device). The impedance method utilizes this linear relationship to deduce the electrical distance from the measurement point to the fault point by using the ratio of the measured voltage to the current as the loop impedance.

[0157] For example, the electrical distance from the measurement point to the fault point can be expressed as:

[0158]

[0159]

[0160] Among them, L corrected Indicates the fault distance between the fault point and the protection device; L initial This represents the fault current I measured by the protection device. measured (Uncorrected) Calculated initial distance; Z measured This represents the voltage and fault current I measured by the protection device. measured The loop impedance is obtained by the ratio of U to 1. fault Indicates the voltage at the fault point (usually the bus voltage at the protection installation location); Z unit This represents the impedance value per unit length of a transmission line (the unit is usually Ω / km). This indicates the modulo operation.

[0161] By mapping electrical quantities to spatial distance quantities using the above formula, the fault location can be accurately pinpointed. The final output fault distance can be used to guide maintenance personnel to quickly locate the fault point, or it can be passed as an input parameter to the power distribution automation system to perform automated fault isolation operations.

[0162] In one specific implementation of this scheme (a simulated distribution network including 100 lines and 50 photovoltaic grid-connected points), 1000 random fault simulation tests were conducted for three fault types: three-phase short circuit, single-phase grounding, and open circuit. Test results show that the fault location error of the photovoltaic grid-connected distribution network fault handling method provided in this application is only 2.3%, and the maximum error is 7.1% (compared to the traditional location method, which does not consider the fault current contribution of photovoltaic grid-connected points during distribution network faults, with average and maximum errors of 8.7% and 25.4%, respectively). The location accuracy is improved by approximately 73.6% and 72.0%, respectively, and the average time for calculating a single fault location is only 2.1 seconds. This fully verifies the engineering practicality of this method in high-penetration photovoltaic access scenarios, combining high-precision location and rapid response.

[0163] The photovoltaic grid-connected distribution network fault handling method provided in this application first compensates and corrects the measured fault current obtained by the protection device based on the total fault current contribution value calculated above. The correction is based on the principle of current superposition, meaning the measured fault current actually includes the vector superposition of the current supplied by the system-side power source and the total fault current contribution value injected by all photovoltaic grid-connected points. Therefore, subtracting the total fault current contribution value from the measured current reveals the true fault current component generated by the system-side power source alone, assuming no photovoltaic grid-connected current input. Subsequently, based on the corrected current, the fault distance is calculated using the impedance method. The impedance method is based on Ohm's law, using the ratio of the voltage measured at the protection device installation point to the corrected current to obtain the fault loop impedance. Combined with the impedance value per unit length of the transmission line, the electrical distance between the fault point and the protection device is deduced. The above method effectively eliminates the interference of photovoltaic power supply on traditional fault location algorithms. The corrected current restores the true fault current characteristics of the system side, making the calculated fault distance closer to the actual physical distance, improving the accuracy of fault location, reducing the invalid inspection time caused by location errors, and providing reliable data support for subsequent fault isolation and power restoration.

[0164] Figure 3 A flowchart illustrating a photovoltaic grid-connected distribution network fault handling method provided in this application. Figure 3 ,like Figure 3 As shown, based on the above embodiments, the photovoltaic grid-connected distribution network fault handling method further includes:

[0165] S301: For the isolated areas obtained after fault isolation processing, a comprehensive score for the isolated areas is determined based on preset scoring rules.

[0166] In this step, an islanded area refers to an independent power supply area that still includes distributed photovoltaic power sources and local loads after the distribution network has been electrically separated from the system-side power supply due to fault isolation operations. This area is typically formed when fault isolation procedures cause non-faulty sections to lose power support from the main grid, creating an electrical island. The comprehensive score is used to quantitatively evaluate the islanded area's ability to maintain safe and stable operation under islanded conditions. This score is calculated based on preset scoring rules. The preset scoring rules are not a single-dimensional numerical judgment, but a comprehensive evaluation system covering three dimensions: load matching, control capability, and protection configuration.

[0167] In one possible implementation, after an islanded area is created by fault isolation at a point in the distribution network due to a fault, to minimize the outage area and improve power supply reliability, photovoltaic power within the islanded area can be used to transfer power to healthy load segments located on the same side of the faulted area but not affected by the fault. However, this requires the islanded area to simultaneously meet the requirements of maintainable supply-demand balance, flexible control and regulation, and complete protection configuration. Only when all three conditions are met can the islanded area be ensured to have sufficient stable operation capability and safety margin when used as a transfer power source, thus providing a reliable technical prerequisite for subsequent load transfer operations. Therefore, a comprehensive score for the islanded area needs to be calculated to quantitatively assess its safety margin for carrying transfer loads.

[0168] In one possible implementation, a comprehensive risk score for the isolated area is determined based on preset scoring rules, which may specifically include the following steps:

[0169] (1) Based on the matching degree of the total available photovoltaic output and total load demand of multiple photovoltaic grid-connected points in the isolated area, the load matching degree score of the isolated area is obtained by mapping.

[0170] The total available photovoltaic (PV) output refers to the sum of the maximum active power output of all grid-connected PV points within the islanded area under current sunlight conditions and equipment status. This data can be obtained from the real-time Maximum Power Point Tracking (MPPT) module of each PV inverter. Total load demand refers to the sum of active power required by all connected electrical equipment within the islanded area at the same time, which can be obtained by aggregating data from smart meters installed at each load node within the islanded area. Matching degree is an indicator used to quantify the balance between PV power supply capacity and load demand. For example, the matching degree M can be expressed as:

[0171]

[0172] Among them, P pv P represents the total available photovoltaic output from multiple grid-connected photovoltaic points within an isolated area. loadThis indicates the total load demand of multiple grid-connected photovoltaic points within an isolated area.

[0173] By calculating the ratio of the minimum total available photovoltaic output to the total load demand, a matching degree value representing the supply-demand balance is obtained. Subsequently, according to a preset mapping relationship, this matching degree value is converted into a load matching degree score between 0 and 100 points. For example, when the matching degree is 1, the score can be 100 points. When the matching degree is below a preset threshold, the load matching degree score decreases linearly. This mapping process reflects the physical law that the tighter the supply-demand balance, the higher the stability of islanded operation.

[0174] (2) Based on the configuration of the photovoltaic grid connection point control device in the isolated area, the control capability score of the isolated area is obtained.

[0175] The control capability score primarily reflects the islanded system's adjustment potential in the face of power fluctuations or load changes. A photovoltaic grid-connected point control device can refer to a combination of equipment configured at the photovoltaic grid-connected point to perform active power regulation, reactive power support, or frequency and voltage control. The determination of this control capability score is based on a verification of the configuration of the control device, specifically:

[0176] By scanning the equipment list of each photovoltaic (PV) grid-connected point, the control function level of each point is identified. If the control device of a PV grid-connected point in the islanded area has a Virtual Synchronous Generator (VSG) function and supports power control, it is determined to have a high level of frequency and voltage regulation capability, and its control capability score is determined to be in the high range (e.g., 90-100 points). If the control device of a PV grid-connected point in the islanded area only has conventional power control (e.g., maximum power limiting, power factor adjustment), its control capability score is determined to be in the medium range (e.g., 70-89 points). If the control device of a PV grid-connected point in the islanded area lacks active control functions and only relies on passive response, its control capability score is determined to be in the low range (e.g., below 50 points). This scoring system intuitively reflects the supporting role of the control device's technical level in the stable operation of the islanded system. The stronger the control capability, the stronger the ability of the islanded system to maintain frequency and voltage stability.

[0177] Furthermore, within each score interval, the specific technical indicators of the control device (such as response time, control accuracy, or adjustment capacity) can be normalized first, and then a comprehensive control performance index with a value range of [0,1] can be synthesized by weighting according to the weights. Subsequently, the comprehensive control performance index is used as the independent variable to perform linear interpolation between the upper and lower limits of the score in the corresponding grade interval, thereby mapping out the specific score value.

[0178] (3) Based on the configuration of anti-islanding protection devices in the island area, the protection configuration score of the island area is obtained.

[0179] The protection configuration score measures the level of security protection in islanded areas during abnormal or unplanned islanding. Anti-islanding protection devices refer to protective equipment used to monitor the power grid status and act quickly upon detecting islanding effects. The determination of this protection configuration score relies on statistical analysis of the completeness of protection configurations within islanded areas, specifically:

[0180] By reading protection setting sheets or equipment configuration tables, the configuration redundancy and response logic of anti-islanding protection devices are identified. If dual main protection is configured (i.e., including at least two sets of protection devices with different principles or independent power supplies), and the fault can be reliably cleared when one protection fails to operate, the protection configuration score is determined to be in the high range (e.g., 90-100 points). If only a single main protection is configured, the protection configuration score is determined to be in the medium range (e.g., 60-89 points). If no dedicated anti-islanding protection is configured, the protection configuration score is determined to be in the low range (e.g., below 60 points). This scoring system transforms the configuration level of physical hardware into numerical safety margins, providing a standardized input basis for subsequent risk quantification.

[0181] Furthermore, within each score interval, the specific technical indicators of the protection device (such as islanding detection action time, absolute error of frequency / voltage setting, and anti-disturbance and anti-maloperation capability) can be normalized first, and then a comprehensive control performance index with a value range of [0,1] can be synthesized by weighting according to the weight. Subsequently, with the comprehensive control performance index as the independent variable, linear interpolation is performed between the upper and lower limits of the score in the corresponding level interval, thereby mapping out the specific score value.

[0182] (4) A comprehensive score is calculated based on the load matching score, control capability score and protection configuration score.

[0183] Understandably, the comprehensive score is a quantitative assessment of the overall operational safety of the isolated area. It can be obtained by weighting and fusing the scores of the three dimensions mentioned above. In other words, the comprehensive score is equal to the sum of the products of the scores of each dimension and their corresponding weights.

[0184] For example, the expression for the comprehensive score can be represented as:

[0185]

[0186] Where S represents the overall score; S load S represents the load matching score. control Indicates control ability score; S protect Indicates the protection configuration score; , as well as These represent the weighting coefficients for the load matching score, the control capability score, and the protection configuration score, respectively. Exemplary It can take the value 0.5. It can take the value 0.3. It can take the value 0.2.

[0187] S302: When the comprehensive score is greater than or equal to the preset threshold, multiple transfer paths are generated based on the fault location and the topology of the isolated area.

[0188] In this step, the preset threshold refers to the criterion threshold used to determine whether an isolated area meets the conditions for resource transfer. It should be noted that this threshold can be fine-tuned online in actual operation based on the dispatcher's experience (such as appropriately raising it during severe weather) to ensure that the generated transfer path can make full use of the existing controllable resources within the isolated area, while avoiding secondary failures due to insufficient margin caused by an excessively low threshold during actual execution. This achieves a dynamic balance between security and recovery efficiency.

[0189] For example, this threshold can be set to 80 points. When the overall score of the isolated area is greater than or equal to 80 points (indicating that the isolated area has sufficient stable operation capability and safety boundary when used as a power transfer source; conversely, if the overall score of the isolated area is less than the preset threshold, it indicates that there is a risk in using the isolated area as a power transfer source, and the subsequent power transfer path generation process will not be executed), multiple power transfer paths are generated based on the fault location and the topology of the isolated area. This is essentially a path search process based on the power grid topology, specifically:

[0190] Using the fault location as the endpoint or critical node, and the feasible interconnection switch connecting the isolated area to the main grid as the starting point, the system traverses all feasible electrical paths from the isolated area to the normal power supply area in the network topology map, taking into account the current real-time operating status of the distribution network (such as switch status and line connectivity). During the search, line segments unavailable due to equipment maintenance, overload, or blocking are excluded, thus selecting several electrically connected transfer paths that meet basic constraints. These paths constitute the candidate solution set for subsequent optimization decisions. By generating multiple paths instead of a single path, the system provides the necessary data foundation for introducing an optimization mechanism in subsequent steps, ensuring that the finally selected transfer solution is optimal or relatively optimal globally.

[0191] Understandably, the purpose of a transfer path is to transfer some or all of the load on an overloaded section to other unloaded lines in order to restore power to users at the fault location and eliminate the risk of overload.

[0192] S303: Based on multiple transfer paths, the optimal transfer path is obtained through a pre-obtained weighted evaluation model.

[0193] The weighted evaluation model is used to select the optimal supply transfer path from multiple candidate paths. This model establishes an evaluation system that includes multiple decision factors, quantifies and scores the overall performance of each supply transfer path, and ultimately determines the supply transfer path with the highest score as the optimal path.

[0194] The construction process of the weighted evaluation model can be as follows: In the offline modeling stage, an evaluation system containing six key decision factors is constructed, namely: line load rate factor, historical failure rate factor, number of recovered users factor, important user weight factor, photovoltaic support capacity factor, and photovoltaic consumption priority factor.

[0195] For each decision factor, its calculation logic and normalization method are defined. The value of each decision factor is mapped to the [0,1] interval to obtain a normalized value, and then a weight coefficient is assigned to each decision factor. The weight coefficient of each decision factor is not fixed but can be dynamically optimized based on a reinforcement learning mechanism using historical operating data from multiple photovoltaic grid-connected points during distribution network faults. The results of power transfer decisions after each fault (such as whether recovery was successful, recovery time, number of restored users, photovoltaic absorption capacity, etc.) are used as reward signals to continuously adjust the weight ratio of each decision factor in the comprehensive score. For example, the load factor weight coefficient can be 0.15, the historical fault rate factor weight coefficient can be 0.10, the number of restored users factor weight coefficient can be 0.25, the important user weight factor weight coefficient can be 0.25, the photovoltaic support capacity factor coefficient weight coefficient can be 0.15, and the photovoltaic absorption priority factor weight coefficient can be 0.10.

[0196] Based on the normalized values ​​of all decision factors for each transfer path and their corresponding weight coefficients, the comprehensive score of each transfer path is calculated, and the transfer path with the highest comprehensive score is determined as the optimal transfer path.

[0197] S304: Distribute the load at the fault location to the lines within the islanded area via the optimal transfer path to perform transfer processing.

[0198] The purpose of load transfer is to restore power by transferring loads that were originally out of power or in an islanded state due to a fault to a new power source. Load distribution refers to the process where user loads originally driven by the faulty area are no longer handled by the faulty power source or line, but are instead transferred to one or more normally operating lines within the islanded area through the optimal transfer path.

[0199] As mentioned above, after the fault isolation operation disconnects the fault point, the distribution network is divided into a fault-outage section, a system-side power supply section, and an islanded section maintained by photovoltaic power. The islanded section maintains stable voltage and frequency due to its independent power generation capability. At this time, if some loads in the fault area are actually on the bypass side upstream or downstream of the fault point and it is confirmed that there is no electrical damage, they can be switched to the islanded section for power supply by closing the tie switch, thereby achieving rapid load restoration.

[0200] Specifically, the distribution master station or fault handling terminal generates a series of switching action commands based on the determined optimal power transfer path. These commands typically include an operation sequence, such as first closing the tie switch to allow the backup power supply to reach the faulty area, and then disconnecting an overloaded or isolated section of the power transfer path, thereby cutting off the faulty area from the original power supply bus and smoothly switching it to the backup line. During operation, the distribution master station or fault handling terminal needs to strictly follow the timing sequence when issuing commands, taking into account the inherent operating time of solid-state switches, fast mechanical switches, or traditional switches, as well as communication delays, to ensure that each switch completes its opening and closing at the correct time, avoiding circulating currents or short-term overloads.

[0201] After the power transfer process is completed, the user equipment in the fault area will be restored to power after the shortest possible power outage time. At the same time, the isolated area will not experience new overload or voltage limit issues due to this power transfer. This fully utilizes the emergency power supply capability of photovoltaic power sources. Under the premise of ensuring the safe and stable operation of the isolated area, the power supply to the non-faulty area is restored to the greatest extent, making up for the power outage losses caused by fault isolation, and further optimizing the fault recovery effect and power supply reliability of the distribution network.

[0202] In one specific implementation of this scheme, after comparison with the power transfer scheme formulated by experts, the power transfer scheme determined by the photovoltaic grid-connected distribution network fault handling method provided in this application has improved the optimization degree by 28.6%, the decision-making process takes an average of 38 seconds, and all schemes have passed the rigorous power flow verification, with the scheme feasibility reaching 100%. This means that each generated power transfer path can be safely executed under the constraints of actual grid operation, without problems such as overload or voltage exceeding the limit.

[0203] The photovoltaic grid-connected distribution network fault handling method provided in this application firstly assesses the islanded area formed after fault isolation by weighted scoring from three dimensions: load matching degree, control capability, and protection configuration, to obtain a comprehensive score, thereby quantitatively evaluating its ability to maintain safe and stable operation. Once the comprehensive score reaches a preset threshold, multiple feasible transfer paths are generated based on the fault location and the topology of the islanded area. A weighted evaluation model, incorporating multiple decision factors such as line load rate, historical fault rate, number of restored users, important user weight, photovoltaic support capability, and absorption priority, is used to dynamically optimize the weights through a reinforcement learning mechanism. The path with the highest score is then selected as the optimal path. Finally, a switching operation is performed according to the optimal path to smoothly transfer the load to the islanded area. This method utilizes the islanded photovoltaic power source as an emergency power source, significantly reducing the outage area and shortening the recovery time, effectively improving power supply reliability, compensating for power interruption losses caused by fault isolation, and enhancing the resilience and intelligence of the distribution network in the face of faults.

[0204] Figure 4 A flowchart illustrating a photovoltaic grid-connected distribution network fault handling method provided in this application. Figure 4 ,like Figure 4 As shown, based on the above embodiment, in S303: based on multiple transfer paths, the optimal transfer path is obtained through a pre-obtained weighted evaluation model, specifically including:

[0205] S401: For each transfer path, calculate the value corresponding to the decision factor of the transfer path.

[0206] In one specific implementation scheme, the calculation of the numerical values ​​corresponding to the decision factors follows a unified lookup table mapping logic. First, the actual operational or evaluation indicator values ​​corresponding to each factor are obtained. Then, based on a pre-obtained mapping relationship table for that type of factor, the continuous or discrete indicator values ​​are directly converted into a standardized score, which serves as the numerical value corresponding to that decision factor. Each decision factor corresponds to a mapping relationship table, and each mapping relationship table includes historical operational statistics for its corresponding indicator and its corresponding score, which can be out of ten or out of one hundred, etc.

[0207] Specifically, the line load rate factor takes the current real-time load rate of the line as input and obtains the corresponding score through a preset load rate-score mapping table; the historical fault rate factor takes the frequency of fault occurrence of the line in the past statistical period as input and obtains the corresponding score by referring to a preset fault rate-score mapping table; the number of restored users factor is based on the number of users whose power supply can be restored affected by the current fault or operation, and obtains the score by querying the number of restored users-score mapping table; the important user weight factor is assigned a score based on the level of important power users involved (such as special grade, first grade, second grade, etc.) and their number, through a preset important user level weight-score mapping relationship; the photovoltaic support capacity factor can be based on the actual adjustable output of the current photovoltaic power generation system and obtains the score by referring to the historical adjustable output-score mapping table of photovoltaic power generation systems; the photovoltaic absorption priority factor can be based on the real-time power generation utilization rate of the photovoltaic power station and determine its score through a preset power generation utilization rate-score mapping table. The values ​​corresponding to all decision factors are independently determined by their respective mapping tables and are not coupled with each other.

[0208] S402: Calculate the comprehensive score of the transfer path based on the numerical values ​​and the optimal weight coefficients corresponding to the pre-acquired decision factors.

[0209] First, the values ​​corresponding to each decision factor are normalized to obtain normalized values ​​for each decision factor. For example, the normalization process can be expressed as follows: , where f i X represents the normalized value corresponding to the i-th decision factor; i Let represent the value corresponding to the i-th decision factor; D represents the upper limit of the full score. If the value corresponding to the decision factor is a ten-point value, then D=10; if the value corresponding to the decision factor is a hundred-point value, then D=100.

[0210] The optimal weight coefficient is used to characterize the relative importance of different decision factors in the process of power transfer path selection. Its value is determined in advance by a reinforcement learning mechanism algorithm based on the historical operation data of multiple photovoltaic grid-connected points during distribution network faults, and the sum of the optimal weight coefficients of all factors is 1.

[0211] Specifically, the optimal weighting coefficients can be configured according to the principle of prioritizing the restoration of power supply to important users while ensuring power supply security. For example, important user weighting factors and restored user number factors are assigned higher weights to ensure rapid restoration of core loads. Specific values ​​for the weighting coefficients could be: load rate factor weighting coefficient of 0.15, historical failure rate factor weighting coefficient of 0.10, restored user number factor weighting coefficient of 0.25, important user weighting factor weighting coefficient of 0.25, photovoltaic support capacity factor weighting coefficient of 0.15, and photovoltaic grid integration priority factor weighting coefficient of 0.10.

[0212] Therefore, the expression for the overall score can be represented as:

[0213]

[0214] Among them, S scheme This represents the overall score of transfer path i; N represents the total number of decision factors, in this embodiment, N=6; w i f represents the weight coefficient of the i-th decision factor, with a value range of [0,1]; i This represents the normalized value of the i-th decision factor, with a value range of [0,1].

[0215] S403: The transfer path with the highest comprehensive score is determined as the optimal transfer path.

[0216] The comprehensive scores of all transfer paths calculated in the above steps are ranked, and the transfer path with the highest score is selected as the optimal transfer path. This selection mechanism avoids the subjective arbitrariness of human decision-making and ensures that the final selected transfer path is based on objective and quantitative evaluation results.

[0217] The photovoltaic grid-connected distribution network fault handling method provided in this application first calculates the specific values ​​of six key decision factors (line load rate, historical fault rate, number of restored users, weight of important users, photovoltaic support capacity, and photovoltaic consumption priority) for each candidate power transfer path; then, these values ​​are combined with the optimal weight coefficients that have been dynamically optimized based on historical operating data through a reinforcement learning mechanism to calculate the quantitative comprehensive score of each power transfer path; finally, the power transfer path with the highest comprehensive score is determined as the optimal power transfer path.

[0218] This embodiment comprehensively evaluates the technical feasibility, economic efficiency, and environmental friendliness of the power transfer path. While ensuring the safe and stable operation of the power grid, it effectively improves the absorption level of new energy sources such as photovoltaics, and realizes the transformation of fault handling decisions from simply ensuring power supply to the dual goals of ensuring power supply and promoting absorption.

[0219] Figure 5 A flowchart illustrating a photovoltaic grid-connected distribution network fault handling method provided in this application. Figure 5 ,like Figure 5 As shown, based on the above embodiments, the photovoltaic grid-connected distribution network fault handling method further includes:

[0220] S501: Construct a state space based on the fault type at the fault location, the total photovoltaic capacity of multiple photovoltaic grid-connected points within the islanded area, and the total load demand.

[0221] In this step, the state space forms the basis for the agent's perception of the power distribution network operating environment in the reinforcement learning algorithm. This state space can be represented as a high-dimensional state vector composed of fault characteristics (fault types) and energy supply and demand characteristics (total photovoltaic capacity and total load demand).

[0222] Specifically, the fault types in this high-dimensional state vector can include three-phase short circuits, two-phase short circuits, single-phase grounding faults, and open-circuit faults; the total photovoltaic capacity and total load demand reflect the upper limit of the supporting potential of distributed power sources and the power gap in the islanded area after fault isolation. After obtaining the above features, they are mapped to a standardized state vector: for example, one-hot encoding is used to handle discrete fault types, and the continuous total photovoltaic capacity and total load demand are normalized. The resulting complete state space description provides accurate contextual information for subsequent decision evaluation.

[0223] S502: Construct the action space based on the adjustment operation of the weight coefficients corresponding to the decision factors.

[0224] The action space defines all possible actions that an agent can take in a specific state in a reinforcement learning algorithm, that is, the adjustment strategy for the weight coefficients of each decision factor in a weighted evaluation model.

[0225] For example, the action space can be defined as the set of increments for fine-tuning the current weight coefficient vector, expressed as: ,in, This represents the adjustment step size of the weight coefficient of the i-th decision factor, where i = 1, 2, 3, ..., N. In this embodiment, N = 6. The value range of each incremental element can be limited to a preset interval, such as [-0.05, 0.05], to ensure the smoothness and convergence of the adjustment process, while ensuring that the sum of all adjusted weight coefficients satisfies the normalization constraint. By defining this action space, the reinforcement learning algorithm can explore different weight combinations in each iteration, thereby finding the optimal weight allocation scheme that adapts to a specific state space.

[0226] S503: Construct a reward function based on the power restoration time, the number of restored users, and the photovoltaic absorption capacity after the power transfer process is executed.

[0227] The reward function, as the core feedback mechanism guiding the agent's optimization strategy in reinforcement learning algorithms, is used to quantitatively evaluate the actual effect of the power transfer scheme generated after performing a certain action (i.e., adjusting the weight coefficients) under a specific state. The construction of this function depends on the key performance indicators after the power transfer process is executed, specifically including the power restoration time, the number of users restored, and the photovoltaic power consumption.

[0228] For example, the expression for the reward function can be:

[0229]

[0230] Where R represents the reward function; T represents the power restoration time; K represents the number of users whose power has been restored; P pv This represents the total available photovoltaic output from multiple grid-connected photovoltaic points within an isolated area; , , These represent the balance coefficients of each indicator. The design logic of this reward function aims to ensure that the power transfer path with shorter power restoration time, more restored users, and larger photovoltaic absorption capacity receives a higher reward value (i.e., a smaller loss function value), thereby guiding the algorithm to update weights in a direction that improves overall efficiency.

[0231] S504: Based on the state space, action space, and reward function, the optimal set of weight coefficients is obtained through iterative updates using a reinforcement learning algorithm; wherein, the optimal set of weight coefficients includes the optimal weight coefficients corresponding to the decision factors.

[0232] The agent is trained using reinforcement learning algorithms, such as Q-Learning, Deep Q-Network (DQN), or policy gradient algorithms, through continuous interaction with the environment. In each iterative update, the agent first initializes a set of empirical weights as a starting point. In each iteration, the agent perceives various data points in the state space based on the current policy, for example, using… The strategy determines whether to rely on existing experience to select the action with the highest expected reward, or to randomly try new incremental combinations. An action is selected from the action space, i.e., the weighting coefficients are adjusted. The adjusted weighting coefficients are applied to recalculate the overall score of the transfer path and execute the transfer process, then the reward function is calculated based on the actual execution results.

[0233] Upon receiving the reward signal, the agent enters the core parameter update phase. If a value function-based method like Q-Learning is used, the agent calculates the time difference error based on the current state and the selected action, and updates the corresponding entry in the Q-value table accordingly. This ensures that the estimated value of choosing the action in the next state is closer to the actual reward. If a deep Q-network is used, the "state, action, reward, next state" quadruple generated from the current interaction is stored in an experience replay pool. Small batches of samples are then randomly selected for batch learning, fine-tuning the neural network's internal parameters by minimizing the mean squared error between the target network and the current network's output. If a policy gradient algorithm is used, the policy network parameters are updated directly along the direction of increasing the expected cumulative reward, increasing the probability of selecting actions that bring high rewards.

[0234] As the number of iterations increases, the agent experiences increasingly diverse fault scenarios, and its decision-making criteria gradually shift from random exploration to targeted utilization. After each iteration, new weight coefficients are retained as the starting point for the next round, while the trend of cumulative reward changes is continuously monitored. After thousands or even tens of thousands of iterations, the reward value converges within a stable high range, at which point the weight coefficients no longer fluctuate drastically. This indicates that the agent has fully grasped the relative importance of each decision factor under different power grid topologies and fault conditions. Finally, the optimal weight coefficient set, which stably guides the agent to make optimal power transfer decisions, is extracted. Compared to fixed weights, this method significantly enhances adaptability and robustness to complex and changing environments.

[0235] In one specific implementation of this scheme (where photovoltaic output fluctuates greatly during the high temperatures of summer), the reinforcement learning algorithm continuously interacts with the environment to progressively and adaptively adjust the weight ratios of each decision factor in the weighted evaluation model. Initially, the weight coefficients of the photovoltaic support capability factor and the load factor are set to 0.15 and 0.15, respectively. After the first iteration, facing a low overall score for the power transfer path due to a sudden drop in photovoltaic output, the agent analyzes the negative reward value (-5) from the reward function feedback and lowers the weight coefficient of the photovoltaic support capability factor from 0.15 to 0.12 to reduce its influence on the overall score and avoid over-reliance on unstable photovoltaic power sources. In the second iteration, encountering peak load conditions, the load factor becomes a key bottleneck restricting power transfer security. Based on the positive reward (+8) obtained from the execution result, the agent increases the weight coefficient of the load factor from 0.15 to 0.18, reinforcing the emphasis on line carrying capacity. As the iteration rounds increased to the tenth round, after repeated trial and error and parameter updates, it finally converged to a stable set of optimal weight coefficients: the weight coefficient of the photovoltaic support capacity factor decreased to 0.11, the weight coefficient of the load factor increased to 0.20, and the weight coefficient of the number of restored users reached 0.26. This indicates that in the summer scenario, the weighted evaluation model prioritizes power supply security and the scale of user restoration, while assigning a relatively conservative weight to the photovoltaic support capacity, which has greater volatility.

[0236] The overall learning results show that the algorithm can keenly capture seasonal operating characteristics. During the high temperatures of summer, it significantly increases the weight of load factor to adapt to peak electricity demand. In winter, when photovoltaic output is relatively stable and the proportion of heating load is high, it adjusts the weight structure accordingly, so that the weighted evaluation model can maintain optimal decision performance in different seasons. This fully demonstrates the superiority of reinforcement learning in autonomous evolution in complex time-varying environments.

[0237] The photovoltaic grid-connected distribution network fault handling method provided in this application first constructs a high-dimensional state space covering fault characteristics and energy supply and demand dimensions, based on the discrete characteristics of fault types and the continuous energy supply and demand characteristics such as the total photovoltaic capacity and total load level in the isolated area. This state space is then standardized using one-hot encoding and normalization. Next, the incremental set of weight coefficients corresponding to the six decision factors in the weighted evaluation model is defined as the action space. Simultaneously, a reward function is constructed based on the power restoration time, the number of restored users, and the photovoltaic absorption after the transfer processing is executed, so that the scheme with shorter restoration time, more restored users, and greater photovoltaic absorption receives a higher reward value. Finally, the agent repeatedly interacts with the simulation environment through reinforcement learning algorithms such as Q-Learning, deep Q-networks, or policy gradient algorithms. In each iteration, it perceives the current policy state and selects actions to adjust weights. It updates the Q-value table or neural network parameters based on the reward signal obtained after the transfer. After thousands to tens of thousands of iterations, the reward value converges within a stable high range. The extracted weight coefficients at this point represent the optimal set of weight coefficients that can stably guide the optimal transfer decision.

[0238] This embodiment overcomes the limitations of traditional fixed-weight models in adapting to complex and ever-changing power grid conditions by using the autonomous trial-and-error and continuous evolution mechanism of reinforcement learning. It enables the weight coefficients of decision factors to be dynamically adjusted according to different fault types, photovoltaic output, and load levels, significantly enhancing the algorithm's adaptability and robustness to different operating scenarios, thereby improving the success rate, economy, and security of the power transfer scheme.

[0239] Figure 6 This application provides a schematic diagram of the structure of a photovoltaic grid-connected distribution network fault handling device, as shown below. Figure 6 As shown, the photovoltaic grid-connected distribution network fault handling device 60 provided in this embodiment includes:

[0240] The first processing module 601 is used to acquire the operating data of multiple photovoltaic grid-connected points when the distribution network fails.

[0241] The second processing module 602 is used to calculate the total fault current contribution value of multiple photovoltaic grid-connected points during the distribution network fault based on the operating data.

[0242] The third processing module 603 is used to determine the fault location based on the total fault current contribution value and the fault current measured by the protection device.

[0243] The fourth processing module 604 is used to perform fault isolation processing based on the fault location.

[0244] In one possible implementation, the operating data includes output current, power factor, and photovoltaic grid connection point type, and the second processing module 602 is specifically used for:

[0245] For each photovoltaic grid connection point, a photovoltaic type correction coefficient is determined based on the photovoltaic grid connection point type;

[0246] Based on the photovoltaic type correction coefficient and power factor, the current contribution value of the photovoltaic grid connection point during the distribution network fault is calculated.

[0247] The total fault current contribution value is calculated based on the current contribution value of each photovoltaic grid-connected point during the distribution network fault.

[0248] In one possible implementation, the photovoltaic grid connection point types include centralized photovoltaic, string photovoltaic, and residential photovoltaic, and the second processing module 602 is further used for:

[0249] If the photovoltaic grid connection point type is centralized photovoltaic, then the photovoltaic type correction factor is determined to be the first correction factor;

[0250] If the photovoltaic grid connection point type is string photovoltaic, then the photovoltaic type correction factor is determined to be the second correction factor;

[0251] If the photovoltaic grid connection point type is residential photovoltaic, then the photovoltaic type correction factor is determined to be the third correction factor;

[0252] Among them, the first correction factor is greater than the second correction factor, and the second correction factor is greater than the third correction factor.

[0253] In one possible implementation, the third processing module 603 is specifically used for:

[0254] The fault current is corrected based on the total fault current contribution value to obtain the corrected current;

[0255] Based on the corrected current, the fault distance between the fault point and the protection device is calculated using the impedance method.

[0256] In one possible implementation, the photovoltaic grid-connected distribution network fault handling device 60 further includes a fifth processing module 605, used for:

[0257] For the isolated areas obtained after fault isolation processing, a comprehensive score for the isolated areas is determined based on preset scoring rules;

[0258] When the overall score is greater than or equal to a preset threshold, multiple transfer paths are generated based on the fault location and the topology of the isolated area;

[0259] Based on multiple transfer paths, the optimal transfer path is obtained through a pre-obtained weighted evaluation model;

[0260] The load at the fault location is distributed to the lines within the islanded area via the optimal transfer path to perform transfer processing.

[0261] In one possible implementation, the fifth processing module 605 is specifically used for:

[0262] Based on the matching degree between the total available photovoltaic output and the total load demand of multiple photovoltaic grid-connected points within the isolated area, a load matching degree score for the isolated area is obtained.

[0263] Based on the configuration of the photovoltaic grid connection point control device in the isolated area, the control capability score of the isolated area is obtained;

[0264] Based on the configuration of anti-islanding protection devices within the island area, a protection configuration score for the island area is obtained;

[0265] A comprehensive score is calculated based on the load matching score, control capability score, and protection configuration score.

[0266] In one possible implementation, the decision factors of the weighted evaluation model include line load rate factor, historical failure rate factor, number of recovered users factor, important user weight factor, photovoltaic support capacity factor, and photovoltaic consumption priority factor.

[0267] The fifth processing module 605 is also specifically used for:

[0268] For each transfer path, the value corresponding to the decision factor of the transfer path is calculated;

[0269] Based on the numerical values ​​and the optimal weight coefficients corresponding to the pre-acquired decision factors, the comprehensive score of the transfer path is calculated.

[0270] The transfer path with the highest overall score is determined as the optimal transfer path.

[0271] In one possible implementation, the photovoltaic grid-connected distribution network fault handling device 60 further includes a sixth processing module 606, used for:

[0272] Based on the fault location, fault type, total photovoltaic capacity of multiple grid-connected photovoltaic points within the isolated area, and total load demand, a state space is constructed.

[0273] An action space is constructed based on the adjustment of the weight coefficients corresponding to the decision factors;

[0274] A reward function is constructed based on the power restoration time, the number of users restored, and the photovoltaic consumption after the power transfer process is executed.

[0275] Based on the state space, action space, and reward function, the optimal set of weight coefficients is obtained through iterative updates using a reinforcement learning algorithm; the optimal set of weight coefficients includes the optimal weight coefficients corresponding to the decision factors.

[0276] The photovoltaic grid-connected distribution network fault handling device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described again in this embodiment.

[0277] Figure 7 A schematic diagram of the structure of an electronic device provided in this application, such as... Figure 7 As shown, the electronic device 70 provided in this embodiment includes at least one processor 701 and a memory 702. Optionally, the electronic device 70 further includes a communication component 703. The processor 701, memory 702, and communication component 703 are connected via a bus 704.

[0278] In a specific implementation, at least one processor 701 executes computer execution instructions stored in memory 702, causing at least one processor 701 to perform the above-described method.

[0279] The specific implementation process of processor 701 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0280] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0281] The memory may include random access memory (RAM) in high-speed memory, and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0282] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0283] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0284] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0285] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random-Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0286] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside within an ASIC. Alternatively, the processor and the readable storage medium can exist as discrete components in a device.

[0287] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0288] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0289] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0290] If a function is implemented as 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 this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0291] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0292] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope.

Claims

1. A method for handling faults in a photovoltaic grid-connected distribution network, characterized in that, include: Acquire operational data from multiple photovoltaic grid-connected points during power distribution network faults; Based on the operational data, the total fault current contribution value of the multiple photovoltaic grid-connected points during the distribution network fault is calculated. The fault location is determined based on the total fault current contribution value and the fault current measured by the protection device. Based on the location of the fault, fault isolation procedures are performed.

2. The method according to claim 1, characterized in that, The operating data includes output current, power factor, and photovoltaic grid connection point type. Based on the operating data, the total fault current contribution value of the multiple photovoltaic grid connection points during distribution network faults is calculated, including: For each photovoltaic grid connection point, a photovoltaic type correction coefficient is determined based on the photovoltaic grid connection point type; Based on the photovoltaic type correction coefficient and the power factor, the current contribution value of the photovoltaic grid connection point during the distribution network fault is calculated. The total fault current contribution value is calculated based on the current contribution value of each photovoltaic grid-connected point during the distribution network fault.

3. The method according to claim 2, characterized in that, The photovoltaic grid connection point types include centralized photovoltaic, string photovoltaic, and residential photovoltaic. For each photovoltaic grid connection point, determining the photovoltaic type correction coefficient based on the photovoltaic grid connection point type includes: If the photovoltaic grid connection point type is centralized photovoltaic, then the photovoltaic type correction factor is determined to be the first correction factor; If the photovoltaic grid connection point type is string photovoltaic, then the photovoltaic type correction factor is determined to be the second correction factor; If the photovoltaic grid connection point type is residential photovoltaic, then the photovoltaic type correction factor is determined to be the third correction factor; Wherein, the first correction coefficient is greater than the second correction coefficient, and the second correction coefficient is greater than the third correction coefficient.

4. The method according to any one of claims 1 to 3, characterized in that, Determining the fault location based on the total fault current contribution value and the fault current measured by the protection device includes: The fault current is corrected based on the total fault current contribution value to obtain the corrected current; Based on the corrected current, the fault distance between the fault point and the protection device is calculated using the impedance method.

5. The method according to any one of claims 1 to 3, characterized in that, The method further includes: For the isolated areas obtained after fault isolation processing, a comprehensive score for the isolated areas is determined based on preset scoring rules; When the overall score is greater than or equal to a preset threshold, multiple transfer paths are generated based on the fault location and the topology of the isolated area; Based on the multiple transfer paths, the optimal transfer path is obtained through a pre-obtained weighted evaluation model; The load at the fault location is distributed to the lines within the island area via the optimal transfer path to perform transfer processing.

6. The method according to claim 5, characterized in that, The comprehensive score of the isolated area is determined based on preset scoring rules, including: Based on the matching degree between the total available photovoltaic output and the total load demand of multiple photovoltaic grid-connected points in the isolated area, a load matching degree score for the isolated area is obtained. Based on the configuration of the photovoltaic grid-connected control devices in the isolated area, a control capability score for the isolated area is obtained; Based on the configuration of anti-islanding protection devices within the islanded area, a protection configuration score for the islanded area is obtained; The comprehensive score is calculated based on the load matching score, the control capability score, and the protection configuration score.

7. The method according to claim 5, characterized in that, The decision factors of the weighted evaluation model include line load rate factor, historical failure rate factor, number of restored users factor, important user weight factor, photovoltaic support capacity factor, and photovoltaic consumption priority factor. The process of obtaining the optimal transfer path based on the multiple transfer paths using a pre-acquired weighted evaluation model includes: For each transfer path, the value corresponding to the decision factor of the transfer path is calculated; Based on the numerical value and the optimal weight coefficients corresponding to the decision factors obtained in advance, the comprehensive score of the transfer path is calculated. The transfer path with the highest overall score is determined as the optimal transfer path.

8. The method according to claim 7, characterized in that, The method further includes: Based on the fault location, fault type, total photovoltaic capacity of multiple grid-connected photovoltaic points within the isolated area, and total load demand, a state space is constructed. An action space is constructed based on the adjustment of the weight coefficients corresponding to the decision factors; A reward function is constructed based on the power restoration time, the number of users restored, and the photovoltaic consumption after the power transfer process is executed. Based on the state space, the action space, and the reward function, an optimal set of weight coefficients is obtained through iterative updates using a reinforcement learning algorithm; wherein, the optimal set of weight coefficients includes the optimal weight coefficients corresponding to the decision factors.

9. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1 to 8.