A method and system for sensing the state of distributed new energy access to active distribution network
By constructing a three-phase unbalanced distribution network status sensing model and an adaptive federated learning model, the risk of theft of measurement data and network parameters in the distribution network is solved, and real-time and accurate perception of the distribution network status is achieved, improving improve the safety and reliability of the power distribution system.
Patent Information
- Application Number
- CN202410666610.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-05-28
AI Technical Summary
The risk of manipulation and theft of information such as measurement data and network topology parameters in the distribution network continues to increase, affecting the safe and reliable operation of the distribution system.
Construct a three-phase unbalanced distribution network state sensing model, obtain historical node voltage amplitudes and voltage phase angles through static state sensing, convert them into historical distribution system state sensing data, and use the adaptive federated learning model for training to establish static sensing Network model to realize real-time perception of distribution network status.
On the premise of ensuring the privacy and security of data in the distribution system, accurate perception of the voltage amplitude and phase angle of the distribution network is achieved, which improves the level of situational awareness and ensures the safe and reliable operation of the distribution system.
Smart Images

Figure CN118249519B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of distribution network state perception, and in particular relates to a method and system for perceiving the state of a distributed new energy access active distribution network. Background Art
[0002] With the continuous increase in the penetration rate of renewable energy and the continuous expansion of the scale of the electric vehicle industry, the operation mode and dynamic behavior of the distribution network have become increasingly complex after a large number of distributed energy sources have been connected. In order to ensure the safe, reliable and economical operation of the distribution system, it is urgent to improve the level of situational awareness.
[0003] Distribution system status perception usually involves private data such as energy demand and operation mode of distributed power sources in the distribution system. Traditional distribution system perception uses historical data measured by energy management systems (EMS) and SCADA systems to perceive the operating status. As the measurement system is increasingly integrated with the information network, the risk of measurement data and network topology parameters being manipulated and stolen continues to increase. Summary of the invention
[0004] The present invention provides a state perception method and system for accessing an active power distribution network with distributed new energy, which are used to solve the technical problem that the risk of information such as measurement data and network topology parameters being manipulated and stolen is increasing.
[0005] In a first aspect, the present invention provides a method for sensing the state of a distributed renewable energy source connected to an active power distribution network, comprising:
[0006] Constructing a three-phase unbalanced distribution network state perception model, and performing static state perception of historical node voltage amplitudes and historical voltage phase angles in the distribution network according to the three-phase unbalanced distribution network state perception model to obtain historical quantity measurements and historical state quantities;
[0007] Converting the historical quantity measurements and the historical state quantities into historical power distribution system state perception data, and summarizing the historical power distribution system state perception data into a preset power distribution system state perception data set;
[0008] The pre-built adaptive federated learning model is trained according to each historical distribution system state perception data in the distribution system state perception data set to obtain a static perception network model, wherein the adaptive federated learning model includes a central server submodule, a distribution network sub-region server submodule and a sub-region measurement device submodule connected in sequence, and the objective function of the central server submodule is expressed as:
[0009] ,
[0010] In the formula, For the sub-area measurement equipment sub-module, for dimensional variables, It is a collection of sub-modules of distribution network sub-area servers. is the total loss function of the sub-region measurement device sub-module, The sub-area measurement device sub-module for the first measurement device, For the A sub-area of a measuring device, a sub-module of a measuring device, For sub-region The number of submodules of the measurement equipment in the lower sub-area, For sub-region Dataset, For measuring equipment In the dataset The loss value on is expressed as:
[0011] ,
[0012] In the formula, Measure the device submodule in the jth sub-area in the dataset The loss value on is the data of data set k corresponding to the jth sub-region, is the label of the dataset k corresponding to the j-th sub-region, is the network model of the jth sub-region, T is the matrix transpose;
[0013] The real-time quantity measurement and real-time state quantity at the current moment are input into the static perception network model, and the static perception network model outputs the state perception result of the distribution network at the current moment.
[0014] In a second aspect, the present invention provides a distributed new energy access active distribution network state perception system, comprising:
[0015] A perception module is configured to construct a three-phase unbalanced distribution network state perception model, and perform static state perception of historical node voltage amplitudes and historical voltage phase angles in the distribution network according to the three-phase unbalanced distribution network state perception model to obtain historical quantity measurements and historical state quantities;
[0016] A conversion module, configured to convert the historical quantity measurements and the historical state quantities into historical power distribution system state perception data, and summarize the historical power distribution system state perception data into a preset power distribution system state perception data set;
[0017] The training module is configured to train the pre-built adaptive federated learning model according to each historical distribution system state perception data in the distribution system state perception data set to obtain a static perception network model, wherein the adaptive federated learning model includes a central server submodule, a distribution network sub-region server submodule and a sub-region measurement device submodule connected in sequence, and the objective function of the central server submodule is expressed as:
[0018] ,
[0019] In the formula, For the sub-area measurement equipment sub-module, for dimensional variables, It is a collection of sub-modules of distribution network sub-area servers. is the total loss function of the sub-region measurement device sub-module, The sub-area measurement device sub-module for the first measurement device, For the A sub-area of a measuring device, a sub-module of a measuring device, For sub-region The number of submodules of the measurement equipment in the lower sub-area, For sub-region Dataset, For measuring equipment In the dataset The loss value on is expressed as:
[0020] ,
[0021] In the formula, Measure the device submodule in the jth sub-area in the dataset The loss value on is the data of data set k corresponding to the jth sub-region, is the label of the dataset k corresponding to the j-th sub-region, is the network model of the jth sub-region, T is the matrix transpose;
[0022] The output module is configured to input the real-time quantity measurement and real-time state quantity at the current moment into the static perception network model, and the static perception network model outputs the state perception result of the distribution network at the current moment.
[0023] According to a third aspect, an electronic device is provided, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of the method for sensing the state of distributed new energy access to an active distribution network according to any embodiment of the present invention.
[0024] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the program instructions are executed by a processor, the processor executes the steps of the method for perceiving the state of distributed new energy access to an active distribution network according to any embodiment of the present invention.
[0025] The distributed new energy access active distribution network state perception method and system of the present application converts historical quantity measurements and historical state quantities into historical distribution system state perception data, and summarizes the historical distribution system state perception data into a preset distribution system state perception data set. A pre-built adaptive federated learning model is trained according to each historical distribution system state perception data in the distribution system state perception data set to obtain a static perception network model. Perception through the static perception network model can achieve accurate perception of the voltage amplitude and phase angle of the distribution network while ensuring the privacy and security of the distribution system data. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0027] Figure 1 A flow chart of a method for sensing the state of a distributed renewable energy source connected to an active power distribution network provided by an embodiment of the present invention;
[0028] Figure 2 A structural block diagram of a distributed new energy access active power distribution network state perception system provided by an embodiment of the present invention;
[0029] Figure 3 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0031] See also Figure 1 , which shows a flow chart of a method for sensing the state of a distributed new energy access to an active distribution network of the present application.
[0032] like Figure 1 As shown, the state perception method of distributed new energy access to active distribution network specifically includes the following steps:
[0033] Step S101, constructing a three-phase unbalanced distribution network state perception model, and performing static state perception on historical node voltage amplitudes and historical voltage phase angles in the distribution network according to the three-phase unbalanced distribution network state perception model to obtain historical quantity measurements and historical state quantities.
[0034] In this step, the static state perception of the distribution system refers to the process of obtaining the voltage phasors of all buses in the system at the current moment by using the current measurement. The algorithm is easy to implement, has good convergence performance, and high estimation quality. The static state perception measurement equation is:
[0035] ,
[0036] In the formula, For quantity measurement, is the measurement function, is the measurement error vector. Given , define the state perception value , so that the objective function Minimum, among which The expression is:
[0037] ,
[0038] In the formula, is the transpose symbol, is the weight matrix, , is the variance matrix of the measurement error matrix vector;
[0039] The iterative formula for solving the system state perception is:
[0040] ,
[0041] In the formula, for The Jacobian matrix of is the difference between the state quantity before and after iteration, is the measurement function;
[0042] when Norm and objective function are reduced to be small enough, Converges to the optimal solution of state perception . Traditional static state estimation of power systems only considers its application to single-phase power systems, while the actual distribution network is often in a three-phase unbalanced state. This application derives a three-phase state estimation model based on the operating characteristics of the actual three-phase imbalance of the distribution network, and establishes a three-phase unbalanced distribution network state perception model. The active power and reactive power of the nodes and branches of the three-phase unbalanced distribution system with distributed new energy access are measured, and the static state perception method WLS is used to perceive the voltage amplitude and phase angle of the distribution network with distributed new energy access.
[0043] In a three-phase unbalanced power distribution system, the relationship between the measurement vector and the state vector is expressed by the following AC power flow model:
[0044] ,
[0045] In the formula, , , They are phase a voltage vector, phase b voltage vector, phase c voltage vector, respectively. , , are the a-phase error vector, b-phase error vector, and c-phase error vector represented by the measurement covariance matrix, respectively. is the node voltage phase angle vector;
[0046] It should be noted that the expression of the nonlinear measurement function of the three-phase unbalanced distribution network state perception model is:
[0047] ,
[0048] In the formula, the phase sequence ,node , They are node The injected active power and reactive power of the phase, , They are Node and The branch to which the node is associated The active power and reactive power of each phase, , They are node The voltage amplitude of the node The voltage amplitude of each other, for node phase and node The conductance between the phases, for node phase and node The phase angle difference between the phases, for node phase and node The susceptance between phases, M is the number of nodes containing measurement elements in the three-phase unbalanced power distribution system, for node The voltage amplitude of each other.
[0049] The expression of the objective function of the three-phase unbalanced distribution network state perception model is:
[0050] ,
[0051] In the formula, are the state-aware three-phase node voltage vectors, is the number of measurement variables contained in the measurement vector, is the weight matrix, For measuring variables The weight coefficient of For measuring variables The corresponding measurement function is is the voltage phase angle vector, for Phase node voltage vector, , , They are the measured variables of phase a, phase b, and phase c respectively. , , They are phase a voltage vector, phase b voltage vector, phase c voltage vector, respectively. is the nonlinear measurement function between the connection quantity measurement vector and the state quantity vector, is the real part, Is the imaginary part.
[0052] Step S102: converting the historical quantity measurements and the historical state quantities into historical power distribution system state perception data, and summarizing the historical power distribution system state perception data into a preset power distribution system state perception data set.
[0053] In this step, according to the historical quantity measurements and historical state quantities obtained by the static state perception of the distribution network in step S101, the historical quantity measurements and historical state quantities are converted into a distribution system state perception data set that is adapted to adaptive federated learning, wherein the historical quantity measurements include historical node voltages and historical phase angles, historical injected active power and historical reactive power, historical associated line flows, etc., and the historical state quantities include historical node voltage amplitudes and historical voltage phase angles. The generated distributed new energy access distribution system state data set will provide a data basis for adaptive federated learning training in step S103.
[0054] It should be noted that the quantity measurement matrix is stored as a 20×20 grayscale image as a dataset, the state quantity is used as the dataset label, and the comprehensive dynamic-static state estimation result is converted into a distribution system state perception dataset suitable for adaptive federated learning.
[0055] Step S103: training a pre-built adaptive federated learning model according to each historical power distribution system state perception data in the power distribution system state perception data set to obtain a static perception network model.
[0056] In this step, based on the distribution network structure of the power system, in order to achieve the adaptive function, the distribution network to which distributed renewable energy is connected is divided into three levels: central server, distribution network sub-region server and sub-region measurement equipment. Therefore, the pre-built adaptive federated learning model includes a central server sub-module, a distribution network sub-region server sub-module and a sub-region measurement equipment sub-module connected in sequence. The objective function of the central server sub-module is expressed as:
[0057] ,
[0058] In the formula, For the sub-area measurement equipment sub-module, for dimensional variables, It is a collection of sub-modules of distribution network sub-area servers. is the total loss function of the sub-region measurement device sub-module, The sub-area measurement device sub-module for the first measurement device, For the A sub-area of a measuring device, a sub-module of a measuring device, For sub-region The number of submodules of the measurement equipment in the lower sub-area, For sub-region Dataset, For measuring equipment In the dataset The loss value on is expressed as:
[0059] ,
[0060] In the formula, Measure the device submodule in the jth sub-area in the dataset The loss value on is the data of data set k corresponding to the jth sub-region, is the label of the dataset k corresponding to the j-th sub-region, is the network model of the jth sub-region, T is the matrix transpose;
[0061] Rewrite the objective function of the central server submodule into a multiple assignment expression:
[0062] ,
[0063] ,
[0064] In the formula, is the vector of decision variables, As constraints, is the set of edges;
[0065] It should be noted that the pre-built adaptive federated learning model is trained according to each data in the distribution system state perception data set to obtain a static perception network model including:
[0066] Before the initial global training begins, the central server submodule initializes all subordinate distribution network subregion server submodules and subregion measurement equipment submodules, assigns the initial model to the distribution network subregion server submodule, and the distribution network subregion server submodule transmits it to the subregion measurement equipment submodule;
[0067] In each round of global training, the sub-region measurement device submodule is trained according to the stochastic gradient descent algorithm. The local training is updated, and then the central server submodule performs an aggregation;
[0068] In the first local training of each round of global aggregation, the central server submodule will Secondary Aggregation Model The sub-region measurement device sub-module and the sub-region measurement device sub-module are transmitted to the sub-region measurement device sub-module, and the sub-region measurement device sub-module is transmitted to the sub-region measurement device sub-module. Secondary Aggregation Model Updated on the basis of In the local training, the sub-region measurement device submodule obtains the sub-dataset allocation solution that minimizes the sum of the loss function according to the distributed simplex algorithm. , according to the solution The sub-data sets are assigned one-to-one to the sub-region measurement equipment sub-modules, and the sub-region measurement equipment sub-modules are based on the assigned sub-data sets. and stochastic gradient descent algorithm, for The local model is trained and updated locally:
[0069] ,
[0070] In the formula, is the learning rate, , Respectively Second and The sub-region measurement equipment sub-module, For the The j-th sub-area measurement device sub-module in the dataset The loss value on ;
[0071] No. After the local training is completed, each sub-region measurement device sub-module accesses the sub-region dataset , will Local Model In sub-areas Dissolution Subdatasets other than Run it on and get Local Model Loss value on the sub-dataset , and calculate the Local Model In the sub-region dataset The average loss value on :
[0072] ,
[0073] In the formula, For sub-region The number of submodules of the measurement equipment in the lower sub-area, Measure the device submodule in the jth sub-area in the dataset The loss value on ;
[0074] The sub-region measurement device sub-module measures the sub-region measurement device sub-modules according to the sub-region measurement device sub-modules corresponding to the sub-region measurement device sub-module. Value, in the sub-area dataset Select The sub-region measurement device sub-module with the smallest value is selected as the best device ,Will As a sub-area measurement equipment sub-module:
[0075] ,
[0076] In the formula, is the minimum value of the average loss of all sub-regions;
[0077] After local training is completed, the sub-region measurement device submodule will Transmit to the central server submodule for central aggregation:
[0078] ,
[0079] In the formula, It is a collection of sub-modules of distribution network sub-area servers. The number of sub-regions under the central server;
[0080] After polymerization Wheel Model As the After multiple rounds of global training, the final static perception network model is obtained.
[0081] Step S104: input the real-time quantity measurement and the real-time state quantity at the current moment into the static perception network model, and the static perception network model outputs the state perception result of the distribution network at the current moment.
[0082] In summary, the method of the present application uses WLS static state perception to estimate the voltage phase angle and voltage amplitude for an active distribution network with distributed renewable energy access. The measurements and state quantities of each distribution network sub-area are used as data sets for adaptive federated learning training. After the training is completed, a network model for distribution system state perception is obtained, so that the static state perception of the distribution network can be directly and quickly performed without complex iterative calculations while protecting privacy, thereby realizing real-time status monitoring of the operating status of distributed renewable energy access to the distribution network and encryption protection of key data.
[0083] See also Figure 2 , which shows a structural block diagram of a distributed new energy access active distribution network state perception system of the present application.
[0084] like Figure 2 As shown, a distributed new energy access active power distribution network state perception system 200 includes a perception module 210, a conversion module 220, a training module 230 and an output module 240.
[0085] The sensing module 210 is configured to construct a three-phase unbalanced distribution network state sensing model, and perform static state sensing of historical node voltage amplitudes and historical voltage phase angles in the distribution network according to the three-phase unbalanced distribution network state sensing model to obtain historical quantity measurements and historical state quantities;
[0086] A conversion module 220, configured to convert the historical quantity measurements and the historical state quantities into historical power distribution system state perception data, and summarize the historical power distribution system state perception data into a preset power distribution system state perception data set;
[0087] The training module 230 is configured to train the pre-built adaptive federated learning model according to each historical distribution system state perception data in the distribution system state perception data set to obtain a static perception network model, wherein the adaptive federated learning model includes a central server submodule, a distribution network sub-region server submodule and a sub-region measurement device submodule connected in sequence, and the objective function of the central server submodule is expressed as:
[0088] ,
[0089] In the formula, For the sub-area measurement equipment sub-module, for dimensional variables, It is a collection of sub-modules of distribution network sub-area servers. is the total loss function of the sub-region measurement device sub-module, The sub-area measurement device sub-module for the first measurement device, For the A sub-area of a measuring device, a sub-module of a measuring device, For sub-region The number of submodules of the measurement equipment in the lower sub-area, For sub-region Dataset, For measuring equipment In the dataset The loss value on is expressed as:
[0090] ,
[0091] In the formula, Measure the device submodule in the jth sub-area in the dataset The loss value on is the data of data set k corresponding to the jth sub-region, is the label of the dataset k corresponding to the j-th sub-region, is the network model of the jth sub-region, T is the matrix transpose;
[0092] The output module 240 is configured to input the real-time quantity measurement and the real-time state quantity at the current moment into the static perception network model, and the static perception network model outputs the state perception result of the distribution network at the current moment.
[0093] It should be understood that Figure 2 Modules and references documented in Figure 1 Therefore, the operations and features described above for the method and the corresponding technical effects are also applicable to Figure 2 The modules in it will not be described in detail here.
[0094] In some other embodiments, the embodiments of the present invention further provide a computer-readable storage medium having a computer program stored thereon, and when the program instructions are executed by a processor, the processor executes the state perception method for accessing an active distribution network to a distributed new energy source in any of the above method embodiments;
[0095] As an implementation mode, the computer-readable storage medium of the present invention stores computer-executable instructions, and the computer-executable instructions are configured as follows:
[0096] Constructing a three-phase unbalanced distribution network state perception model, and performing static state perception of historical node voltage amplitudes and historical voltage phase angles in the distribution network according to the three-phase unbalanced distribution network state perception model to obtain historical quantity measurements and historical state quantities;
[0097] Converting the historical quantity measurements and the historical state quantities into historical power distribution system state perception data, and summarizing the historical power distribution system state perception data into a preset power distribution system state perception data set;
[0098] The pre-built adaptive federated learning model is trained according to each historical distribution system state perception data in the distribution system state perception data set to obtain a static perception network model, wherein the adaptive federated learning model includes a central server submodule, a distribution network sub-region server submodule and a sub-region measurement device submodule connected in sequence, and the objective function of the central server submodule is expressed as:
[0099] ,
[0100] In the formula, For the sub-area measurement equipment sub-module, for dimensional variables, It is a collection of sub-modules of distribution network sub-area servers. is the total loss function of the sub-region measurement device sub-module, The sub-area measurement device sub-module for the first measurement device, For the A sub-area of a measuring device, a sub-module of a measuring device, For sub-region The number of submodules of the measurement equipment in the lower sub-area, For sub-region Dataset, For measuring equipment In the dataset The loss value on is expressed as:
[0101] ,
[0102] In the formula, Measure the device submodule in the jth sub-area in the dataset The loss value on is the data of data set k corresponding to the jth sub-region, is the label of the dataset k corresponding to the j-th sub-region, is the network model of the jth sub-region, T is the matrix transpose;
[0103] The real-time quantity measurement and real-time state quantity at the current moment are input into the static perception network model, and the static perception network model outputs the state perception result of the distribution network at the current moment.
[0104] The computer-readable storage medium may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created according to the use of the distributed new energy access active distribution network state perception system, etc. In addition, the computer-readable storage medium may include a high-speed random access memory, and may also include a memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the computer-readable storage medium may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the distributed new energy access active distribution network state perception system via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0105] Figure 3 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, such as Figure 3 As shown, the device includes: a processor 310 and a memory 320. The electronic device may also include: an input device 330 and an output device 340. The processor 310, the memory 320, the input device 330 and the output device 340 may be connected via a bus or other means. Figure 3In the example, the bus connection is used. The memory 320 is the above-mentioned computer-readable storage medium. The processor 310 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 320, that is, the state perception method of the distributed new energy access to the active distribution network of the above-mentioned method embodiment is realized. The input device 330 can receive input digital or character information, and generate key signal input related to the user settings and function control of the distributed new energy access to the active distribution network state perception system. The output device 340 may include display devices such as display screens.
[0106] The electronic device can execute the method provided by the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided by the embodiment of the present invention.
[0107] As an implementation mode, the electronic device is applied to a distributed renewable energy access active power distribution network state perception system, and is used for a client, and includes: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can:
[0108] Constructing a three-phase unbalanced distribution network state perception model, and performing static state perception of historical node voltage amplitudes and historical voltage phase angles in the distribution network according to the three-phase unbalanced distribution network state perception model to obtain historical quantity measurements and historical state quantities;
[0109] Converting the historical quantity measurements and the historical state quantities into historical power distribution system state perception data, and summarizing the historical power distribution system state perception data into a preset power distribution system state perception data set;
[0110] The pre-built adaptive federated learning model is trained according to each historical distribution system state perception data in the distribution system state perception data set to obtain a static perception network model, wherein the adaptive federated learning model includes a central server submodule, a distribution network sub-region server submodule and a sub-region measurement device submodule connected in sequence, and the objective function of the central server submodule is expressed as:
[0111] ,
[0112] In the formula, For the sub-area measurement equipment sub-module, for dimensional variables, It is a collection of sub-modules of distribution network sub-area servers. is the total loss function of the sub-region measurement device sub-module, The sub-area measurement device sub-module for the first measurement device, For the A sub-area of a measuring device, a sub-module of a measuring device, For sub-region The number of submodules of the measurement equipment in the lower sub-area, For sub-region Dataset, For measuring equipment In the dataset The loss value on is expressed as:
[0113] ,
[0114] In the formula, Measure the device submodule in the jth sub-area in the dataset The loss value on is the data of data set k corresponding to the jth sub-region, is the label of the dataset k corresponding to the j-th sub-region, is the network model of the jth sub-region, T is the matrix transpose;
[0115] The real-time quantity measurement and real-time state quantity at the current moment are input into the static perception network model, and the static perception network model outputs the state perception result of the distribution network at the current moment.
[0116] Through the description of the above implementation modes, those skilled in the art can clearly understand that each implementation mode can be implemented by means of software plus a necessary general hardware platform, or of course by hardware. Based on such an understanding, the above technical solution can essentially or in other words be embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.
[0117] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for sensing the state of distributed renewable energy access to an active distribution network. It is characterized in that include: Constructing a three-phase unbalanced distribution network state perception model, and performing static state perception of historical node voltage amplitudes and historical voltage phase angles in the distribution network according to the three-phase unbalanced distribution network state perception model to obtain historical quantity measurements and historical state quantities; Converting the historical quantity measurements and the historical state quantities into historical power distribution system state perception data, and summarizing the historical power distribution system state perception data into a preset power distribution system state perception data set; The pre-built adaptive federated learning model is trained according to each historical distribution system state perception data in the distribution system state perception data set to obtain a static perception network model, wherein the adaptive federated learning model includes a central server submodule, a distribution network sub-region server submodule and a sub-region measurement device submodule connected in sequence, and the objective function of the central server submodule is expressed as: , In the formula, For the sub-area measurement equipment sub-module, is the dimension variable, It is a collection of sub-modules of distribution network sub-area servers. is the total loss function of the sub-region measurement device sub-module, The sub-area measurement device sub-module for the first measurement device, For the A sub-area of a measuring device, a sub-module of a measuring device, For sub-region The number of submodules of the measurement equipment in the lower sub-area, For sub-region Dataset, is the loss value of the measurement device on the data set, expressed as: , In the formula, Measure the device submodule in the jth sub-area in the dataset The loss value on is the data of data set k corresponding to the jth sub-region, is the label of the dataset k corresponding to the j-th sub-region, is the network model of the jth sub-region, T is the matrix transpose; The real-time quantity measurement and real-time state quantity at the current moment are input into the static perception network model, and the static perception network model outputs the state perception result of the distribution network at the current moment.
2. According to claim 1, a method for sensing the state of a distributed new energy source connected to an active distribution network, It is characterized in that The pre-built adaptive federated learning model is trained according to each historical distribution system state perception data in the distribution system state perception data set to obtain a static perception network model, including: Before the initial global training begins, the central server submodule initializes all subordinate distribution network subregion server submodules and subregion measurement equipment submodules, assigns the initial model to the distribution network subregion server submodule, and the distribution network subregion server submodule transmits it to the subregion measurement equipment submodule; In each round of global training, the sub-region measurement device submodule is trained according to the stochastic gradient descent algorithm. The local training is updated, and then the central server submodule performs an aggregation; In the first local training of each round of global aggregation, the central server submodule will Secondary Aggregation Model The sub-regional server sub-module and the sub-regional measuring device sub-module of the distribution network are transmitted to the sub-regional server sub-module and the sub-regional measuring device sub-module of the sub-regional measuring device sub-module. Secondary Aggregation Model Updated on the basis of In the local training, the sub-region measurement device submodule obtains the sub-dataset allocation solution that minimizes the sum of the loss function according to the distributed simplex algorithm. , according to the solution The sub-data sets are assigned one-to-one to the sub-region measurement equipment sub-modules, and the sub-region measurement equipment sub-modules are based on the assigned sub-data sets. and stochastic gradient descent algorithm, for The local model is trained and updated locally: , In the formula, is the learning rate, , Respectively Second and The sub-region measurement equipment sub-module, For the The j-th sub-area measurement device sub-module in the dataset The loss value on ; No. After the local training is completed, each sub-region measurement device sub-module accesses the sub-region dataset , will Local Model In sub-areas Dissolution Subdatasets other than Run it on and get Local Model The loss value on the sub-dataset and calculate the Local Model Average loss value on the sub-region dataset : , In the formula, For sub-region The number of submodules of the measurement equipment in the lower sub-area, Measure the device submodule in the jth sub-area in the dataset The loss value on ; The sub-region measurement device sub-module measures the sub-region measurement device sub-modules according to the sub-region measurement device sub-modules corresponding to the sub-region measurement device sub-module. Value, selected on the sub-region dataset The sub-region measurement device sub-module with the smallest value is selected as the best device ,Will As a sub-area measurement equipment sub-module: , In the formula, is the minimum value of the average loss of all sub-regions; After local training is completed, the sub-region measurement device submodule will Transmit to the central server submodule for central aggregation: , In the formula, It is a collection of sub-modules of distribution network sub-area servers. The number of sub-regions under the central server; After aggregation Wheel Model As the After multiple rounds of global training, the final static perception network model is obtained.
3. According to claim 1, a method for sensing the state of a distributed new energy source connected to an active distribution network, It is characterized in that The expression of the nonlinear measurement function of the three-phase unbalanced distribution network state perception model is: , In the formula, phase sequence, node, , They are The injected active power and reactive power of the node phase, , They are Node and The branch to which the node is associated The active power and reactive power of each phase, , They are node The voltage amplitude of the node The voltage amplitude of each for node phase and node The conductance between the phases, for node phase and node The phase angle difference between the phases, for node phase and node The susceptance between phases, M is the number of nodes containing measurement elements in the three-phase unbalanced distribution system, for node The voltage amplitude of each other.
4. According to claim 1, a method for sensing the state of a distributed new energy source connected to an active distribution network, It is characterized in that The expression of the objective function of the three-phase unbalanced distribution network state perception model is: , In the formula, are the state-aware three-phase node voltage vectors, is the number of measurement variables contained in the measurement vector, is the weight matrix, is the weight coefficient of the measured variable, For measuring variables The corresponding measurement function is is the voltage phase angle vector, for Phase node voltage vector, , , They are the measured variables of phase a, phase b, and phase c respectively. , , They are phase a voltage vector, phase b voltage vector, phase c voltage vector, respectively. is the nonlinear measurement function between the connection quantity measurement vector and the state quantity vector, is the real part, Is the imaginary part.
5. According to claim 1, a method for sensing the state of a distributed new energy source connected to an active distribution network, It is characterized in that The historical quantity measurements include the active power and reactive power of nodes and branches of distributed renewable energy access to the active distribution network; The historical state quantity includes the voltage amplitude and phase angle of the distribution network when the distributed new energy is connected to the active distribution network.
6. A method for sensing the state of a distributed renewable energy source connected to an active distribution network according to claim 1, It is characterized in that The converting the historical quantity measurement and the historical state quantity into historical power distribution system state perception data comprises: The historical quantity measurements are stored in a matrix, and the obtained historical quantity measurement matrix is stored as a 20×20 grayscale image as data, and the historical state quantity is used as a data label, and the data and data labels are converted into distribution system state perception data.
7. A distributed new energy access active distribution network state perception system, It is characterized in that include: A perception module is configured to construct a three-phase unbalanced distribution network state perception model, and perform static state perception of historical node voltage amplitudes and historical voltage phase angles in the distribution network according to the three-phase unbalanced distribution network state perception model to obtain historical quantity measurements and historical state quantities; A conversion module, configured to convert the historical quantity measurements and the historical state quantities into historical power distribution system state perception data, and summarize the historical power distribution system state perception data into a preset power distribution system state perception data set; The training module is configured to train the pre-built adaptive federated learning model according to each historical distribution system state perception data in the distribution system state perception data set to obtain a static perception network model, wherein the adaptive federated learning model includes a central server submodule, a distribution network sub-region server submodule and a sub-region measurement device submodule connected in sequence, and the objective function of the central server submodule is expressed as: , In the formula, For the sub-area measurement equipment sub-module, is the dimension variable, It is a collection of sub-modules of distribution network sub-area servers. is the total loss function of the sub-region measurement device sub-module, The sub-area measurement device sub-module for the first measurement device, For the A sub-area of a measuring device, a sub-module of a measuring device, For sub-region The number of submodules of the measurement equipment in the lower sub-area, For sub-region Dataset, is the loss value of the measurement device on the data set, expressed as: , In the formula, Measure the device submodule in the jth sub-area in the dataset The loss value on is the data of data set k corresponding to the jth sub-region, is the label of the dataset k corresponding to the j-th sub-region, is the network model of the jth sub-region, T is the matrix transpose; The output module is configured to input the real-time quantity measurement and real-time state quantity at the current moment into the static perception network model, and the static perception network model outputs the state perception result of the distribution network at the current moment.
8. An electronic device, It is characterized in that include: At least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Cited By
Method and system for intelligently sensing operation state of power distribution network with new energy access
CN122475148A
