A method, system, computer device and storage medium for ensuring urban power grid supply
By establishing a time-series sensitivity matrix of urban power grid line load rate, node load shedding rate, line loss, and voltage impact, and combining iterative calculation with a greedy algorithm, the power supply access strategy is optimized, solving the problems of high cost, local congestion, and voltage exceeding limits in urban power grid supply guarantee, and achieving efficient and reliable urban power grid supply guarantee.
Patent Information
- Application Number
- CN202411139532.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-08-20
AI Technical Summary
Existing urban power grid supply protection technologies suffer from problems such as high costs, poor effectiveness in mitigating local congestion, and voltage exceeding limits. In particular, under extreme weather conditions and when the urban power grid load distribution is uneven, it is difficult to effectively alleviate local congestion in urban power grid channels and ensure voltage stability.
By establishing a time-series sensitivity matrix among urban power grid line load rate, node load shedding rate, line loss, and voltage impact, the impact of node injected power on the urban power grid is comprehensively evaluated. A greedy algorithm is used to iteratively calculate the optimal power supply guarantee strategy and determine the best power source to be connected to the urban power grid.
It eliminates the need for urban power grid modifications, effectively alleviates localized power grid congestion, and avoids voltage overruns, thereby improving the accuracy and reliability of power supply strategies.
Smart Images

