Fault transfer method and device, computer equipment, storage medium and program product
By obtaining the operating data and fault traveling wave signals of the distributed power grid, accurately determine the fault type and location, and failover according to preset policies, the problems of failover calculation complexity and low efficiency in the distributed power grid are solved, and fast and accurate fault diagnosis and transfer are achieved.
Patent Information
- Application Number
- CN202510102294.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-22
- Publication Date
- 2025-05-16
AI Technical Summary
In distributed power grids, the existing fault detection and positioning technologies have poor accuracy, resulting in inaccurate judgments on the types of faults and differentiated judgments, which in turn increases the computational complexity of failover and reduces the computational efficiency.
By obtaining the operating data of the distributed grid and the fault traveling wave signal, the target fault type and fault location are determined, and failover is carried out according to the preset fault recovery strategy. Specific steps include obtaining operational data and fault traveling signals, determining the fault type and location, selecting the appropriate fault recovery policy, and performing recovery operations to transfer the service of the fault location.
It realizes accurate diagnosis and rapid transfer of faults in distributed power grids, reduces the computational complexity during the failover process, improves computing efficiency, and ensures the stable operation of distributed power grids.
Smart Images

Figure CN120016451A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of distributed power grids, and in particular to a fault transfer method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] In the power system, with the rapid development of new energy distributed power generation technology, many distributed power sources are connected to the distribution network, which also brings more faults to the power grid, especially more challenges to fault transfer. In fault transfer technology, since the existing fault detection and location technology relies on specific equipment or fault indicators, when performing fault transfer, it is necessary to first determine the fault type and phase difference. However, due to various factors, the fault can only be roughly located, resulting in poor accuracy in determining the fault type and phase difference.
[0003] In the related art, the distributed power grid is divided by using the island partitioning technology, and then the fault transfer is performed. The island partitioning technology generally includes the planned islanding technology and the unplanned islanding technology. However, the above method has the problems of complex calculation and low calculation efficiency in the fault transfer application of the distributed power grid. Summary of the invention
[0004] Based on this, it is necessary to provide a fault transfer method, device, computer equipment, computer-readable storage medium and computer program product that reduce computational complexity and improve computational efficiency in fault transfer applications of distributed power grids in response to the above technical problems.
[0005] In a first aspect, the present application provides a failover method. The method comprises:
[0006] In the event of a fault in the distributed power grid, obtaining operation data and a fault traveling wave signal of the distributed power grid;
[0007] Determine a target fault type corresponding to the operating data according to the operating data, and determine a fault position corresponding to the operating data according to the fault traveling wave signal;
[0008] According to the target fault type, the fault location and a preset fault recovery strategy, a service corresponding to the fault location is failed over.
[0009] In one embodiment, the distributed power grid further includes a non-fault location other than the fault location, and the performing a failover on a service corresponding to the fault location according to the target fault type, the fault location, and a preset fault recovery strategy includes:
[0010] Determining a target fault recovery strategy from the fault recovery strategies according to the target fault type;
[0011] Determining a recovery operation according to the target fault recovery strategy;
[0012] According to the recovery operation, the service of the faulty location is transferred to the non-faulty location.
[0013] In one embodiment, transferring the service of the fault location to the non-fault location according to the recovery operation includes:
[0014] The faulty device included in the faulty position is turned off according to the recovery operation, and the non-faulty device included in the non-faulty position is turned on according to the recovery operation.
[0015] In one embodiment, determining the fault location corresponding to the operation data according to the fault traveling wave signal includes:
[0016] Acquire multiple fault traveling wave signals, and determine the propagation speed and arrival time of each of the fault traveling wave signals;
[0017] Calculating the time difference between the arrival times, and determining the fault area according to the time difference and the propagation speeds;
[0018] The impedance value of each fault point in the fault area is obtained, and the fault position is determined according to each impedance value.
[0019] In one embodiment, after transferring the service of the faulty location to the non-faulty location according to the recovery operation, the method further includes:
[0020] Establishing a power prediction model according to the operating status of the distributed power grid, the energy storage device and the dynamic characteristics of the load;
[0021] Acquire a target operating state of the distributed power grid within a preset time period, and determine an optimization objective function according to the target operating state;
[0022] The power corresponding to the fault location is determined according to the power prediction model and the optimization objective function.
[0023] In one embodiment, the method further comprises:
[0024] Acquiring the operating data of the fault location and the operating data of the non-fault location;
[0025] determining a power control strategy according to a difference between the operating data of the fault location and the operating data of the non-fault location;
[0026] Power synchronization is performed on the power corresponding to the fault location and the power corresponding to the non-fault location according to the power control strategy.
[0027] In a second aspect, the present application also provides a failover device. The device comprises:
[0028] A first acquisition module is used to acquire the operation data and the fault traveling wave signal of the distributed power grid when there is a fault in the distributed power grid;
[0029] A first determination module, configured to determine a target fault type corresponding to the operation data according to the operation data, and determine a fault position corresponding to the operation data according to the fault traveling wave signal;
[0030] The failover module is used to failover the service corresponding to the fault location according to the target fault type, the fault location and a preset fault recovery strategy.
[0031] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method described in the first aspect are implemented.
[0032] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0033] In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0034] In the above-mentioned fault transfer method, apparatus, computer equipment, computer-readable storage medium and computer program product, when a fault occurs in the distributed power grid, the server obtains the operating data and fault traveling wave signal of the distributed power grid, then determines the target fault type corresponding to the operating data based on the operating data, and determines the fault location corresponding to the operating data based on the fault traveling wave signal, and then, based on the target fault type, fault location and a preset fault recovery strategy, performs fault transfer on the service corresponding to the fault location. Since the process of fault transfer is rapid and accurate in determining the target fault type based on the operating data and the process of determining the fault location corresponding to the operating data based on the fault traveling wave signal, the service at the fault location can be rapidly transferred to a non-fault location in combination with the fault recovery strategy, thereby achieving accurate diagnosis and rapid transfer of faults in the distributed power grid, reducing the computational complexity of the fault transfer process, and thereby improving computational efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 An application environment diagram of a failover method in an embodiment;
[0037] Figure 2 A schematic diagram of a process flow of a failover method in an embodiment;
[0038] Figure 3 is a flow chart of step 203 in one embodiment;
[0039] Figure 4 is a flow chart of step 202 in one embodiment;
[0040] Figure 5 is a flowchart of a failover method in another embodiment;
[0041] Figure 6 is a flowchart of a failover method in another embodiment;
[0042] Figure 7 is a structural block diagram of a failover device in one embodiment;
[0043] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0045] A distributed power grid is an electric power system based on distributed energy sources, such as solar photovoltaic, wind power, small hydropower, fuel cells, etc., combined with smart grid technology. It deploys small power generation equipment at the user end to directly supply power to local or regional users, reducing dependence on a single large power station and improving the reliability of energy supply. Since a distributed power grid includes multiple distributed power sources, due to the complex characteristics of the fault current, if a fault occurs, fault detection and location must be performed before fault transfer. Fault transfer refers to the automatic or manual transfer of the functions or services of a part of the distributed power grid to a spare system part when a device, line or area in the distributed power grid fails, so as to ensure the normal operation of the system and the continuity of services.
[0046] Distributed power grids are usually divided by island partitioning technology. However, when performing fault transfer, there will be problems of complex calculations and low calculation efficiency. In the existing technology, fault transfer can also be performed through intelligent algorithms. However, there are coding problems with intelligent algorithms and they cannot accurately represent distributed power grids. At the same time, intelligent algorithms are insufficient in modeling the uncertainty of distributed power sources and loads, and cannot accurately grasp the status and changes of distributed power sources and loads, resulting in inaccurate fault location and fault recovery calculations, low efficiency, and difficulty in achieving fast, accurate, and efficient fault transfer in distributed power grids with complex grid structures. For example, Kubernetes is a platform that can manage the deployment, scaling, and fault recovery of distributed applications and manage power grid-related software services. However, when the distributed power grid includes a large number of physical devices and has high real-time requirements, Kubernetes has limited control over physical devices and cannot meet the distributed power grid's requirements for reliability, security, and real-time performance of fault transfer.
[0047] In view of this, the present application proposes a fault transfer method to reduce computational complexity and improve computational efficiency in fault transfer applications of distributed power grids.
[0048] The failover method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the server 102 communicates with the sensor 104 deployed in the distributed power grid through the network. The data storage system can store the data that the server 102 needs to process. The data storage system can be integrated on the server 102, or it can be placed on the cloud or other network servers. In the event of a fault in the distributed power grid, the server can obtain the operating data and fault traveling wave signal of the distributed power grid, and then determine the target fault type corresponding to the operating data based on the operating data, and determine the fault location corresponding to the operating data based on the fault traveling wave signal, and then, according to the target fault type, fault location and preset fault recovery strategy, the service corresponding to the fault location is failed over. Among them, the server 102 can be implemented as an independent server or a server cluster consisting of multiple servers. The sensor 104 can be a voltage sensor, a current sensor, a phase sensor, etc.
[0049] In an exemplary embodiment, Figure 2 As shown, a failover method is provided, which is applied to Figure 1 The server in the example is used to illustrate the following steps:
[0050] Step 201 : when a distributed power grid has a fault, obtain operation data and a fault traveling wave signal of the distributed power grid.
[0051] Among them, the fault of the distributed power grid can manifest as voltage fluctuation, frequency anomaly, current distortion, etc. Therefore, when a fault is detected in the distributed power grid, the current operating data of the distributed power grid and the fault traveling wave signal can be obtained to accurately locate the location of the fault, thereby transferring the service at the fault location to a non-fault location.
[0052] The operation data includes the voltage, current, frequency, power factor, phase angle and other electrical parameters of the distributed power grid. Optionally, the output characteristic data such as the output power, output voltage assignment and frequency range of the distributed power source of the distributed power grid, as well as the operating status information such as the temperature and working mode of the power equipment can also be obtained.
[0053] Among them, the traveling wave signal refers to a voltage or current signal propagating along the transmission line, whose amplitude changes exponentially along the propagation direction, and whose phase changes linearly along the transmission line. In the power system, the traveling wave signal is an electromagnetic wave signal generated by the fault point and propagated to both sides of the line. When a line fails, the fault point will generate a traveling wave signal propagating to both sides. By measuring the time difference between the traveling wave reaching different measurement points, the precise location of the fault point can be calculated. In this embodiment, the traveling wave signal in the case of a fault in the distributed power grid is used as the fault traveling wave signal.
[0054] In this embodiment, the server can obtain in real time the operating data and fault traveling wave signals measured by sensors from sensors and communication devices deployed in distributed power sources, distribution network line nodes, power load terminals, etc. in the distributed power grid.
[0055] Step 202 : determining a target fault type corresponding to the operating data according to the operating data, and determining a fault position corresponding to the operating data according to the fault traveling wave signal.
[0056] The target fault type refers to the type of power fault corresponding to the operation data. For example, the fault type may be a device fault of a transformer, switch, or other equipment, or a line fault such as a short circuit fault, a short line fault, or a ground fault, or an undervoltage fault, an abnormal frequency fault, or a mixed fault. The fault location refers to the area where the fault occurs in the distributed power grid. In this embodiment, the fault location may be divided into an island system.
[0057] In this embodiment, the server may input the operation data into a preset fault diagnosis model, use the output of the fault diagnosis model as the target fault type, and determine the fault location according to the time difference from the fault traveling wave signal to the acquisition location.
[0058] The following is a detailed description of the process of determining the target fault type using operating data and a preset fault diagnosis model:
[0059] S1, the Grubbs criterion is used to identify outliers in the operating data, and the linear interpolation or cubic spline interpolation method is used to correct the outliers according to the historical trend of the data and the relationship between adjacent data points to obtain the outliers corrected operating data.
[0060] S2, performing data cleaning on the abnormally corrected operating data to remove abnormal data, wherein the abnormal data may include invalid data, data that does not match the configuration of the distributed power grid, and data with transmission error characteristics, to obtain pre-processed operating data.
[0061] S3, using the standardized formula The preprocessed operating data of different physical dimensions are standardized, where: is the standardized data, is the original data, is the original data mean, is the standard deviation of the original data, and the standardized running data is obtained.
[0062] S4, using the principal component analysis algorithm to extract feature vectors that can characterize the operating status of the distributed power grid from the standardized operating data, the feature vectors include steady-state operating characteristics, dynamic change trends, and potential fault characteristics.
[0063] S5, calculating the Pearson correlation coefficient between each eigenvector, and determining the eigenvector whose absolute correlation value is greater than a set threshold as a strongly correlated eigenvector.
[0064] S6, using principal component analysis to perform dimensionality reduction processing on the strongly correlated feature vectors to obtain feature vectors after dimensionality reduction processing.
[0065] S7, input the feature vector after dimension reduction processing into the fault diagnosis model and output the fault type.
[0066] It is understandable that standardizing the operating data can not only reduce the impact caused by differences in dimensions and orders of magnitude between different data, but also unify the presentation of the data, facilitate subsequent data processing and feature extraction operations, and provide a better basis for the accurate operation of the algorithm and the extraction of feature vectors, avoiding deviations in the analysis of data with different physical dimensions and orders of magnitude or affecting the final analysis results.
[0067] The following is a detailed description of the training process of the fault diagnosis model:
[0068] S1, collects historical operation data of distributed power grids under various normal operating conditions and different types of fault conditions, and divides them into training sample sets and test sample sets. The ratio of training sample sets to test sample sets is 7:3 to 8:2.
[0069] S2, randomly initialize the weights and biases of the initial fault diagnosis model, set the number of hidden layers to 2 to 5, and reasonably determine the number of nodes in each layer based on the number of input features and the number of output fault types; select the kernel function of the support vector machine algorithm and initialize the kernel function parameters; determine the maximum depth and minimum sample split number of the decision tree algorithm. For example, the kernel function can be a radial basis function.
[0070] S3, use the training sample set to train the initial fault diagnosis model, support vector machine and decision tree model respectively, use k-fold cross validation during the training process to evaluate the generalization ability of the model during the training process, and adjust the model parameters according to the validation results; for example, the k value can be 3 to 5.
[0071] S4, using the weighted voting method to fuse the trained initial fault diagnosis model, support vector machine and decision tree model, determine the weighting coefficient according to the accuracy of each model on the test sample set, optimize the fused model as a whole, and obtain the trained fault diagnosis model.
[0072] Step 203: perform a failover on the service corresponding to the fault location according to the target fault type, the fault location, and a preset fault recovery strategy.
[0073] Among them, the fault recovery strategy refers to the strategy for recovering from the fault situation. Different fault recovery strategies can correspond to different fault types. It can be understood that in the event of a fault in the distributed power grid, fault transfer can restore the normal operation of the distributed power grid as soon as possible and reduce the impact on users. After determining the fault location and service, the fault transfer device will automatically or manually transfer the service at the fault location to the non-fault location according to the preset fault recovery strategy. In this process, it is necessary to consider factors such as the structure, operating status, and load demand of the distributed power grid to select the optimal fault recovery path and strategy; at the same time, it is also necessary to monitor the operating data of the fault location and non-fault location in real time to ensure that the distributed power grid can operate stably after the fault transfer.
[0074] Among them, the fault recovery strategy can be determined according to the degree of impact caused by the power equipment failure. It is understandable that in the event of a fault in the distributed power grid, the resources of the emergency power supply recovery equipment will also be limited. Therefore, for each possible fault scenario, the impact caused by the faulty equipment can be determined in advance according to the real-time operating status of the distributed power grid, the power grid topology, the importance of the equipment, and the load distribution. Then, the influencing factors are weighted and comprehensively evaluated through the hierarchical analysis method and the fuzzy comprehensive evaluation method to obtain the quantitative value of the impact of the equipment failure. Then, the fault recovery strategy corresponding to each equipment failure is determined according to the ranking result of the impact of the equipment failure. Among them, the power grid topology can be determined based on the operating data.
[0075] Among them, impact assessment indicators may include: the scope of the power outage area, the estimated duration of the power outage, the degree of impact on important loads, the expected value of economic losses and the degree of social impact.
[0076] The following is a detailed description of the process for determining the estimated duration of a power outage:
[0077] S1. According to the type of faulty equipment and historical fault repair data, a model for estimating the equipment fault repair time is established. The model takes into account factors such as equipment aging, maintenance, and fault complexity. The relationship between each influencing factor and the repair time is determined through statistical analysis of a large amount of historical data. The estimated equipment fault repair time is determined based on the model.
[0078] S2, combined with the emergency management mechanism and actual operation process of the distributed power grid, estimates the duration of emergency response from the occurrence of a fault to the implementation of recovery measures, which includes fault detection time, decision-making time, and personnel and equipment deployment time.
[0079] S3, add the estimated equipment fault repair time and the emergency response time to obtain the estimated power outage duration, which can be represented as: T=T1+T2, where T is the estimated power outage duration, T1 is the estimated equipment fault repair time, and T2 is the emergency response time.
[0080] The following is a detailed description of the process of evaluating the impact of load in the event of a fault:
[0081] S1, according to the purpose of the load, its importance to social production and life, and the severity of the consequences of power outages, the loads are divided into critical important loads, such as hospitals, fire protection, transportation hubs, etc.; important loads, such as large industrial production equipment, etc.; general important loads, such as ordinary commercial places, residential communities, etc.
[0082] S2, according to different load types, set different quantitative values of the impact of power outages, and the more important the load, the higher the value set.
[0083] For critical and important loads, the numerical range of the quantified value of the power outage impact is [7, 10]; for important loads, the numerical range of the quantified value of the power outage impact is [4, 7]; for general important loads, the numerical range of the quantified value of the power outage impact is [1, 4). The fluctuation of the quantified value of the power outage impact of equally important loads is determined by the degree of correlation between the load and other equipment or systems.
[0084] S3. If the important load is equipped with a backup power supply and the backup power supply can maintain operation for a certain period of time, the quantitative value of its impact degree shall be adjusted accordingly according to the capacity, operation time and switching time factors of the backup power supply to reduce the impact assessment of the power outage on it.
[0085] In this embodiment, the server can determine the optimal fault recovery strategy from the fault recovery strategies according to the target fault type and the fault location, and thus perform a failover on the service corresponding to the fault location according to the optimal fault recovery strategy.
[0086] In the above-mentioned fault transfer method, when a fault occurs in the distributed power grid, the server obtains the operating data and fault traveling wave signal of the distributed power grid, then determines the target fault type corresponding to the operating data based on the operating data, and determines the fault location corresponding to the operating data based on the fault traveling wave signal, and then, based on the target fault type, fault location and a preset fault recovery strategy, performs fault transfer on the service corresponding to the fault location. Since the process of fault transfer is rapid and accurate in determining the target fault type based on the operating data and determining the fault location corresponding to the operating data based on the fault traveling wave signal, the service at the fault location can be rapidly transferred to a non-fault location in combination with the fault recovery strategy, thereby achieving accurate diagnosis and rapid transfer of faults in the distributed power grid, reducing the computational complexity of the fault transfer process, and thereby improving computational efficiency.
[0087] In an exemplary embodiment, the distributed power grid further includes non-fault locations in addition to the fault location, such as Figure 3 As shown, this embodiment involves a process in which the server performs a failover on a service corresponding to a fault location according to a target fault type, a fault location, and a preset fault recovery strategy. The above step 203 includes:
[0088] Step 301: determine a target fault recovery strategy from fault recovery strategies according to a target fault type.
[0089] The target fault recovery strategy refers to the fault recovery strategy corresponding to the target fault type. The fault recovery strategy may include equipment recovery strategy, load recovery strategy, operation mode recovery strategy, etc.
[0090] In this embodiment, the server may filter a corresponding recovery policy from the fault recovery policies according to the target fault type, and determine the filtered recovery policy as the target fault recovery policy.
[0091] Step 302: determine a recovery operation according to the target fault recovery strategy.
[0092] The recovery operation refers to the operation of recovering from the fault condition of the distributed power grid. For example, the faulty equipment at the fault location can be repaired, or the load corresponding to the faulty equipment can be transferred to the non-faulty equipment. The recovery operation can include switching backup equipment, dynamically adjusting the output power and operation mode of distributed power sources, optimizing the load connection method, and reconfiguring the grid topology.
[0093] In this embodiment, the server may select a recovery operation corresponding to the fault condition from the target fault recovery strategy. For example, if the target fault recovery strategy is a device recovery strategy, the recovery operation is determined to be a device recovery operation; or, if the target fault recovery strategy is a load recovery strategy, the recovery operation is determined to be an optimized load connection mode.
[0094] Step 303: According to the recovery operation, the service at the faulty location is transferred to a non-faulty location.
[0095] The process of executing the recovery operation can include automatic execution and manual execution. Automatic execution means that the server automatically selects and executes the corresponding recovery operation according to the target fault recovery strategy without manual intervention. Manual execution means that the server provides the selected recovery operations to the operator, who selects and executes them according to the actual situation. In the process of executing the recovery operation, the server can monitor the operating status of the distributed power grid in real time to ensure that the distributed power grid can operate stably after the failover.
[0096] In this embodiment, the server can generate a recovery instruction based on the recovery operation, and send the recovery instruction to sensors deployed at the fault point and the non-fault point, so that the sensor performs a service transfer operation according to the recovery instruction to transfer the service at the fault location to the non-fault location.
[0097] As a possible implementation, "transferring the service at the faulty location to a non-faulty location according to the recovery operation" may include: shutting down the faulty equipment included in the faulty location according to the recovery operation, and turning on the non-faulty equipment included in the non-faulty location according to the recovery operation.
[0098] In this embodiment, the server can generate a shutdown instruction according to the recovery operation and send the shutdown instruction to the faulty device included in the fault location to shut down the faulty device. It can also generate an open instruction according to the recovery operation and send the open instruction to the non-faulty device included in the fault location to turn on the non-faulty device.
[0099] Through the above steps, the fault transfer device provided in this embodiment can quickly and accurately determine the fault transfer plan according to the target fault type, fault location and preset fault recovery strategy, and transfer the service at the fault location to the non-fault location, thereby achieving effective response to distributed power grid failures.
[0100] In this embodiment, by determining the target fault recovery strategy from the fault recovery strategy according to the target fault type, determining the recovery operation according to the target fault recovery strategy, and transferring the service at the fault location to the non-fault location according to the recovery operation, the fault transfer can be determined quickly and accurately, reducing the impact of the fault on the distributed power grid, and improving the reliability and stability of the distributed power grid.
[0101] In an exemplary embodiment, Figure 4 As shown, this embodiment relates to a process of how the server determines the fault location corresponding to the operating data according to the fault traveling wave signal. The above step 202 includes:
[0102] Step 401 : Acquire multiple fault traveling wave signals, and determine the propagation speed and arrival time of each fault traveling wave signal.
[0103] Among them, the fault traveling wave signal can be measured by deploying traveling wave sensors in key locations of the distributed power grid in advance. The propagation speed of the fault traveling wave signal mainly depends on the inductance and capacitance parameters of the power line. The arrival time of the fault traveling wave signal refers to the time it takes for the traveling wave signal to reach the measurement point from the fault point.
[0104] In this embodiment, the server can obtain the fault traveling wave signals collected by each traveling wave sensor through the network, and filter the obtained fault traveling wave signals to remove noise, and use the wavelet transform method to extract the characteristics of the traveling wave signals, including the traveling wave arrival time characteristics and the traveling wave amplitude change characteristics, and then, according to the physical parameters and environmental factors of the transmission lines in the distributed power grid, calculate the propagation speed and arrival time of the fault traveling wave signals on the transmission lines.
[0105] Step 402, calculate the time difference between the arrival times, and determine the fault area according to the time difference and the propagation speeds.
[0106] The fault area refers to the range including faulty equipment, faulty lines, etc. that cause the distributed power grid failure.
[0107] In this embodiment, the server can determine the time difference between each fault traveling wave signal reaching different sensors based on the wave head detection algorithm, and then determine the distance from the faulty device to the measurement point based on the time difference and the propagation speed, and then determine the area including each distance as the fault area.
[0108] Step 403: Obtain the impedance value of each fault point in the fault area, and determine the fault location according to each impedance value.
[0109] The impedance value refers to the relationship between the parameters of the transmission line in the distributed power grid and the fault current and fault voltage.
[0110] In this embodiment, the server can send a test signal to the devices included in the fault area, calculate the impedance value of the transmission line according to the voltage and current in the returned response signal, and then determine the fault location according to the change pattern of the impedance value.
[0111] In this embodiment, by acquiring multiple fault traveling wave signals and determining the propagation speed and arrival time of each fault traveling wave signal, the fault area is determined according to the time difference between the arrival times and the propagation speeds, the impedance value of each fault point in the fault area is acquired, and the fault position is determined according to each impedance value. Since the propagation speed and arrival time of the fault traveling wave signal and the impedance value change in the fault area are taken into consideration in the process of determining the fault position, the fault point can be determined more accurately, thus avoiding misjudgment of non-fault areas, reducing unnecessary operations, and improving the efficiency of fault handling.
[0112] In an exemplary embodiment, Figure 5 As shown, this embodiment relates to a process of how a server performs fault recovery after transferring a service at a fault location to a non-fault location according to a recovery operation. The method further includes:
[0113] Step 501, establishing a power prediction model according to the operating status of the distributed power grid, the energy storage device and the dynamic characteristics of the load.
[0114] Among them, the power prediction model can be used to predict the power output of the distributed power grid after fault recovery. The power prediction model includes state equations, output equations and prediction equations. The state variables include the output power of distributed power sources, the power of energy storage devices and the load power.
[0115] It should be noted that before fault recovery, a load recovery priority sequence can be formulated according to the load importance level, power demand and real-time operating status, and key important loads such as hospitals and transportation hubs can be restored first. During the load recovery process, the model predictive control algorithm and the adaptive particle swarm optimization algorithm are introduced to dynamically adjust the output power of distributed power sources, the charging and discharging strategies of energy storage devices, and the load connection methods according to the real-time operation feedback information of the system, so as to achieve the balance of power supply and demand within the island, stabilize the voltage and frequency within the allowable range, and minimize power fluctuations.
[0116] In this embodiment, the server can construct a state equation, an output equation and a prediction equation according to the operating state of the distributed power grid, the energy storage device and the dynamic characteristics of the load, and then use the state equation, the output equation and the prediction equation as a power prediction model.
[0117] As a possible approach, the server may also periodically calculate the deviation between the measured operating data of the distributed power grid and the power output by the power prediction model, correct the power prediction model, and update the parameters of the power prediction model.
[0118] Step 502: Obtain a target operating state of the distributed power grid within a preset time period, and determine an optimization objective function according to the target operating state.
[0119] The preset duration can be determined according to the fault recovery requirements, for example, the preset duration can be 10-15 minutes in the future. The target operating state of the distributed power grid within the preset duration can be the operating performance of the distributed power grid in the future duration, and the target operating state can include power, voltage-frequency deviation, charge and discharge times of the energy storage device, etc.
[0120] The target operating state refers to the operating state that the distributed power grid is expected to achieve after fault recovery, which may include the expected values of distributed power output power, energy storage device power, load power and other parameters. The optimization objective function is used to describe the goals that need to be optimized during the fault recovery process of the distributed power grid, such as minimizing power fluctuations, maximizing the balance between power supply and demand, and maintaining voltage and frequency stability.
[0121] In this embodiment, the server can set the target operating state within a preset time according to the operating requirements and fault recovery strategy of the distributed power grid, and construct an optimization objective function according to the target operating state. The optimization objective function may include multiple sub-objectives. For example, minimizing power fluctuations can ensure the stable operation of the distributed power grid after fault recovery, maximizing the balance between power supply and demand can improve the energy utilization efficiency of the distributed power grid, and maintaining voltage and frequency stability can ensure the normal operation of the equipment in the distributed power grid.
[0122] Optionally, the constraints for determining the optimization objective function may also include output power limitations of distributed power sources, capacity limitations of energy storage devices, and load demand limitations.
[0123] Step 503: Determine the power corresponding to the fault location according to the power prediction model and the optimization objective function.
[0124] Among them, the power corresponding to the fault location refers to the power output required at the fault location after the fault occurs. The power corresponding to the fault location includes the output power of the distributed power source corresponding to the fault location and the charging and discharging power of the energy storage device.
[0125] In this embodiment, the server can comprehensively consider the output results of the power prediction model, the requirements of the optimization objective function and the actual situation of the fault location to determine the power output plan, and then obtain the power corresponding to the fault location according to the power output plan.
[0126] In this embodiment, the server establishes a power prediction model according to the operating status of the distributed power grid, the energy storage device and the dynamic characteristics of the load, obtains the target operating status of the distributed power grid within a preset time period, and determines the optimization objective function according to the target operating status. According to the power prediction model and the optimization objective function, the power corresponding to the fault location is determined, which can realize real-time monitoring and optimization adjustment of the fault recovery process, improve the efficiency and accuracy of fault recovery, and further improve the reliability and stability of the distributed power grid.
[0127] In an exemplary embodiment, Figure 6 As shown, this embodiment relates to a process of how a server performs grid connection control on a fault location and a distributed power grid, and the above method further includes:
[0128] Step 601, obtaining operation data of a fault location and operation data of a non-fault location.
[0129] The operation data may include grid parameters such as voltage, current, power factor, etc. By acquiring the operation data of the fault location and the non-fault location, the fault situation and operation status of the distributed power grid can be fully understood, providing a basis for subsequent control operations.
[0130] In this embodiment, the server may respectively obtain the operating data of the fault location from the sensors deployed at the fault location, and obtain the operating data of the non-fault location from the sensors deployed at the non-fault location.
[0131] Step 602: Determine a power control strategy according to the difference between the operating data at the fault location and the operating data at the non-fault location.
[0132] The power control strategy is used to adjust the power flow between the fault location and the non-fault location in the distributed power grid to achieve power balance at the fault location and overall stable operation of the distributed power grid. The power control strategy can include measures such as adjusting the output power of the distributed power source, the charging and discharging power of the energy storage device, and the load connection method.
[0133] In this embodiment, the server can compare and analyze the operating data of the fault location and the non-fault location, calculate the difference between the two, and then determine the power control strategy according to the size and change trend of the difference. For example, if the power output of the fault location is too high and the power output of the non-fault location is low, the server can adjust the output power of the distributed power source and transfer part of the power from the fault location to the non-fault location to achieve power balance.
[0134] Step 603: Perform power synchronization on the power corresponding to the fault location and the power corresponding to the non-fault location according to the power control strategy.
[0135] Among them, power synchronization refers to adjusting the power output of the fault location and the non-fault location so that they can maintain consistent frequency and phase when connected to the grid to ensure a smooth grid connection process.
[0136] It should be noted that when the distributed power grid including the non-fault location restores normal power supply conditions, the island system including the fault location can be connected to the distributed power grid at the non-fault location to improve the stable and efficient coordinated operation of the entire distributed power grid. Among them, grid connection control refers to reconnecting the distributed power source, energy storage device and other equipment at the fault location with other parts of the distributed power grid to achieve the recovery of the fault location and the overall operation of the distributed power grid. Grid connection control can include measures such as switching switches, adjusting voltage and frequency, etc.
[0137] In this embodiment, the server can generate a power synchronization instruction according to the power control strategy during the grid connection process, and send the power synchronization instruction to the distributed power supply and energy storage device at the fault location and the non-fault location to adjust their power output. At the same time, the server can also monitor the power output of the fault location and the non-fault location in real time, and dynamically adjust the power synchronization instruction according to the monitoring results to ensure the accuracy and effectiveness of power synchronization.
[0138] The following describes the implementation process of the virtual synchronous machine technology in cooperative operation control:
[0139] S1, according to the capacity of distributed power supply, system stability requirements and actual operation experience, reasonably set the inertia parameters and damping parameters of the virtual synchronous machine. The inertia parameters affect the frequency response characteristics of the system, and the damping parameters affect the system's ability to suppress frequency fluctuations.
[0140] S2, based on virtual synchronous machine technology, formulates active power and reactive power control strategies for distributed power sources, adjusts the active power control strategy according to the system frequency deviation and frequency change rate, and adjusts the reactive power control strategy according to the grid voltage deviation and voltage change rate, so as to achieve dynamic power balance between distributed power sources and the grid.
[0141] S3, before grid connection, controls the output frequency and voltage phase of the distributed power source to gradually approach the grid frequency and phase to achieve pre-synchronization. During the power synchronization process, the synchronization error is monitored in real time and the control strategy is adjusted according to the error size.
[0142] S4, after being connected to the grid, continuously monitors the system operating status, optimizes the output power and reactive power of distributed power sources according to grid dispatch instructions and actual system needs, and improves system operating efficiency and stability.
[0143] In this embodiment, the server obtains the operating data of the fault location and the operating data of the non-fault location, and then determines the power control strategy according to the difference between the operating data of the fault location and the operating data of the non-fault location. Then, according to the power control strategy, the power corresponding to the fault location and the power corresponding to the non-fault location are synchronized. By controlling the grid connection of the fault location and the distributed power grid, the smoothness and safety of the grid connection process can be ensured, thereby further improving the reliability and stability of the distributed power grid.
[0144] To facilitate understanding by those skilled in the art, the failover method provided by the present application is described in detail below. The method may include:
[0145] S1, when there is a fault in the distributed power grid, obtain the operating data and fault traveling wave signal of the distributed power grid.
[0146] S2, determining a target fault type corresponding to the operating data according to the operating data.
[0147] S3, obtaining a plurality of fault traveling wave signals, and determining the propagation speed and arrival time of each fault traveling wave signal.
[0148] S4, calculating the time difference between the arrival times, and determining the fault area according to the time difference and the propagation speeds.
[0149] S5, obtaining the impedance value of each fault point in the fault area, and determining the fault location according to each impedance value.
[0150] S6, determining a target fault recovery strategy from the fault recovery strategies according to the target fault type.
[0151] S7, determining a recovery operation according to the target fault recovery strategy.
[0152] S8, shutting down the faulty equipment included in the faulty position according to the recovery operation, and starting up the non-faulty equipment included in the non-faulty position according to the recovery operation.
[0153] S9, establish a power prediction model according to the operating status of the distributed power grid, the energy storage device and the dynamic characteristics of the load.
[0154] S10, obtaining a target operating state of the distributed power grid within a preset time period, and determining an optimization objective function according to the target operating state.
[0155] S11, determining the power corresponding to the fault location according to the power prediction model and the optimization objective function.
[0156] S12, obtaining the operating data of the fault location and the operating data of the non-fault location.
[0157] S13, determining a power control strategy according to the difference between the operating data at the fault location and the operating data at the non-fault location.
[0158] S14, performing power synchronization on the power corresponding to the fault location and the power corresponding to the non-fault location according to the power control strategy.
[0159] It should be noted that for the descriptions in the above S1-S14, reference may be made to the relevant descriptions in the above embodiments, and the effects are similar, so this embodiment will not be repeated here.
[0160] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0161] Based on the same inventive concept, the embodiment of the present application also provides a failover device for implementing the failover method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more failover device embodiments provided below can refer to the limitations on the failover method above, and will not be repeated here.
[0162] In one embodiment, Figure 7 As shown, a failover device is provided, including: a first acquisition module 701, a first determination module 702 and a failover module 703, wherein:
[0163] The first acquisition module 701 is used to acquire the operation data and the fault traveling wave signal of the distributed power grid when there is a fault in the distributed power grid;
[0164] A first determination module 702 is used to determine a target fault type corresponding to the operation data according to the operation data, and determine a fault position corresponding to the operation data according to the fault traveling wave signal;
[0165] The failover module 703 is used to failover the service corresponding to the fault location according to the target fault type, the fault location and the preset fault recovery strategy.
[0166] The failover device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0167] In one embodiment, the distributed power grid further includes a non-fault location other than the fault location, and the fault transfer module 703 includes:
[0168] A first determining unit, configured to determine a target fault recovery strategy from the fault recovery strategies according to a target fault type;
[0169] A second determining unit, configured to determine a recovery operation according to a target fault recovery strategy;
[0170] The failover unit is used to transfer the service of the failed location to the non-failed location according to the recovery operation.
[0171] The failover device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0172] In one embodiment, the above-mentioned failover unit is specifically used for:
[0173] The faulty equipment included in the faulty location is turned off according to the recovery operation, and the non-faulty equipment included in the non-faulty location is turned on according to the recovery operation.
[0174] The failover device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0175] In one embodiment, the first determining module 702 includes:
[0176] An acquisition unit, used to acquire multiple fault traveling wave signals and determine the propagation speed and arrival time of each fault traveling wave signal;
[0177] A third determination unit is used to calculate the time difference between the arrival times and determine the fault area according to the time difference and the propagation speeds;
[0178] The fourth determining unit is used to obtain the impedance value of each fault point in the fault area and determine the fault position according to each impedance value.
[0179] The failover device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0180] In one embodiment, the above device further comprises:
[0181] Establishing a module for establishing a power prediction model based on the operating status of the distributed power grid, energy storage devices and load dynamic characteristics;
[0182] A second acquisition module is used to obtain a target operating state of the distributed power grid within a preset time period, and determine an optimization objective function according to the target operating state;
[0183] The second determination module is used to determine the power corresponding to the fault position according to the power prediction model and the optimization objective function.
[0184] The failover device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0185] In one embodiment, the above device further comprises:
[0186] A collection module, used to obtain the operating data of the fault location and the operating data of the non-fault location;
[0187] A third determination module, configured to determine a power control strategy according to a difference between the operation data of the fault location and the operation data of the non-fault location;
[0188] The synchronization module is used to synchronize the power corresponding to the fault position and the power corresponding to the non-fault position according to the power control strategy.
[0189] The failover device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0190] Each module in the above-mentioned failover device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0191] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 8As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the operating data of the distributed power grid. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a fault transfer method is implemented.
[0192] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0193] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0194] When a distributed power grid has a fault, obtain the operating data and fault traveling wave signal of the distributed power grid;
[0195] Determine a target fault type corresponding to the operating data according to the operating data, and determine a fault location corresponding to the operating data according to the fault traveling wave signal;
[0196] According to the target fault type, fault location and preset fault recovery strategy, failover is performed on the service corresponding to the fault location.
[0197] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0198] The distributed power grid also includes non-fault locations in addition to the fault location. According to the target fault type, fault location and preset fault recovery strategy, the service corresponding to the fault location is failed over, including:
[0199] Determine a target fault recovery strategy from the fault recovery strategies according to the target fault type;
[0200] Determine recovery actions based on target failure recovery strategy;
[0201] According to the recovery operation, the service of the failed location is transferred to the non-failed location.
[0202] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0203] Follow the recovery steps to transfer services from the failed location to the non-failed location, including:
[0204] The faulty equipment included in the faulty location is turned off according to the recovery operation, and the non-faulty equipment included in the non-faulty location is turned on according to the recovery operation.
[0205] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0206] Determine the fault location corresponding to the operating data based on the fault traveling wave signal, including:
[0207] Acquire multiple fault traveling wave signals, and determine the propagation speed and arrival time of each fault traveling wave signal;
[0208] Calculate the time difference between the arrival times and determine the fault area based on the time difference and the propagation speeds;
[0209] The impedance value of each fault point in the fault area is obtained, and the fault location is determined according to each impedance value.
[0210] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0211] After transferring the service at the fault location to a non-fault location according to the recovery operation, the method further includes:
[0212] Establish a power prediction model based on the operating status of the distributed power grid, energy storage devices and load dynamic characteristics;
[0213] Obtaining a target operating state of the distributed power grid within a preset time period, and determining an optimization objective function according to the target operating state;
[0214] According to the power prediction model and the optimization objective function, the power corresponding to the fault location is determined.
[0215] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0216] The method also includes:
[0217] Obtaining the operating data of the fault location and the operating data of the non-fault location;
[0218] Determining a power control strategy according to a difference between the operating data at the fault location and the operating data at the non-fault location;
[0219] The power corresponding to the fault location and the power corresponding to the non-fault location are synchronized according to the power control strategy.
[0220] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0221] When a distributed power grid has a fault, obtain the operating data and fault traveling wave signal of the distributed power grid;
[0222] Determine a target fault type corresponding to the operating data according to the operating data, and determine a fault location corresponding to the operating data according to the fault traveling wave signal;
[0223] According to the target fault type, fault location and preset fault recovery strategy, failover is performed on the service corresponding to the fault location.
[0224] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0225] The distributed power grid also includes non-fault locations in addition to the fault location. According to the target fault type, fault location and preset fault recovery strategy, the service corresponding to the fault location is failed over, including:
[0226] Determine a target fault recovery strategy from the fault recovery strategies according to the target fault type;
[0227] Determine recovery actions based on target failure recovery strategy;
[0228] According to the recovery operation, the service of the failed location is transferred to the non-failed location.
[0229] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0230] Follow the recovery steps to transfer services from the failed location to the non-failed location, including:
[0231] The faulty equipment included in the faulty location is turned off according to the recovery operation, and the non-faulty equipment included in the non-faulty location is turned on according to the recovery operation.
[0232] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0233] Determine the fault location corresponding to the operating data based on the fault traveling wave signal, including:
[0234] Acquire multiple fault traveling wave signals, and determine the propagation speed and arrival time of each fault traveling wave signal;
[0235] Calculate the time difference between the arrival times and determine the fault area based on the time difference and the propagation speeds;
[0236] The impedance value of each fault point in the fault area is obtained, and the fault location is determined according to each impedance value.
[0237] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0238] After transferring the service at the fault location to a non-fault location according to the recovery operation, the method further includes:
[0239] Establish a power prediction model based on the operating status of the distributed power grid, energy storage devices and load dynamic characteristics;
[0240] Obtaining a target operating state of the distributed power grid within a preset time period, and determining an optimization objective function according to the target operating state;
[0241] According to the power prediction model and the optimization objective function, the power corresponding to the fault location is determined.
[0242] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0243] The method also includes:
[0244] Obtaining the operating data of the fault location and the operating data of the non-fault location;
[0245] Determining a power control strategy according to a difference between the operating data at the fault location and the operating data at the non-fault location;
[0246] The power corresponding to the fault location and the power corresponding to the non-fault location are synchronized according to the power control strategy.
[0247] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0248] When a distributed power grid has a fault, obtain the operating data and fault traveling wave signal of the distributed power grid;
[0249] Determine a target fault type corresponding to the operating data according to the operating data, and determine a fault location corresponding to the operating data according to the fault traveling wave signal;
[0250] According to the target fault type, fault location and preset fault recovery strategy, failover is performed on the service corresponding to the fault location.
[0251] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0252] The distributed power grid also includes non-fault locations in addition to the fault location. According to the target fault type, fault location and preset fault recovery strategy, the service corresponding to the fault location is failed over, including:
[0253] Determine a target fault recovery strategy from the fault recovery strategies according to the target fault type;
[0254] Determine recovery actions based on target failure recovery strategy;
[0255] According to the recovery operation, the service of the failed location is transferred to the non-failed location.
[0256] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0257] Follow the recovery steps to transfer services from the failed location to the non-failed location, including:
[0258] The faulty equipment included in the faulty location is turned off according to the recovery operation, and the non-faulty equipment included in the non-faulty location is turned on according to the recovery operation.
[0259] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0260] Determine the fault location corresponding to the operating data based on the fault traveling wave signal, including:
[0261] Acquire multiple fault traveling wave signals, and determine the propagation speed and arrival time of each fault traveling wave signal;
[0262] Calculate the time difference between the arrival times and determine the fault area based on the time difference and the propagation speeds;
[0263] The impedance value of each fault point in the fault area is obtained, and the fault location is determined according to each impedance value.
[0264] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0265] After transferring the service at the fault location to a non-fault location according to the recovery operation, the method further includes:
[0266] Establish a power prediction model based on the operating status of the distributed power grid, energy storage devices and load dynamic characteristics;
[0267] Obtaining a target operating state of the distributed power grid within a preset time period, and determining an optimization objective function according to the target operating state;
[0268] According to the power prediction model and the optimization objective function, the power corresponding to the fault location is determined.
[0269] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0270] The method also includes:
[0271] Obtaining the operating data of the fault location and the operating data of the non-fault location;
[0272] Determining a power control strategy according to a difference between the operating data at the fault location and the operating data at the non-fault location;
[0273] The power corresponding to the fault location and the power corresponding to the non-fault location are synchronized according to the power control strategy.
[0274] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0275] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0276] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A failover method, characterized in that: The method comprises: When a fault occurs in the distributed power grid, obtaining operation data and a fault traveling wave signal of the distributed power grid; Determining a target fault type corresponding to the operating data according to the operating data, and determining a fault location corresponding to the operating data according to the fault traveling wave signal; According to the target fault type, the fault location and a preset fault recovery strategy, a service corresponding to the fault location is failed over.
2. The method according to claim 1, characterized in that The distributed power grid further includes a non-fault location other than the fault location, and the performing a failover on a service corresponding to the fault location according to the target fault type, the fault location, and a preset fault recovery strategy includes: Determining a target fault recovery strategy from the fault recovery strategies according to the target fault type; Determining a recovery operation according to the target fault recovery strategy; According to the recovery operation, the service of the faulty location is transferred to the non-faulty location.
3. The method according to claim 2, characterized in that The step of transferring the service at the fault location to the non-fault location according to the recovery operation includes: The faulty device included in the faulty position is turned off according to the recovery operation, and the non-faulty device included in the non-faulty position is turned on according to the recovery operation.
4. The method according to any one of claims 1 to 3, characterized in that: The determining the fault position corresponding to the operation data according to the fault traveling wave signal comprises: Acquire multiple fault traveling wave signals, and determine the propagation speed and arrival time of each of the fault traveling wave signals; Calculating the time difference between the arrival times, and determining the fault area according to the time difference and the propagation speeds; The impedance value of each fault point in the fault area is obtained, and the fault position is determined according to each impedance value.
5. The method according to claim 2, characterized in that: After the service at the fault location is transferred to the non-fault location according to the recovery operation, the method further includes: Establishing a power prediction model according to the operating status of the distributed power grid, the energy storage device and the dynamic characteristics of the load; Obtaining a target operating state of the distributed power grid within a preset time period, and determining an optimization objective function according to the target operating state; The power corresponding to the fault location is determined according to the power prediction model and the optimization objective function.
6. The method according to claim 5, characterized in that The method further comprises: Acquiring the operating data of the fault location and the operating data of the non-fault location; determining a power control strategy according to a difference between the operating data of the fault location and the operating data of the non-fault location; Power synchronization is performed on the power corresponding to the fault location and the power corresponding to the non-fault location according to the power control strategy.
7. A failover device, characterized in that: The device comprises: A first acquisition module is used to acquire the operation data and the fault traveling wave signal of the distributed power grid when there is a fault in the distributed power grid; A first determination module, configured to determine a target fault type corresponding to the operation data according to the operation data, and determine a fault position corresponding to the operation data according to the fault traveling wave signal; The failover module is used to failover the service corresponding to the fault location according to the target fault type, the fault location and a preset fault recovery strategy.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.