An intelligent power distribution monitoring method and system
By dividing the power grid into hierarchies and building a neural network, using dimensionality reduction and correlation analysis, the accuracy problem of power grid distribution monitoring is solved, and comprehensive monitoring and accurate reflection of all aspects of the power grid are achieved.
Patent Information
- Application Number
- CN202410592536.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-05-13
AI Technical Summary
It is difficult to achieve comprehensive monitoring of the power distribution process of the power grid with existing technology, especially when the power grid equipment and parameters are diverse. Conventional threshold judgment or machine learning algorithms cannot accurately monitor the entire operation of the power grid.
By dividing the power grid into several levels, a neural network is constructed at each level, and dimensionality reduction technology and gray-level correlation methods are used to reduce the dimensions and connect the neural networks to build a power grid distribution monitoring network to achieve correlation analysis of power data at different levels. and monitoring.
It improves the accuracy and globality of power grid distribution monitoring, reduces the amount of calculation, and ensures that the dimensionality reduction results at each level reflect the power distribution situation of each link in the power grid based on the power grid status at this level.
Smart Images

Figure CN118487377B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a big data intelligent analysis technology used in the field of power grid distribution, and in particular to an intelligent power distribution monitoring method and system. Background Art
[0002] Power distribution in power grids is an indispensable way to maintain the stable operation of power grids. The commonly used power distribution method is to remotely control the opening and closing of devices such as circuit breakers to distribute power, and monitoring the power distribution process of power grids is an important part of power distribution in power grids. Usually, when using big data technology to monitor power distribution in power grids, it is necessary to collect various parameter data in the power grid, such as the voltage, current and operating temperature of devices such as circuit breakers in distribution cabinets, the output power of transformers, and the power consumption of distribution users or distribution areas. Using these data, monitor whether the power distribution process is abnormal through threshold judgment or machine learning algorithms, neural network models, etc. When there is an abnormality, redistribute power or issue an early warning by remotely controlling devices such as circuit breakers in the abnormal area.
[0003] However, due to the large number of grid equipment and grid parameters involved in the power distribution process, conventional threshold judgment or machine learning algorithms, neural network models, etc. can only analyze and process part of the grid parameter data, and can only achieve partial distribution monitoring. If you want to accurately and comprehensively monitor the power distribution process from the entire operation of the power grid, you need to input various types of parameter data in the power grid into the machine learning or neural network together. However, since the various types of parameter data in the power grid are not only numerous, but also target different grid equipment and describe different physical quantities, when directly used in machine learning or neural networks, accurate monitoring results cannot be obtained. Summary of the invention
[0004] In order to solve the above problems, the present invention provides an intelligent power distribution monitoring method and system.
[0005] An intelligent power distribution monitoring method and system of the present invention adopts the following technical solutions:
[0006] An embodiment of the present invention provides an intelligent power distribution monitoring method, the method comprising the following steps:
[0007] Dividing the power grid into several levels, the levels at least sequentially include: a power distribution area level, a power distribution equipment level, a low-voltage distribution line level, and a secondary transformer level;
[0008] Perform dimensionality reduction on the power data of the first level to obtain the dimensionality reduction result of the first level. Any two adjacent levels after and including the first level are sequentially recorded as level 1 and level 2. According to the distribution relationship of the power data of level 2 relative to the dimensionality reduction result of level 1, perform dimensionality reduction on level 2 to obtain the dimensionality reduction result of level 2.
[0009] A neural network is constructed at each level, and the dimension reduction result of each level is used as the input of the corresponding neural network at each level. The neural networks of adjacent levels are directly connected, and the neural networks of non-adjacent levels are connected using residual connections to obtain a power grid distribution monitoring network, which is used to perform distribution monitoring.
[0010] Preferably, the step of reducing the dimension of the first-level power data to obtain the first-level dimension reduction result includes the following specific steps:
[0011] Each level contains several dimensions, each dimension has several power data, all power data of all dimensions under the first level are subjected to PCA dimensionality reduction to P dimensions, and several power dimensionality reduction data of each dimension under the first level are obtained; all power dimensionality reduction data of all dimensions under the first level are taken as the dimensionality reduction results of the first level, and P is a preset value.
[0012] Preferably, the step of performing dimensionality reduction on level 2 according to the distribution relationship of the power data of level 2 relative to the dimensionality reduction result of level 1 to obtain the dimensionality reduction result of level 2 includes the following specific steps:
[0013] The dimension reduction dimension of the dimension reduction result of level 1 is recorded as P1; the dimension reduction result of level 1 includes the power dimension reduction data of each dimension under level 1;
[0014] All power data of all dimensions under level 2 are subjected to PCA dimensionality reduction to P1 dimension, and the initial power dimensionality reduction data of each dimension under level 2 are obtained;
[0015] The gray correlation method is used to obtain the correlation dimension between level 2 and level 1;
[0016] According to the initial power dimensionality reduction data of the associated dimensions at level 2 and the power dimensionality reduction data of the associated dimensions at level 1, the transformation relationship of the associated dimensions at level 2 relative to the associated dimensions at level 1 is obtained; according to the transformation relationship, the power data of all dimensions at level 2 are re-dimensionalized to obtain the final dimensionality reduction result of level 2, and the transformation relationship is used to describe the distribution relationship of the power data at level 2 relative to the dimensionality reduction result of level 1.
[0017] Preferably, the specific steps of obtaining the transformation relationship are as follows:
[0018] The initial power dimension reduction data of the associated dimensions under level 2 are formed into a matrix D2, and the power dimension reduction data of the associated dimensions under level 1 are formed into a matrix D1, and the matrix D is solved so that D×D2=D1;
[0019] The solution method is the stochastic gradient descent method, and the solved matrix D is recorded as the transformation relationship.
[0020] Preferably, the power data of all dimensions at level 2 are re-dimensionalized according to the transformation relationship to obtain the final dimensionality reduction result of level 2, which includes the following specific steps:
[0021] All power data of all dimensions under level 2 are subjected to PCA dimensionality reduction and reduced to P2 dimension to obtain temporary power dimensionality reduction data of each dimension under level 2; the temporary power dimensionality reduction data of all dimensions under level 2 constitute the matrix D3, and the product of the transformation relationship D and D3 is recorded as the dimensionality reduction result of level 2; P2 is determined by the transformation relationship D.
[0022] Preferably, the specific steps for obtaining P2 are as follows:
[0023] The mean of the absolute values of all elements in the transformation relationship is calculated. When the mean is greater than the preset first threshold, P2=P1+4; when the mean is less than or equal to the preset first threshold, P2=P1.
[0024] Preferably, the power distribution monitoring using the power grid distribution monitoring network includes the following specific steps:
[0025] The dimensionality reduction results of all levels are input into the trained power grid distribution monitoring network to obtain the predicted average power consumption of each distribution area. When the difference between the predicted average power consumption and the actual power consumption of each distribution area is greater than the preset second threshold, the power distribution situation in the distribution area is judged to be abnormal.
[0026] Preferably, the dimensions include: voltage, power, temperature, and vibration amplitude.
[0027] Preferably, the levels after the secondary transformer level also include: a high-voltage distribution line level, a primary transformer level, a transmission line level, and a power source level.
[0028] On the other hand, an embodiment of the present invention provides an intelligent power distribution monitoring system, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the above method when executing the computer program.
[0029] The beneficial effects of the technical solution of the present invention are:
[0030] The power grid is divided into several levels; the purpose is to ensure that only the equipment and parameters involved in each level are concerned, so as to avoid the problem that all the equipment and parameters in the power grid cannot be well analyzed and processed when they are mixed together. Further, according to the distribution relationship of the power data of level 2 relative to the dimensionality reduction result of level 1, the dimensionality reduction of level 2 is carried out to obtain the dimensionality reduction result of level 2. This process is essentially to reduce the dimensionality of the power data of each level in turn, so that the dimensionality reduction result of the next level is determined by the power data of the previous level; on the one hand, it can ensure that when reducing the dimensionality of the power data of one level, the interference of the power data of other levels is minimized, and the amount of calculation is reduced while making the dimensionality reduction result of each level as much as possible for the power distribution or working state of the power grid at this level, thereby ensuring the accuracy of the dimensionality reduction result; on the other hand, it ensures that the power data between different levels influence and restrict each other. This mutual influence and restriction describes the physical connection between different power grid levels during power distribution. As a result, the dimensionality reduction results of the power data with different physical meanings at each level have high accuracy and can also reflect the power distribution situation of each link of the power grid. A neural network is further constructed based on each layer, and different connection relationships are adopted between different layers, so that the power distribution monitoring network can also describe the power distribution conditions of each link of the power grid. Even if there are many power data with different physical meanings, the accuracy of distribution monitoring can be guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1 A flowchart of the steps of an intelligent power distribution monitoring method provided by one embodiment of the present invention;
[0033] Figure 2 A schematic diagram showing the structure of a power distribution monitoring network for a power grid. DETAILED DESCRIPTION
[0034] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of an intelligent power distribution monitoring method and system proposed according to the present invention, its specific implementation method, structure, characteristics and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0035] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0036] The specific scheme of an intelligent power distribution monitoring method and system provided by the present invention is described in detail below with reference to the accompanying drawings.
[0037] Embodiment 1:
[0038] See also Figure 1 , which shows a flowchart of a method for intelligent power distribution monitoring provided by Embodiment 1 of the present invention, the method comprising the following steps:
[0039] Step S001: Divide the power grid into several levels.
[0040] In the power distribution process, this embodiment divides the power grid into several levels according to the operating principle of the power grid, ensuring that only the equipment and parameters involved in each level are concerned, avoiding the problem that all the equipment and parameters in the power grid cannot be well analyzed and processed when mixed together. At the same time, adjacent levels are directly connected on the power grid, and it is only necessary to ensure that the parameter data between adjacent levels are correlated and analyzed later, which can ensure the correlation between different power grid hierarchical structures during the power distribution process, and avoid the problem that all the equipment and parameters in the power grid cannot be well analyzed and processed when mixed together due to the complex structural relationship between the power grids.
[0041] The specific method is:
[0042] First of all, the general operation process and distribution process of the power grid are as follows: the power source in the power station generates electricity, such as the generator in the hydropower station, wind power station, thermal power station, and the solar panels in the photovoltaic power station. After the power is stepped up, it is transmitted to the primary transformer through the transmission network. The primary transformer steps down the voltage and outputs it to the secondary transformer. The power output by the secondary transformer is transmitted to each distribution area through the distribution equipment for use by users in each distribution area. When distributing power, power can be distributed by controlling the working state of the distribution equipment, such as controlling the opening and closing of the circuit breaker, or by controlling the opening and closing of the isolating switch on the transmission line, or by switching in or out of the transformer, power supply, etc.
[0043] Based on the operation and distribution process of the power grid, the power grid is divided into the following levels, from the first level to the fourth level, respectively: distribution area level, distribution equipment level, low-voltage distribution line level, secondary transformer level; in other embodiments, the fifth level to the eighth level may also be included, respectively: high-voltage distribution line level, primary transformer level, transmission line level, power source level.
[0044] The distribution area level describes the link or process from the output of electricity by the distribution equipment to the use by the user. The collected data include: the daily average power consumption of all users in the distribution area, the number of power failures in the distribution area per day, the daily average power consumption of industrial and commercial manufacturing equipment in the distribution area, etc.
[0045] The distribution equipment level describes the link of distributing electricity to each distribution area. The collected data include: the voltage, current, power passing through the circuit breaker every minute, the average temperature and vibration amplitude of the circuit breaker every minute (obtained by temperature sensors and vibration sensors respectively), and the opening and closing status of the circuit breaker within one minute (when the disconnected state exists within one minute, the opening and closing status is recorded as 1, and when the disconnected state does not exist, the opening and closing status is recorded as 0).
[0046] The low-voltage distribution line level describes the link where the power output by the secondary transformer is transmitted to the distribution equipment through the low-voltage distribution line. The collected data include: the voltage, current, and power passing through the low-voltage distribution line bus every minute, and the voltage, current, and power passing through each sampling point on the low-voltage distribution line every minute. The sampling point refers to the sampling point selected artificially on the low-voltage distribution line. At each sampling point, voltage, current, and power are collected through voltage transformers, current transformers, power meters, etc.
[0047] The secondary transformer level describes the process of reducing the voltage of the electricity transmitted by the primary transformer. The collected data include: the voltage, current, power output by the secondary transformer per minute, the operating temperature per minute, the vibration amplitude, etc.
[0048] In other embodiments, the high-voltage distribution line level describes the link in which the power output by the primary transformer is input to the secondary transformer level through the high-voltage distribution line. The collected data include: the voltage, current, and power passing through the busbar and disconnector on the high-voltage distribution line every minute.
[0049] The primary transformer level describes the initial step-down of high-voltage electricity from the power source (power station). The data collected is the same as that collected at the secondary transformer level.
[0050] The transmission line level and power source level describe the link of boosting and transmitting the power output by the power source and the link of generating the power respectively. The collected data include: voltage, current and power of the sampling points on the transmission line, power output by the generator, etc.
[0051] It should be noted that the above-mentioned hierarchical division is only a simple division. In fact, the working process of the power grid is very complicated. For example, the power output by the primary transformer may require multiple layers of secondary transformers to perform multiple voltage reductions. At this time, multiple secondary transformer levels should be divided; for example, in order to further ensure the flexibility of power grid operation and power dispatching, low-voltage distribution lines or high-voltage distribution lines may need to be connected in a mesh, tree, or ring shape. Therefore, low-voltage distribution lines or high-voltage distribution lines can also continue to be subdivided into levels.
[0052] Therefore, in other embodiments, it is necessary to divide the levels according to the local specific power grid structure and working process. This embodiment does not specifically provide other division methods that are the same as the concept of this embodiment. At the same time, this embodiment does not limit the data collected at each level. In other embodiments, data collection can be performed according to specific circumstances, such as increasing or decreasing the types of data collection, or increasing or decreasing the intervals of data collection.
[0053] It should also be noted that the power grid targeted by this embodiment is a power grid in a city, and other embodiments may target power grids in other regions, such as power grids in an autonomous region or a province.
[0054] Step S002: perform dimensionality reduction on the first-level power data to obtain the dimensionality reduction result of the first level.
[0055] The data collected at each of the above levels is recorded as power data. The above collected power data respectively describe parameter data with different physical meanings under different power grid equipment. In this embodiment, the parameter data with each physical meaning under the same equipment in each level is called a dimension, that is, power data of different dimensions are collected at each level.
[0056] For example, the daily average power consumption of all users in the distribution area at the distribution area level is one dimension, and the number of power failures per day is another dimension; the voltage, current, power output per minute of the secondary transformer, the operating temperature per minute, and the vibration amplitude are five different dimensions. It should be noted that the voltage, current, and power in this embodiment are equivalent voltage, equivalent current, and equivalent power, respectively.
[0057] In addition, the collection time of power data in each dimension of each level is one week, that is, each dimension in each level is a time series data; for example, the power data of the dimension of daily average power consumption of all users in the distribution area refers to a time series consisting of daily average power consumption within a week. The reason is that when conducting power distribution inspections, it is not only necessary to combine the power grid status at a certain moment or the current moment, but to monitor the changes in the power grid status at a certain moment in history or a certain time period before the current moment. This is conducive to the accuracy and reliability of power distribution monitoring. Other sampling durations can be set in other embodiments.
[0058] Since there are many devices and dimensions at each level, the power data collected at each dimension is also large. For example, if there are 50 transformers at the secondary transformer level, then the dimension of the secondary transformer output voltage also corresponds to 50 power data; this embodiment reduces the amount of data and eliminates redundant data by using the method of dimensionality reduction.
[0059] As an example, the method for reducing the dimension of the first-level power data is as follows (the dimensionality reduction methods of other levels will be described later):
[0060] The PCA algorithm is used to reduce the dimension of all power data of all dimensions under the first level, and each power reduced dimension data of each dimension under the first level is obtained. In this embodiment, the reduced dimension of the power reduced dimension data after the dimension reduction is set to P, that is, the power data is reduced to P-dimensional power reduced dimension data. All power reduced dimension data of all dimensions under the first level are taken as the dimensionality reduction results of the first level. It should be noted that, in this embodiment, the dimensionality reduction results of the first level are expressed in matrix form, and each row of the matrix is a power reduced dimension data.
[0061] In this embodiment, P=10 is used as an example for description. In other embodiments, it can be set to other values. This embodiment does not specifically limit it. It should be noted that in other embodiments, P does not need to be set to too many values, and it is better to take a value in the range of [5, 20]. The reason is: although the larger the value of P is set, the less data information is discarded and the more data information content is, the amount of data is still relatively large. At the same time, in all embodiments of the present invention, it is considered that the power distribution of the power grid pays more attention to the mutual cooperation between power equipment and the related constraints or associations between various power data, and it is not necessary to pay too much attention to a certain power equipment or power data. Otherwise, the power distribution of the power grid or the power distribution monitoring will be too limited to a certain factor and lack generalization ability, and thus it will be impossible to consider the operation of the power grid from a global perspective. Therefore, the dimensions of the power data collected in the embodiment of the present invention are numerous, and it is not necessary to pursue too high a dimension for each power data, so P does not need to be set to a too large value.
[0062] Step S003, any two adjacent levels after and including the first level are recorded as level 1 and level 2 respectively, and level 2 is reduced in dimension according to the distribution relationship of the power data of level 2 relative to the dimensionality reduction result of level 1 to obtain the dimensionality reduction result of level 2.
[0063] The above reduces the dimension of the first-level power data and reduces the amount of data at the first level.
[0064] The conventional idea or practice is to use the dimensionality reduction method of the first-level power data to reduce the dimensionality of each other level separately. In addition to reducing the amount of data at each level, this also ensures that when reducing the dimensionality of the power data at one level, the interference of the power data at other levels is not considered, reducing the amount of calculation while making the dimensionality reduction result of each level only for the power distribution or working status of the power grid at this level, avoiding the situation where the power data of all levels are mixed together for dimensionality reduction, thereby ensuring the accuracy of the dimensionality reduction result.
[0065] However, there are connections between different levels in the power grid, especially direct connections between adjacent levels. In the above conventional thinking, the dimensionality reduction process of each level is carried out separately and independently, which leads to ignoring the power grid connection between adjacent levels, and thus makes it impossible to comprehensively and accurately monitor the power distribution of the power grid.
[0066] Based on this, in this embodiment, any two adjacent levels after and including the first level are respectively recorded as level 1 and level 2, and level 2 is reduced in dimension according to the distribution relationship of the power data of level 2 relative to the dimensionality reduction result of level 1 to obtain the dimensionality reduction result of level 2.
[0067] For example, when level 1 and level 2 represent the first level and the second level respectively, the second level is dimensionally reduced according to the distribution relationship of the power data of the second level relative to the dimension reduction result of the first level to obtain the dimension reduction result of the second level;
[0068] When level 1 and level 2 represent the second level and the third level respectively, the third level is reduced in dimension according to the distribution relationship of the power data of the third level relative to the dimensionality reduction result of the second level to obtain the dimensionality reduction result of the third level; and so on, the dimensionality reduction results of all levels are obtained.
[0069] The above-mentioned recursive dimensionality reduction is carried out in sequence. When each level is reduced in dimension, it is only for the power data of this level. At the same time, the dimensionality reduction result of each level is determined only by the power data of the previous level. On the one hand, it can ensure that when reducing the dimensionality of the power data of one level, the interference of the power data of other levels is minimized, and the amount of calculation is reduced while making the dimensionality reduction result of each level as targeted as possible at the power distribution or working state of the power grid at this level, thereby ensuring the accuracy of the dimensionality reduction result; on the other hand, it ensures that the power data between different levels influence and restrict each other. This mutual influence and restriction describes the physical connection between different power grid levels during power distribution. For example, the power consumption of users at the distribution area level and the power consumption of industrial and commercial manufacturing equipment affect and restrict the opening and closing state of the circuit breaker at the distribution equipment level and the power flowing through.
[0070] Step S004: construct a neural network at each level, and use the dimension reduction result of each level as the input of the neural network corresponding to each level. Neural networks at adjacent levels are directly connected, and neural networks at non-adjacent levels are connected using residual connections to obtain a power distribution monitoring network.
[0071] The dimensionality reduction results of each level are obtained above. Compared with the existing method of directly reducing the dimensionality of all power data in the power grid together, this embodiment performs dimensionality reduction in layers, and the dimensionality reduction result of each level is determined by the dimensionality reduction result of the previous level. This not only reduces the amount of data and improves the accuracy of the dimensionality reduction results, but also can describe the constraints and influence relationships between various links or levels in the power distribution process of the power grid.
[0072] The existing power distribution monitoring method is to directly input the dimensionality reduction results of all levels into a neural network model or a machine learning model algorithm (such as a fully connected neural network, a hidden Markov model, etc.) for power distribution monitoring. The problem with this method is that although the dimensionality reduction results of all levels can describe the constraints and influence relationships between various links or levels in the power grid distribution process, when the dimensionality reduction results of all levels are input into the neural network model or the machine learning algorithm together, the neural network model or the machine learning algorithm model cannot reflect the constraints and influence relationships between various links or levels in the power grid distribution process; the neural network model or the machine learning algorithm model loses part of the constraints and influence relationships between different links and levels in the power grid, resulting in the problem that the neural network model or the machine learning algorithm model is not accurate and efficient enough.
[0073] Based on this, in this embodiment, a neural network is set for each level, and the dimension reduction result of each level is used as the input of the neural network corresponding to each level. The neural networks of adjacent levels are directly connected to obtain a power grid distribution monitoring network.
[0074] For example, the output of the neural network at the secondary transformer level is also used as an input to the neural network at the low-voltage distribution line level; the output of the neural network at the low-voltage distribution line level is also used as an input to the neural network at the distribution equipment level; the output of the neural network at the distribution equipment level is also used as an input to the neural network at the distribution area level. Figure 2 .
[0075] The power distribution monitoring network obtained above can reflect the constraints and influence relationships between various links or levels in the power distribution process of the power grid, and has high accuracy.
[0076] Further consideration is that there are indirect influences between non-adjacent levels. For example, when a large-scale power outage occurs in the distribution area due to a serious fault in the power grid (or during the peak power consumption period), it is difficult to solve the large-scale power outage problem in the distribution area by only controlling the opening and closing of the circuit breaker at the distribution equipment level. At this time, more transformers need to be connected at the secondary transformer level to supply power, and even transformers and generators at the primary transformer level and the power source level need to be connected to supply power. Based on this, this embodiment uses residual connections for the neural networks of non-adjacent levels, as shown in the following example. Figure 2 The power grid distribution monitoring network shown.
[0077] Step S005: Use the power distribution monitoring network to perform power distribution monitoring.
[0078] The power grid distribution monitoring network outputs the predicted power distribution of each distribution area. It determines whether the power distribution of each distribution area is abnormal based on the predicted power distribution of each distribution area. When the power distribution is abnormal, an alarm is issued. The purpose of the alarm is: after receiving the alarm signal, the power grid department can remotely control power equipment such as circuit breakers or disconnectors to dispatch and redistribute power.
[0079] In addition, this embodiment also provides an intelligent power distribution monitoring system, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of steps S001 to S005 described above when executing the computer program.
[0080] Embodiment 2:
[0081] In this embodiment, as an example, the dimension reduction of level 2 is performed according to the dimension reduction result of level 1 to obtain the dimension reduction result of level 2, including the following method:
[0082] (1) The dimension reduction result of level 1 is recorded as P1, and the dimension reduction result of level 1 includes the power dimension reduction data of each dimension under level 1. All power data of all dimensions under level 2 are reduced to P1 dimension by PCA, and the initial power dimension reduction data of each dimension under level 2 is obtained.
[0083] When level 1 is the first level and level 2 is the second level, P1=P.
[0084] The initial power dimensionality reduction data of each dimension at level 2 obtained in the above process is obtained by reducing the dimensionality of all power data at level 2 separately without paying attention to the power data at other levels. This only reduces the dimension of the power data in level 2. The initial power dimensionality reduction data at this time cannot reflect the influence and constraint relationship between level 2 and its upper level 1.
[0085] (2) Therefore, this embodiment then performs the following processing:
[0086] Get the associated dimensions of level 2 and level 1;
[0087] According to the initial power dimensionality reduction data of the associated dimensions at level 2 and the power dimensionality reduction data of the associated dimensions at level 1, the transformation relationship of the associated dimensions at level 2 relative to the associated dimensions at level 1 is obtained; according to the transformation relationship, the power data of all dimensions at level 2 are re-dimensioned to obtain the dimensionality reduction results of level 2, and the transformation relationship is used to describe the distribution relationship of the power data at level 2 relative to the dimensionality reduction results of level 1.
[0088] In the above process, the influence and constraint relationship between level 2 and its upper level 1 is characterized based on the distribution relationship between level 2 and level 1 in the associated dimension. This ensures that the dimensionality reduction result of level 2 can reflect the influence and constraint relationship between level 2 and its upper level 1. The associated dimension refers to: the dimension in level 2 and level 1 that is closely related to the power grid; for example, the dimension of the daily average power consumption in the distribution area and the dimension of the power passing through the circuit breaker per minute in the distribution equipment level are associated dimensions, because the power passing through the circuit breaker per minute directly determines the size of the daily average power consumption, so these two dimensions are associated dimensions; for example, the dimension of the power output per minute of the secondary transformer in the secondary transformer level and the dimension of the power passing through the low-voltage distribution line bus per minute in the low-voltage distribution line level are associated dimensions.
[0089] In this embodiment, as a preferred example, the method for obtaining the associated dimension of level 2 and level 1 includes:
[0090] The power data of any dimension in level 2 is weighted and scored with the power data of all dimensions in level 1 to obtain the weight score of each dimension in level 1. The weight scoring algorithm used in this embodiment is the grey correlation method, and other embodiments may use the hierarchical analysis method, which is not specifically limited in this embodiment.
[0091] Therefore, under each dimension in level 2, the weight score of each dimension in level 1 is obtained. Assuming that the weight score of dimension b1 in level 1 obtained under dimension a1 in level 2 is the largest, then dimension a1 in level 2 and dimension b1 in level 1 are associated dimensions. That is, the pair of dimensions with the largest weight score in level 2 and level 1 are recorded as associated dimensions.
[0092] As an optional example, the method for obtaining the associated dimension between level 2 and level 1 also includes: artificially selecting the associated dimension between level 2 and level 1 according to the associated influence between different dimensions between the levels, and storing them in a database, and directly reading them from the database when it is necessary to obtain the associated dimension between level 2 and level 1. The advantage of this approach is that after the associated dimension is artificially selected based on expert experience, subsequent calculations can be directly read from the database, reducing the amount of calculations.
[0093] Embodiment three:
[0094] In this embodiment, as a preferred example, according to the initial power dimension reduction data of the associated dimension at level 2 and the power dimension reduction data of the associated dimension at level 1, the transformation relationship of the associated dimension at level 2 relative to the associated dimension at level 1 is obtained, including the following method:
[0095] Since the initial power dimension reduction data of each dimension under level 2 and the power dimension reduction data of each dimension under level 1 have been obtained, the initial power dimension reduction data of the associated dimension under level 2 and the power dimension reduction data of the associated dimension under level 1 can be obtained;
[0096] In this embodiment, the initial power dimension reduction data of the associated dimensions under level 2 are used to form a matrix D2, wherein each row of the matrix D2 is an initial power dimension reduction data.
[0097] It should be noted that, since there are multiple power data in each dimension under level 2, for example, there are 50 transformers under the secondary transformer level, then the dimension of the secondary transformer output voltage also corresponds to 50 power data. If the dimension of the secondary transformer output voltage is an associated dimension, then the associated dimension under level 2 also corresponds to 50 power data. Then the initial power dimension reduction data of the associated dimension under level 2 also corresponds to 50. Therefore, the matrix D2 has 50 rows. Because the initial power dimension reduction data is P1-dimensional, the matrix D2 has P1 columns.
[0098] Similarly, the power dimension reduction data of the associated dimensions under level 1 are formed into a matrix D1, each row of the matrix D1 represents a power dimension reduction data, and the number of rows of the matrix D1 is equal to the number of power dimension reduction data of the associated dimensions under level 1. It should be noted that since the dimension reduction dimension of the initial power dimension reduction data and the dimension reduction dimension of the power dimension reduction data of the associated dimensions under level 1 are both P1, D1 and D2 have the same number of columns, but not necessarily the same number of rows;
[0099] Solve the matrix D so that D×D2=D1; the solution method of this embodiment is the stochastic gradient descent method, and the solved matrix D is recorded as the transformation relationship.
[0100] It should be noted that the stochastic gradient descent method is a commonly used parameter optimization method. When some parameter models cannot use the function analysis method to solve the parameters, the stochastic gradient descent method is usually used to solve the most approximate solution. The general principle of this method is: first randomly initialize the parameters, for example, first randomly initialize the matrix D in this embodiment, and then iterate and update the gradient multiple times by the gradient descent method to obtain the optimal parameters, for example, to obtain the optimal matrix parameter D required to be solved in this embodiment. The specific process of the stochastic gradient descent algorithm is well known, and this embodiment will not be described in detail. In this embodiment, the number of iterations of the stochastic gradient descent method is set to 1000, and can be set to other values in other embodiments, which is not specifically limited in this embodiment.
[0101] In this embodiment, as a preferred example, the power data of all dimensions at level 2 are re-dimensionalized according to the transformation relationship to obtain the dimension reduction result of level 2, including the method of:
[0102] All power data of all dimensions under level 2 are re-processed with PCA to reduce the dimension to P2 dimension, and temporary power dimension reduction data of each dimension under level 2 are obtained;
[0103] The temporary power dimensionality reduction data of all dimensions at level 2 constitutes a matrix D3, and the product of D and D3 is recorded as the dimensionality reduction result of level 2. It should be noted that the dimensionality reduction result of level 2 is P2-dimensional.
[0104] As an example, the method for obtaining P2 is as follows:
[0105] The mean of the absolute values of all elements in the transformation relationship D is calculated. When the mean is greater than the first threshold th1, P2=P1+4; when the mean is less than or equal to the first threshold th1, P2=P1.
[0106] Among them, when the mean value is greater than the first threshold value th1, it means that the transformation relationship of the associated dimension under level 2 relative to the associated dimension under level 1 is relatively large, and when the associated dimension of level 2 is transformed to the associated dimension of level 1, the transformation process is relatively complex, that is, the influence and constraint relationship between level 2 and its upper level 1 is relatively complex, so it is necessary to properly retain more power data features of level 2, so P2 should be greater than P1, that is, in this embodiment, P2=P1+4. When the mean value is less than or equal to the first threshold value th1, it means that the transformation relationship of the associated dimension under level 2 relative to the associated dimension under level 1 is not large, and when the associated dimension of level 2 is transformed to the associated dimension of level 1, the transformation process is relatively simple, that is, the influence and constraint relationship between level 2 and its upper level 1 is relatively simple, so the power data features of level 2 should be consistent with the power data dimensionality reduction dimension of level 1, so P2=P1.
[0107] This example is described by taking th1=10 as an example. In other embodiments, it can be set to other values, which will not be described in detail in this embodiment.
[0108] In the above, all the power data of all dimensions under level 2 are re-dimensioned and changed through the transformation relationship D, so that the dimensionality reduction result of level 2 and the dimensionality reduction result of level 1 can describe the constraint and influence relationship between the levels. At the same time, further, the dimensionality reduction dimension P2 of the dimensionality reduction result of level 2 is determined by the transformation relationship, which can ensure that the dimensionality reduction dimensions of different levels can reflect the influence and constraint relationship with the previous level, and avoid the problem of losing too many power data features in the process of reducing the dimensions of all levels in sequence.
[0109] In this embodiment, as an optional example, the method for calculating the transformation relationship of the associated dimension at level 2 relative to the associated dimension at level 1 further includes: taking the difference between the means of D1 and D2 as the transformation relationship D.
[0110] Although this method has low accuracy, the calculation process is simple and requires little computation. It can also describe the distribution relationship of the power data at level 2 relative to the dimensionality reduction results at level 1, and is suitable for implementation scenarios with large amounts of data.
[0111] Based on this, as an optional example, the power data of all dimensions under level 2 are re-dimensionalized according to the transformation relationship to obtain the dimensionality reduction result of level 2, including the method of:
[0112] All power data of all dimensions under level 2 are re-processed with PCA to reduce the dimension to P2 dimension, and temporary power dimension reduction data of each dimension under level 2 are obtained;
[0113] The temporary power dimensionality reduction data of all dimensions at level 2 constitutes a matrix D3, and the sum of D and D3 is recorded as the dimensionality reduction result of level 2.
[0114] Embodiment 4:
[0115] In this embodiment, a neural network is set for each level, and the neural network used is a fully connected neural network with five hidden layers. In other embodiments, other numbers of hidden layers can be used, and this embodiment does not specifically limit this. At the same time, in other embodiments, the fully connected neural network can also be replaced by other neural networks, such as a convolutional neural network.
[0116] In addition, the matrix formed by the dimensionality reduction results of each level is used as the input of the neural network corresponding to each level. In addition, some rated quantities in each level are also used as the input of the corresponding neural network. Some rated quantities in the level include: the rated voltage, current and power allowed to pass through the circuit breaker at the distribution equipment level; the rated voltage, current and power allowed to pass through the low-voltage distribution line bus at the low-voltage distribution line level; the rated voltage, current and power allowed to be output by the secondary transformer at the secondary transformer level; this embodiment will not be described one by one, and other inputs can be added according to specific circumstances.
[0117] Furthermore, the neural networks at adjacent levels are directly connected. The specific process of this method is as follows:
[0118] The number of neurons in the output layer of the neural network at the level other than the first level is set to Q1, and this embodiment is described by taking Q1=20 as an example. The number of neurons in the output layer of the first level of the neural network is set to Q2, and in this embodiment, Q2 is set to the number of distribution areas.
[0119] Taking layer 1 and layer 2 as an example, the output results of Q1 neurons in the output layer of the neural network of layer 2 are also used as the input of the neural network of layer 1, thereby realizing the direct connection of the neural networks of adjacent layers.
[0120] Furthermore, the neural network of non-adjacent layers uses residual connection. The specific process of this method is as follows:
[0121] The non-adjacent levels selected in this embodiment are: the distribution area level and the low-voltage distribution line level, the distribution equipment level and the secondary transformer level; other non-adjacent levels can be selected in other embodiments, which will not be described in detail in this embodiment.
[0122] The residual connection method is: the neurons of the output layer of the neural network at the low-voltage distribution line level are added to the neurons of the output layer of the neural network at the next level of the distribution area level (that is, the distribution equipment level), and then used as the input of the neural network at the distribution area level. Figure 2 As shown in the figure, the residual connection between the distribution area level and the secondary transformer level is the same, as shown in the figure. Figure 2 shown.
[0123] In this embodiment, the training method of the power grid distribution monitoring network is as follows:
[0124] In the history, the power data of each level before each power distribution is recorded, and the dimensionality reduction result of each level is obtained according to the method of the above embodiment, and the average distribution power of each distribution area after each power distribution is recorded. For example, if the average distribution power M of a distribution area increases, then the average distribution power of the distribution area is M. If the average distribution power M of the distribution area decreases, then the average distribution power of the distribution area is -M. Before and after each power distribution, the dimensionality reduction results of all levels are taken as a sample, and the average distribution power of all distribution areas is taken as the label of the sample. Then, after multiple power distributions in the history, a large number of samples and labels are obtained. These samples and labels are used as a data set, and the data set is used to train the power grid distribution monitoring network. The loss function used in training is the mean square error loss function. The method of training a neural network using a data set is well known, and the specific process will not be repeated in this embodiment.
[0125] After the training of the power grid distribution monitoring network is completed, the power data of each level at the current moment is collected, and the dimension reduction results of each level are obtained. The dimension reduction results of each level are input into the power grid distribution monitoring network after training. The power grid distribution monitoring network outputs the predicted average distribution power of each distribution area.
[0126] It should be noted that in the above process, the rated quantity in each level also needs to be used as a data in the sample to participate in the training of the power grid distribution monitoring network, and also as an input of the power grid distribution monitoring network to participate in the acquisition of the predicted average distribution power.
[0127] The average power consumption of each distribution area at the current moment is recorded as the actual power consumption N. When the absolute value of the difference between the absolute value of the predicted average distribution power of the distribution area and N is greater than the second threshold th2, it means that the power distribution situation of the distribution area at the current moment is abnormal, and an alarm is needed to remind the power grid unit to dispatch power to the distribution area to maintain the stability of the power grid; when it is not greater than th2, it means that the current power grid’s distribution status for each distribution area is good, and no power dispatch is needed, and no alarm is issued.
[0128] This embodiment is described by taking th2 being equal to seventy percent of N as an example. In other embodiments, it can be set to other values, which are not specifically limited in this embodiment.
[0129] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. An intelligent power distribution monitoring method, characterized in that: The method comprises the following steps: Dividing the power grid into several levels, the levels at least sequentially include: a power distribution area level, a power distribution equipment level, a low-voltage distribution line level, and a secondary transformer level; Perform dimensionality reduction on the power data of the first level to obtain the dimensionality reduction result of the first level. Any two adjacent levels after and including the first level are sequentially recorded as level 1 and level 2. According to the distribution relationship of the power data of level 2 relative to the dimensionality reduction result of level 1, perform dimensionality reduction on level 2 to obtain the dimensionality reduction result of level 2. A neural network is constructed at each level, and the dimension reduction result of each level is used as the input of the neural network corresponding to each level. The neural networks of adjacent levels are directly connected, and the neural networks of non-adjacent levels are connected using residual connections to obtain a power distribution monitoring network for the power grid, which is used for power distribution monitoring. The step of reducing the dimension of the first-level power data to obtain the first-level dimension reduction result includes the following specific steps: Each level contains several dimensions, each dimension has several power data, all power data of all dimensions under the first level are PCA dimension reduction, reduced to P dimension, and several power dimension reduction data of each dimension under the first level are obtained; all power dimension reduction data of all dimensions under the first level are taken as the dimension reduction result of the first level, and P is a preset value; According to the distribution relationship of the power data of level 2 relative to the dimensionality reduction result of level 1, the dimensionality reduction of level 2 is performed, The dimensionality reduction results of level 2 are obtained, including the following specific steps: The dimension reduction dimension of the dimension reduction result of level 1 is recorded as P1; the dimension reduction result of level 1 includes the power dimension reduction data of each dimension under level 1; All power data of all dimensions under level 2 are subjected to PCA dimensionality reduction to P1 dimension, and the initial power dimensionality reduction data of each dimension under level 2 are obtained; The gray correlation method is used to obtain the correlation dimension between level 2 and level 1; According to the initial power dimension reduction data of the associated dimension at level 2 and the power dimension reduction data of the associated dimension at level 1, a transformation relationship of the associated dimension at level 2 relative to the associated dimension at level 1 is obtained; according to the transformation relationship, the power data of all dimensions at level 2 are re-dimensionalized to obtain the final dimension reduction result of level 2; The transformation relationship is used to describe the distribution relationship of the power data of level 2 relative to the dimensionality reduction result of level 1; The specific steps for obtaining the transformation relationship are as follows: The initial power dimension reduction data of the associated dimensions under level 2 are formed into a matrix D2, and the power dimension reduction data of the associated dimensions under level 1 are formed into a matrix D1, and the matrix D is solved so that D×D2=D1; The solution method is the stochastic gradient descent method, and the solved matrix D is recorded as the transformation relationship; According to the transformation relationship, the power data of all dimensions at level 2 are re-dimensionalized to obtain the final dimensionality reduction result of level 2, and the specific steps included are as follows: All power data of all dimensions under level 2 are subjected to PCA dimensionality reduction and reduced to P2 dimension to obtain temporary power dimensionality reduction data of each dimension under level 2; the temporary power dimensionality reduction data of all dimensions under level 2 constitute the matrix D3, and the product of the transformation relationship D and D3 is recorded as the dimensionality reduction result of level 2; P2 is determined by the transformation relationship D.
2. According to claim 1, an intelligent power distribution monitoring method is characterized in that: The specific steps to obtain P2 are as follows: The mean of the absolute values of all elements in the transformation relationship is calculated. When the mean is greater than the preset first threshold, P2=P1+4; when the mean is less than or equal to the preset first threshold, P2=P1.
3. The intelligent power distribution monitoring method according to claim 1, characterized in that: The specific steps of using the power distribution monitoring network to perform power distribution monitoring are as follows: The dimensionality reduction results of all levels are input into the trained power grid distribution monitoring network to obtain the predicted average power consumption of each distribution area. When the difference between the predicted average power consumption and the actual power consumption of each distribution area is greater than the preset second threshold, the power distribution situation in the distribution area is judged to be abnormal.
4. The intelligent power distribution monitoring method according to claim 1, characterized in that: The dimensions of power data include: voltage, power, temperature, and vibration amplitude.
5. The intelligent power distribution monitoring method according to claim 1, characterized in that: The levels after the secondary transformer level also include: high-voltage distribution line level, primary transformer level, transmission line level, and power source level.
6. An intelligent power distribution monitoring system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the intelligent power distribution monitoring method as described in any one of claims 1-5 are implemented.