Figure CN118676919B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of urban power grid operation and maintenance, and specifically relates to an urban power grid supply guarantee method, system, computer equipment and storage medium. Background Art
[0002] With the continuous development of the economy and the continuous expansion of urbanization, the urban power load has increased rapidly and the peak-to-valley difference of the urban power grid (UPG) power load has gradually increased. The construction of urban power grids in China generally lags behind urban development. Constrained by limited urban power grid channel resources, in the case of uneven distribution of urban power grid loads in extreme weather, it will cause local blockage of urban power grid channels, and the difficulty of urban power grid supply and load transfer is increasing. Therefore, exploring urban power grid supply guarantee technology under extreme weather conditions has a positive significance for improving the reliability of urban power grid power supply.
[0003] Currently, a lot of research has been done on urban power grid supply security technologies under extreme weather conditions, which are mainly divided into two categories: AC / DC hybrid power supply security strategy and load optimization strategy.
[0004] Among them, the AC / DC hybrid power supply guarantee strategy refers to the technology of transforming the urban power grid to achieve AC and DC hybrid power supply in the urban power grid. For example, an AC / DC flexible urban power grid guarantee strategy containing distributed photovoltaics, electric vehicles (EVs) and energy storage solves the bottleneck problem of the AC urban power grid radiation power supply channel through AC / DC flexible interconnection; an AC / DC urban power grid guarantee method with high penetration of new energy realizes the guarantee of urban power grid supply in extreme weather through AC / DC flexible interconnection and cascade utilization of energy. However, domestic urban power grids are mainly AC power grids, and the cost of AC / DC flexible interconnection transformation is too high to be promoted on a large scale.
[0005] Load optimization strategy refers to optimizing the load of the urban power grid, reducing non-essential loads while meeting the basic power supply, and providing additional power supply for the urban power grid. For example, an urban power grid supply guarantee strategy for reducing urban building loads reduces urban building loads through physical, information, and social dimensions, thereby achieving the purpose of urban power grid supply guarantee in extreme weather; an urban power grid supply guarantee strategy based on electric vehicle discharge solves the problem of insufficient urban power grid supply load in extreme weather through electric vehicle aggregate discharge. However, in the above method, urban power grid loads such as people's livelihood electricity need to be guaranteed, and the load reduction quota is limited. In addition, the selection of electric vehicle aggregate discharge nodes is not necessary, resulting in poor local blockage relief effects in urban power grid channels and voltage over-limit. Summary of the invention
[0006] In order to solve the problems of high cost, poor local congestion relief effect, or voltage over-limit in existing urban power grid supply security technologies, the present invention proposes a method, system, computer equipment and storage medium for urban power grid supply security. The present invention establishes a timing sensitivity matrix between urban power grid line load rate, node load shedding rate, line loss, and voltage impact, and comprehensively evaluates the impact of node injection power on the urban power grid, thereby determining the optimal power supply access to the urban power grid supply security strategy.
[0007] The present invention is achieved through the following technical solutions:
[0008] A method for ensuring power supply of a city power grid, the method comprising:
[0009] Collect urban power grid data and pre-process the data;
[0010] Based on the preprocessed data, analyze the load rate of urban power grid lines, the load shedding rate of urban power grid nodes, and the impact of access power on urban power grid line loss and urban power grid voltage;
[0011] Based on the analysis results of the load rate of urban power grid lines, the load shedding rate of urban power grid nodes, and the impact of access power on urban power grid line loss and urban power grid voltage, the urban power grid supply security timing sensitivity matrix is established to obtain a comprehensive evaluation model of node supply security capability;
[0012] The comprehensive evaluation model of the node power supply capability is iteratively solved to obtain the optimal power supply strategy of the urban power grid and control the power supply access according to the optimal power supply strategy.
[0013] In some embodiments, the urban power grid line load rate is the ratio between the maximum load occurring in the urban power grid line and the capacity of the urban power grid line, and is used to characterize the load carrying capacity of the urban power grid line; the urban power grid line load rate analysis is specifically to obtain the urban power grid node load rate matrix by calculating the line load rate of each node branch in the urban power grid;
[0014] The urban power grid node load shedding rate is the ratio of the maximum load shedding of a node in the urban power grid to the current load of the node; the urban power grid node load shedding rate analysis is specifically to obtain an urban power grid node load shedding rate matrix by calculating the node load shedding rate of each node branch in the urban power grid.
[0015] In some implementations, the analysis of the impact of the access power supply on the line loss of the urban power grid is specifically performed by calculating the sum of the partial derivatives of the injected power of each node in the urban power grid to obtain the urban power grid line loss sensitivity matrix;
[0016] The analysis of the impact of access power on the urban power grid voltage is specifically to obtain the urban power grid voltage sensitivity matrix by calculating the impact of the injected power of each node in the urban power grid on the overall voltage of the urban power grid.
[0017] In some implementations, the process of establishing the city power grid supply guarantee timing sensitivity matrix specifically includes:
[0018] Establish a time series sensitivity matrix that compares the urban power grid line load rate with the urban power grid node load shedding rate, the urban power grid line loss sensitivity and the urban power grid voltage sensitivity, and calculate the eigenvector of the time series sensitivity matrix;
[0019] Based on the characteristic vector, a comprehensive evaluation model of the node supply guarantee capability is established.
[0020] In some embodiments, the comprehensive assessment model is:
[0021] ,
[0022] In the formula, H ( j ) is the urban power grid j The comprehensive evaluation results of the supply guarantee capabilities of each node are c 1 is the characteristic vector of the comparison between the load rate of the urban power grid line and the load shedding of the urban power grid; c 2 is the characteristic vector for comparing the load rate of urban power grid lines with the sensitivity of urban power grid line loss; c 3 is the characteristic vector for comparing the load rate of the urban power grid line and the voltage sensitivity of the urban power grid; c 1( j ), c 2( j ), c 3( j ) are the eigenvectors c 1. c 2. c 3rd j The impact value of the city's power grid.
[0023] In some implementations, the data preprocessing process specifically includes:
[0024] use k The distance between the data points in the urban power grid data collected by the nearest neighbor calculation k Reachable distance;
[0025] According to the data points k The reachability distance calculates the local reachability density of data points in the urban power grid data;
[0026] According to the local reachable density of the data points, the local outlier factors of the data points in the urban power grid data are calculated and the abnormal data points are screened out according to the local outlier factors;
[0027] The screened abnormal data points are repaired by linear interpolation.
[0028] In some embodiments, the method uses a greedy algorithm to iteratively solve a comprehensive evaluation model of the node power supply capability. During the solution process, the size of the power injected into the urban power grid node is randomly constructed, and the urban power grid line load rate, urban power grid node load shedding rate, urban power grid line loss sensitivity and urban power grid voltage sensitivity are continuously solved to minimize the impact when the node meets the urban power grid load demand, so as to obtain the optimal power supply access location and power under the conditions of urban power grid supply guarantee.
[0029] In a second aspect, the present invention proposes a city power grid supply guarantee system, the system comprising:
[0030] A data preprocessing module, which collects urban power grid data and preprocesses the data;
[0031] A supply guarantee analysis module, which analyzes the load rate of the urban power grid lines, the load shedding rate of the urban power grid nodes, and the impact of the access power supply on the line loss and voltage of the urban power grid based on the preprocessed data;
[0032] A comprehensive evaluation module, which establishes a city power grid supply guarantee timing sensitivity matrix based on the analysis results of the city power grid line load rate, the city power grid node load shedding rate, and the impact of the access power supply on the city power grid line loss and the city power grid voltage, and obtains a comprehensive evaluation model of the node supply guarantee capability;
[0033] And, an iterative solution module, which iteratively solves the comprehensive evaluation model of the node power supply capability, obtains the optimal power supply strategy of the urban power grid and controls power supply access according to the optimal power supply strategy.
[0034] In a third aspect, the present invention proposes a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method of the present invention when executing the computer program.
[0035] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the method of the present invention when executed by a processor.
[0036] The present invention proposes a method, system, computer equipment and storage medium for securing power supply of a city power grid. First, based on the collected urban power grid electrical data, an urban power grid security analysis is performed, including an analysis of the urban power grid line load rate, the node load shedding rate, and the impact of the access power supply on the urban power grid line loss and voltage. Based on the analysis results, a time series sensitivity matrix between the urban power grid line load rate and the node load shedding rate, line loss and voltage impact is established, and the impact of the node access power supply on the urban power grid is comprehensively evaluated, thereby determining the optimal power access and security strategy. The present invention does not require modification of the urban power grid, and at the same time controls power access according to the optimal power access and security strategy, which can effectively alleviate the problem of local blockage of the urban power grid channel without causing voltage over-limit.
[0037] The present invention proposes a method, system, computer device and storage medium for ensuring power supply in a city power grid, which adopts a local outlier factor algorithm to detect abnormal data and a linear interpolation method to repair the abnormal data, thereby reducing the impact of the abnormal data on subsequent analysis and further improving the accuracy and reliability of the supply guarantee strategy. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of the present invention, and do not constitute a limitation of the embodiments of the present invention. In the drawings:
[0039] Figure 1 is a flow chart of a method according to an embodiment of the present invention;
[0040] Figure 2 is a system principle block diagram of an embodiment of the present invention;
[0041] Figure 3 A diagram of a computer device architecture according to an embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.
[0043] Example:
[0044] The existing AC / DC hybrid power supply guarantee strategy requires the transformation of the urban power grid, which has high transformation costs and is difficult to promote on a large scale; while the load optimization supply guarantee strategy will cause problems such as poor relief of local blockage in the urban power grid channel and voltage over-limit. In response to the above problems, this embodiment proposes a method for urban power grid supply guarantee. The method proposed in this embodiment establishes a time series sensitivity matrix between the load rate of the urban power grid line, the node load shedding rate, the line loss, and the voltage impact, comprehensively evaluates the impact of the node injection power on the urban power grid, and iteratively calculates the optimal solution for the urban power grid supply guarantee through the GA algorithm, thereby determining the optimal supply guarantee strategy for the urban power grid.
[0045] like Figure 1 As shown, the method proposed in this embodiment specifically includes the following steps:
[0046] Step 100: Collect urban power grid data and pre-process the data.
[0047] In this embodiment, the current, voltage, active power, reactive power, power factor, power data, etc. of the urban power grid can be collected through the power supply dispatching automation system.
[0048] In addition, during the urban power grid data collection process, due to factors such as measurement equipment collection failure and data transmission channel noise, the collected urban power grid data may contain errors and omissions, and abnormal data will cause deviations in the calculation of urban power grid supply guarantee data, thereby affecting the accuracy and reliability of the supply guarantee strategy. Therefore, in order to ensure the accuracy and reliability of the supply guarantee strategy, this embodiment needs to perform pre-processing such as cleaning on the collected data to eliminate the impact of erroneous data and abnormal data.
[0049] Optionally, this embodiment uses a local outlier factor algorithm to clean the data, wherein the local outlier factor (LOF) algorithm is a density-based abnormal data detection method, which detects data values that are greatly different from normal data through the density distribution of clusters of different categories, that is, abnormal data. The local outlier factor algorithm is used to detect abnormal values of urban power grid data, and the specific process includes:
[0050] Step 101: for a city power grid data point a , b The distance between k Nearest neighbor distance calculation. Data point a arrive b Between k The reachable distance is:
[0051] (1)
[0052] In the formula, For data pointsa To data point b Between k Reachable distance; max{ d k ( a ), d ( a , b )} is the data point a of k Proximity distance d k ( a ) and data points a To data point b The direct distance between d ( a , b )’s maximum value.
[0053] Step 102, calculate data points b The local reachable density is:
[0054] (2)
[0055] In the formula, For data points b The local reachable density of C k ( b ) is the data point b of k Distance neighborhood; m R For data points b of k The number of data points in the distance field; Data points in different neighborhoods a To data point b of k Reachable distance.
[0056] Step 103, calculate the local outlier factor of the urban power grid data point, and filter out abnormal data points according to the local outlier factor. The calculation method is expressed as:
[0057] (3)
[0058] In the formula, is the local outlier factor of the urban power grid data point; Data points for different fields a To data point b Centroid k Reachable distance.
[0059] Step 104: repair the abnormal data points by linear interpolation. The specific processing method is shown in formula (4).
[0060] (4)
[0061] In the formula, s It is the abnormal data point of the urban power grid; f、g They are the normal data points before and after the abnormal data points of the urban power grid; It is the data value after linear difference processing of abnormal data points of urban power grid; 、 They are the normal data values before and after the UPG abnormal data point.
[0062] Step 200, based on the preprocessed data, analyze the load rate of the urban power grid line, the node load shedding rate, and the impact of the access power supply on the line loss and voltage of the urban power grid.
[0063] The purpose of the urban power grid supply guarantee analysis is to analyze the load demand and load supply capacity of the urban power grid under extreme weather conditions, as well as the impact of the urban power grid supply guarantee on the power quality. This step 200 specifically includes:
[0064] Step 201, identifying the load demand and load supply capacity of the urban power grid under extreme weather conditions according to the load rate of the urban power grid lines and the node load shedding rate indicators.
[0065] Among them, the load rate (LR) of the urban power grid line refers to the indicator of the load carrying capacity of the line, which is characterized by the ratio between the maximum load of the urban power grid line and the capacity of the urban power grid line. In the urban power grid, the line load rate of the relevant branches of each node is calculated as the urban power grid node load rate matrix :
[0066] (5)
[0067] In the formula, m LOAD is the number of nodes in the urban power grid; e l ( j ) is the first j The line load rate of the node branch, j =1,2,…, m LOAD ; Among them, if the node is a city power grid load node, then the node is the load rate of the city power grid line flowing into the node; if the node is a city power grid voltage node, then the node is the load rate of the city power grid line flowing out of the node.
[0068] in, e l ( j ) is calculated as:
[0069] (6)
[0070] In the formula, For UPG t Time point node j In the city power line i The power flowing through For urban power lines i The power transmission capacity of the line. The greater the line load rate, the smaller the margin of line adjustment.
[0071] Load shedding refers to reducing the load in the urban power grid, thereby reducing the burden on the urban power grid and ensuring the stability of the power grid. Load shedding is usually achieved by load control equipment. The load shedding rate of an urban power grid node is the ratio of the maximum load shedding of the node to the current load of the node. In the urban power grid, the node load shedding rate matrix of the urban power grid is constructed by calculating the node load shedding rate of the relevant branches of each node. for:
[0072] (7)
[0073] In the formula, e z ( j ) is the first j The node load shedding rate of the node branch, j =1,2,…, m LOAD .
[0074] Step 202: Analyze the impact of the access power supply on the line loss of the urban power grid.
[0075] The line loss sensitivity of the urban power grid is used to evaluate the line loss caused by the power injected by each node. The line loss sensitivity of the urban power grid takes the partial derivative of the node injected power as an indicator to establish the line loss sensitivity matrix of the urban power grid. :
[0076] (8)
[0077] In the formula, e x ( j ) is the first j The sum of the partial derivatives of the injected power at each node, j =1,2,…, m LOAD .
[0078] in, e x ( j ) can be expressed as:
[0079] (9)
[0080] In the formula, The time period for injecting power into the city grid nodes; For the i The urban power grid line loss at each moment; For the i The power injected into the city grid at a certain moment; For the i The charging and discharging variables of the urban power grid energy storage at each moment.
[0081] Step 203: Analyze the impact of the access power supply on the city grid voltage.
[0082] The voltage sensitivity of the urban power grid is used to evaluate the impact of the power injected into each node on the voltage change of the urban power grid. The voltage sensitivity of the urban power grid takes the impact of the node injection power on the overall voltage of the urban power grid as an indicator to establish the voltage sensitivity matrix of the urban power grid. :
[0083] (10)
[0084] In the formula, e y ( j ) is the first j The influence of each node on the overall voltage of the urban power grid is j =1,2,…, m LOAD .
[0085] in, e y ( j ) can be expressed as:
[0086] (11)
[0087] In the formula, For the i The city grid voltage at a given moment.
[0088] Step 300, based on the analysis results of the previous step, establish a city power grid supply security timing sensitivity matrix to obtain a comprehensive evaluation model of the node supply security capability.
[0089] Timing sensitivity refers to the time-sharing response of the urban power grid to the power injected into the node, reflecting the impact of the power injected into the urban power grid node on the load rate, load shedding, line loss and voltage of the urban power grid. The timing sensitivity matrix describes the response of the urban power grid to the system when the power is injected into each node in the form of a matrix. This step 300 establishes a timing sensitivity matrix to comprehensively evaluate the impact of the node injection power on the urban power grid, thereby being able to formulate a supply guarantee strategy with higher accuracy and reliability.
[0090] Wherein, this step 300 specifically includes:
[0091] Step 301, based on the analysis result of step 200, establish a time series sensitivity matrix for comparing the urban power grid line load rate with the urban power grid node load shedding rate, line loss sensitivity, and voltage sensitivity, and calculate the eigenvector of the time series sensitivity matrix.
[0092] Step 302: Establish a comprehensive evaluation model of the node supply guarantee capability based on the feature vector.
[0093] Among them, the comprehensive evaluation model established is:
[0094] (12)
[0095] In the formula, H ( j ) is the urban power grid j The comprehensive evaluation results of the supply guarantee capabilities of each node are c 1 is the characteristic vector of the comparison between the load rate of the urban power grid line and the load shedding of the urban power grid; c 2 is the characteristic vector for comparing the load rate of urban power grid lines with the sensitivity of urban power grid line loss; c 3 is the characteristic vector for comparing the load rate of the urban power grid line and the voltage sensitivity of the urban power grid; c 1( j ), c 2( j ), c 3( j ) are the eigenvectors c 1. c 2. c 3rd j It should be noted that the comparison in this embodiment can be in the form of, but not limited to, a ratio, and in other optional embodiments, other comparison methods can also be used.
[0096] Step 400, iteratively solve the comprehensive evaluation model of the node power supply capability, obtain the optimal power supply strategy of the urban power grid and control the power supply access according to the optimal power supply strategy.
[0097] This step 400 calculates the power access location and power under the condition of urban power grid supply guarantee based on various types of fixed and mobile distributed power resources in the city. Optionally, this step 400 uses a greedy algorithm (GA) to calculate the injected power of each node in the urban power grid, so as to achieve the optimal access location and power of the distributed power resources in the urban power grid. In the calculation process, the greedy algorithm solves the local optimal value in the current urban power grid, and through continuous iterative calculation, it achieves a continuous approach to the optimal solution.
[0098] When the greedy algorithm solves the injected power of the urban power grid node, the size of the injected power of the urban power grid node is randomly constructed, and the urban power grid line load rate, urban power grid load shedding rate, urban power grid line loss sensitivity and urban power grid voltage sensitivity are continuously solved when the node meets the load demand of the urban power grid with the minimum impact (that is, when the comprehensive evaluation model is the minimum value), and the convergence is close to the global optimal value, which is the optimal supply guarantee strategy for the urban power grid, that is, the optimal distributed power source access location and power.
[0099] After obtaining the optimal power supply strategy for the urban power grid, the access of distributed power sources is controlled according to the optimal power supply strategy, which can effectively alleviate the problem of local blockage in the urban power grid channel without causing voltage exceeding the limit, and can improve the accuracy and reliability of the power supply configuration.
[0100] Based on the same technical concept as above, this embodiment also proposes a city power grid supply guarantee system, such as Figure 2 As shown, the system proposed in this embodiment specifically includes:
[0101] The data preprocessing module receives the city power grid data and preprocesses the data. The specific data preprocessing method is as described in step 100 of the above method, which will not be described in detail here.
[0102] The supply guarantee analysis module analyzes the load rate of the urban power grid line, the node load shedding rate, and the impact of the access power supply on the line loss and voltage of the urban power grid based on the preprocessed data. The specific analysis process is as described in step 200 of the above method, and will not be repeated here.
[0103] A comprehensive evaluation module, which establishes a time-series sensitivity matrix for urban power grid supply security based on the analysis results of the supply security analysis module, and obtains a comprehensive evaluation model for node supply security capabilities. The time-series sensitivity matrix and the comprehensive evaluation model are obtained as described in step 300 of the above method, and will not be described in detail here.
[0104] And, an iterative solution module, which iteratively solves the comprehensive evaluation model of the node supply guarantee capability, obtains the optimal supply guarantee strategy of the urban power grid and controls the power supply access according to the optimal supply guarantee strategy. The specific iterative solution process is as described in step 400 of the above method, and will not be repeated here.
[0105] This embodiment also provides a computer device for executing the above method of this embodiment.
[0106] Specific as Figure 3 As shown, a computer device includes a processor, a memory and a system bus; various device components including the memory and the processor are connected to the system bus. The processor is a piece of hardware used to execute computer program instructions through basic arithmetic and logical operations in a computer system. The memory is a physical device used to temporarily or permanently store computer programs or data (e.g., program status information). The system bus can be any of the following types of bus structures, including a memory bus or a memory controller, a peripheral bus, and a local bus. The processor and the memory can communicate data through the system bus. The memory includes a read-only memory (ROM) or a flash memory (not shown in the figure), and a random access memory (RAM), and RAM generally refers to the main memory loaded with the operating system and computer programs.
[0107] Computer equipment generally includes a storage device. The storage device can be selected from a variety of computer-readable media, which refers to any available media that can be accessed by the computer equipment, including both removable and fixed media. For example, computer-readable media include, but are not limited to, flash memory (micro SD card), CD-ROM, digital versatile disc (DVD) or other optical disk storage, magnetic tape cassette, magnetic tape, magnetic disk storage or other magnetic storage device, or any other medium that can be used to store the desired information and can be accessed by the computer equipment.
[0108] Computer devices can be logically connected to one or more network terminals in a network environment. Network terminals can be personal computers, servers, routers, smart phones, tablets, or other public network nodes. Computer devices are connected to network terminals through network interfaces (local area network LAN interfaces). Local area network (LAN) refers to a network of computers interconnected within a limited area, such as a home, school, computer laboratory, or office building using network media. WiFi and twisted pair cabling Ethernet are the two most commonly used technologies for building LANs.
[0109] It should be noted that other computer systems including more or fewer subsystems than a computer device may also be suitable for the invention.
[0110] As described in detail above, the computer device applicable to the present embodiment can perform the specified operations of the above-mentioned city power grid supply guarantee method. The computer device performs these operations in the form of software instructions running in a computer-readable medium by a processor. These software instructions can be read into the memory from a storage device or from another device through a local area network interface. The software instructions stored in the memory enable the processor to execute the above-mentioned city power grid supply guarantee method. In addition, the present invention can also be implemented by hardware circuits or hardware circuits combined with software instructions. Therefore, the implementation of this embodiment is not limited to any specific combination of hardware circuits and software.
[0111] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for ensuring supply of a city power grid, characterized in that: The method comprises: Collect urban power grid data and pre-process the data; Based on the preprocessed data, analyze the load rate of urban power grid lines, the load shedding rate of urban power grid nodes, and the impact of access power on urban power grid line loss and urban power grid voltage; Based on the analysis results of the load rate of urban power grid lines, the load shedding rate of urban power grid nodes, and the impact of access power on urban power grid line loss and urban power grid voltage, the urban power grid supply security timing sensitivity matrix is established to obtain a comprehensive evaluation model of node supply security capability; Iteratively solve the comprehensive evaluation model of the node power supply capability, obtain the optimal power supply strategy of the urban power grid and control the power supply access according to the optimal power supply strategy; The process of establishing the urban power grid supply guarantee timing sensitivity matrix specifically includes: Establish a time series sensitivity matrix that compares the urban power grid line load rate with the urban power grid node load shedding rate, the urban power grid line loss sensitivity and the urban power grid voltage sensitivity, and calculate the eigenvector of the time series sensitivity matrix; Based on the characteristic vector, a comprehensive evaluation model of the node supply guarantee capability is established; The comprehensive evaluation model is: H(j)=γ1γ1(j)+γ2γ2(j)+γ3γ3(j) Where H(j) is the comprehensive evaluation result of the supply guarantee capability of the j-th node in the urban power grid; γ1 is the characteristic vector for comparing the load rate of the urban power grid line with the load shedding of the urban power grid; γ2 is the characteristic vector for comparing the load rate of the urban power grid line with the line loss sensitivity of the urban power grid; γ3 is the characteristic vector for comparing the load rate of the urban power grid line with the voltage sensitivity of the urban power grid; γ1(j), γ2(j), and γ3(j) are the j-th urban power grid impact values of the characteristic vectors γ1, γ2, and γ3, respectively.
2. A method for ensuring supply of urban power grid according to claim 1, characterized in that: The urban power grid line load rate is the ratio between the maximum load of the urban power grid line and the capacity of the urban power grid line, which is used to characterize the load-bearing capacity of the urban power grid line; the urban power grid line load rate analysis is specifically to obtain the urban power grid node load rate matrix by calculating the line load rate of each node branch in the urban power grid; The urban power grid node load shedding rate is the ratio of the maximum load shedding of a node in the urban power grid to the current load of the node; the urban power grid node load shedding rate analysis is specifically to obtain an urban power grid node load shedding rate matrix by calculating the node load shedding rate of each node branch in the urban power grid.
3. A method for ensuring supply of urban power grid according to claim 2, characterized in that: The analysis of the impact of access power on the line loss of the urban power grid is specifically to obtain the urban power grid line loss sensitivity matrix by calculating the sum of the partial derivatives of the injected power of each node in the urban power grid; The analysis of the impact of the access power supply on the urban power grid voltage is specifically to obtain the urban power grid voltage sensitivity matrix by calculating the impact of the injected power of each node in the urban power grid on the overall voltage of the urban power grid.
4. A method for ensuring supply of a city power grid according to any one of claims 1 to 3, characterized in that: The data preprocessing process specifically includes: Using k-nearest neighbors to calculate the k-reachable distances between the data points in the collected urban power grid data; Calculate the local reachability density of data points in the urban power grid data based on the k-reachable distance between data points; According to the local reachable density of the data points, the local outlier factors of the data points in the urban power grid data are calculated and the abnormal data points are screened out according to the local outlier factors; The screened abnormal data points are repaired by linear interpolation.
5. A method for ensuring supply of urban power grid according to claim 4, characterized in that: The method adopts a greedy algorithm to iteratively solve the comprehensive evaluation model of the node supply guarantee capability. During the solution process, the size of the power injected into the urban power grid node is randomly constructed, and the urban power grid line load rate, urban power grid node load shedding rate, urban power grid line loss sensitivity and urban power grid voltage sensitivity are continuously solved when the node meets the urban power grid load demand. The optimal power supply access position and power under the condition of urban power grid supply guarantee are obtained.
6. A city power grid supply guarantee system, characterized in that: The system comprises: A data preprocessing module, which collects urban power grid data and preprocesses the data; A supply guarantee analysis module, which analyzes the load rate of the urban power grid lines, the load shedding rate of the urban power grid nodes, and the impact of the access power supply on the line loss and voltage of the urban power grid based on the preprocessed data; A comprehensive evaluation module, which establishes a city power grid supply guarantee timing sensitivity matrix based on the analysis results of the city power grid line load rate, the city power grid node load shedding rate, and the impact of the access power supply on the city power grid line loss and the city power grid voltage, and obtains a comprehensive evaluation model of the node supply guarantee capability; and, an iterative solution module, which iteratively solves a comprehensive evaluation model of node power supply capability, obtains an optimal power supply strategy for the urban power grid, and controls power supply access according to the optimal power supply strategy; The process of establishing the urban power grid supply guarantee timing sensitivity matrix specifically includes: Establish a time series sensitivity matrix that compares the urban power grid line load rate with the urban power grid node load shedding rate, the urban power grid line loss sensitivity and the urban power grid voltage sensitivity, and calculate the eigenvector of the time series sensitivity matrix; Based on the characteristic vector, a comprehensive evaluation model of the node supply guarantee capability is established; The comprehensive evaluation model is: H(j)=γ1γ1(j)+γ2γ2(j)+γ3γ3(j) Where H(j) is the comprehensive evaluation result of the supply guarantee capability of the j-th node in the urban power grid; γ1 is the characteristic vector for comparing the load rate of the urban power grid line with the load shedding of the urban power grid; γ2 is the characteristic vector for comparing the load rate of the urban power grid line with the line loss sensitivity of the urban power grid; γ3 is the characteristic vector for comparing the load rate of the urban power grid line with the voltage sensitivity of the urban power grid; γ1(j), γ2(j), and γ3(j) are the j-th urban power grid impact values of the characteristic vectors γ1, γ2, and γ3, respectively.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
8. 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 5 are implemented.
Citation Information
Cited By
Urban power grid viability assessment method and device considering main and distribution cooperation
CN119994857A
A method and device for evaluating survivability of urban power grid considering main coordination
CN119994857B
