Power system state estimation method and system based on hyperparameter particle swarm optimization
By using the hyperparameter particle swarm optimization algorithm in power system state estimation, iteratively solves the window width in the exponential objective function state estimation model, solving the problem of insufficient tolerance in the existing technology and achieving higher state estimation accuracy. and speed.
Patent Information
- Application Number
- CN202310287579.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-03-20
AI Technical Summary
Existing power system state estimation methods have insufficient tolerance in the face of bad data. Especially when there is a correlation between bad data, they cannot effectively identify all bad data, resulting in calculation failure, and the exponential objective function state estimation is against the window. Width and height are sensitive, making performance difficult to guarantee.
A two-layer simulation model based on hyperparameter particle swarm optimization is used to iteratively solve the window width in the exponential objective function state estimation model through the particle swarm algorithm, and the window width value is optimized to enhance the robustness of the power system state estimation.
It improves the accuracy and speed of power system state estimation, enhances the tolerance performance, effectively identifies multiple associated bad data, and improves the tolerance effect of existing state estimation methods.
Smart Images

Figure CN116307198B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power systems, and in particular relates to a method and system for estimating power system state based on hyperparameter particle swarm optimization. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] Power system state estimation is one of the core functions of the energy management system of the power system dispatching center. It estimates the current operating state of the power system based on various measurement information of the power system. If the power system state estimation result is inaccurate, any subsequent power system analysis and calculation will not be able to obtain accurate results.
[0004] The most widely used power system state estimation method is the weighted least squares method. When the measurement error distribution is a normal distribution without gross errors, it can be proved that when the measurement weight of the weighted least squares state estimation algorithm takes the inverse of the measurement variance, the weighted least squares state estimation is a maximum likelihood estimation; however, the least squares method does not have the ability to resist errors, that is, when bad data (gross errors) appear in the measurement, the results of the electronic system state estimation will deteriorate sharply.
[0005] In order to achieve the robustness of power system state estimation, the least squares method used must be embedded with a bad data identification program. Most of the commonly used bad data identification methods are based on regularized residuals, and a bad data identification system is embedded on the basis of the least squares method; however, this method cannot identify multiple associated bad data. Therefore, when there is a correlation between bad data, this method cannot identify all the bad data, resulting in calculation failure. The use of non-quadratic objective functions can make the power system state estimation model have stronger robustness; the more representative objective functions are weighted minimum absolute value type and generalized M estimation method; however, the above state estimation models all have the problem of non-differentiable objective functions, resulting in poor algorithm calculation performance. The exponential objective function state estimation can automatically suppress bad data and is better than the traditional robust state estimator; however, it is highly sensitive to the window width σ, and inappropriate window width may seriously affect the performance of the estimator. Therefore, determining a suitable window width is crucial to ensure the performance of the exponential objective function state estimation. Summary of the invention
[0006] In order to solve the above problems, the present invention proposes a method and system for power system state estimation based on hyperparameter particle swarm optimization, performs power system state estimation based on enhanced maximum cross information entropy of hyperparameter optimization, and adopts a double-layer hyperparameter simulation optimization model to optimize the window width value of the exponential objective function state estimation, thereby enhancing the robustness of the power system state estimation and improving the accuracy and speed of the power system state estimation.
[0007] According to some embodiments, a first solution of the present invention provides a method for estimating a power system state based on hyperparameter particle swarm optimization, which adopts the following technical solution:
[0008] A method for power system state estimation based on hyperparameter particle swarm optimization, comprising:
[0009] Obtain historical power data;
[0010] According to the acquired data and the preset power system state estimation model, the state estimation of the power system is completed;
[0011] Among them, the preset power system state estimation model adopts a two-layer hyperparameter simulation optimization model, the upper model of the two-layer hyperparameter simulation optimization model adopts the mean square error function of the power data state quantity, and the lower model adopts an exponential objective function state estimation model; the window width of the exponential objective function state estimation model is used as a hyperparameter, and the particle swarm algorithm is used to iteratively solve the two-layer hyperparameter simulation optimization model to obtain the optimal window width, and the state of the power system is estimated based on the obtained optimal window width.
[0012] As a further technical limitation, in the process of acquiring historical power data, the Gaussian mixture parameters of the power data distribution are converted into fast time scale power injection distribution parameters in combination with the underlying structure of the Gaussian mixture distribution to obtain the net injection distribution of the power data, the marginal distribution of the net injection power vector and the state sample.
[0013] As a further technical limitation, the mean square error function L(x) of the power data state quantity in the upper model satisfies The exponential objective function state estimation model J in the lower model i (x i ,σ i )satisfy Where N and M represent the number of system state variables and the number of measurements, respectively; subscripts j and k represent the jth state variable and the kth measurement of the system, respectively; x represents the system state variable, including the voltage amplitude V and phase angle θ of all nodes; w represents the measurement weight, h(x) represents the measurement equation, σ represents the window width, and subscript i represents the i-th sample; Represents the state quantity of the training sample, including the voltage amplitude of all nodes and phase angle z 0 Represents the measured value provided by the training sample, including the active power P of the power grid line or transformer ij and reactive power Q ij , bus voltage amplitude V i , the active power of the generator P iand reactive power Q i , Active power P of power system load i and reactive power Q i .
[0014] Furthermore, the real-time measurement equation of the line or transformer is:
[0015] P ij =V i 2 g ij -V i V j (g ij cosθ ij +b ij sinθ ij )
[0016] Q ij =-V i 2 (b ij +y c )-V i V j (g ij cosθ ij -b ij sinθ ij )
[0017] Among them, P ij is the measured value of the active power of the line or transformer, Q ij is the reactive power measurement of the line or transformer, g ij , b ij ,y c are the conductance, susceptance and charge capacity of the line or transformer, V i is the voltage amplitude at node i, V j is the voltage amplitude at node j, θ ij is the phase angle difference between node i and node j.
[0018] As a further technical limitation, it is characterized in that the process of iteratively solving the double-layer hyperparameter simulation optimization model using the particle swarm algorithm is:
[0019] 1) Take a set of window widths σ as the positions of a set of particles, take the number of particles as 10, and form a particle swarm; initialize the particle swarm speed and position, inertia factor, acceleration constant, maximum number of iterations, and minimum error for algorithm termination;
[0020] 2) For each group of particles, use C group of training samples to perform parallel solutions and obtain the corresponding C group of state quantities Calculate its relative mean square error L(x) and use L(x) as the initial fitness value of the particle;
[0021] 3) Use 10 groups of particles in the particle swarm as the window width σ of the exponential target state estimator to perform this operation respectively, and obtain 10 groups of relative mean square errors L(x), that is, the initial fitness value of each particle in the particle swarm;
[0022] 4) The initial fitness value is taken as the local optimal value of the current particle, and the position is taken as the current local optimal position;
[0023] 5) The best local optimum (i.e., the minimum L(x)) among all particles is taken as the current local optimum, which is taken as the current global optimum, and the best position is taken as the global optimum position;
[0024] 6) Substitute the velocity update relation and displacement update expression to update the particle's flight velocity and the position σ of each particle respectively;
[0025] 7) For each particle, compare whether its current fitness value is smaller than the historical local optimal value; if it is smaller, the current fitness value is used as the local optimal value of the particle, and its corresponding position is used as the local optimal position of the particle;
[0026] 8) Find the global optimal value in the current particle swarm and use the corresponding position as the global optimal position;
[0027] 9) Repeat 5 to 9 times until the set minimum error is met or the maximum number of iterations is reached, and output the optimal value and position as well as the local optimal value and position of other particles.
[0028] As a further technical limitation, the specific process of performing error analysis on the obtained optimal window width is: substituting the obtained optimal window width into the exponential objective function state estimator for calculation, and using the mean square error function to perform error analysis on the obtained result; if the obtained error is less than the error threshold, the current optimal window width is output; if the obtained error is not less than the error threshold, the particle swarm iteration of the window width is continued until a window width that makes the error less than the error threshold is obtained.
[0029] As a further technical limitation, after obtaining the optimal window width, the original window width in the original exponential target state estimator is modified to the obtained optimal window width. After substituting the optimal window width into the original exponential objective function state estimator, robust state estimation is performed to complete the state estimation of the power system.
[0030] According to some embodiments, a second solution of the present invention provides a power system state estimation system based on hyperparameter particle swarm optimization, which adopts the following technical solutions:
[0031] A power system state estimation system based on hyperparameter particle swarm optimization, comprising:
[0032] A data acquisition module configured to acquire historical power data;
[0033] A state estimation module, which is configured to complete the state estimation of the power system according to the acquired data and a preset power system state estimation model;
[0034] Among them, the preset power system state estimation model adopts a two-layer hyperparameter simulation optimization model, the upper model of the two-layer hyperparameter simulation optimization model adopts the mean square error function of the power data state quantity, and the lower model adopts an exponential objective function state estimation model; the window width of the exponential objective function state estimation model is used as a hyperparameter, and the particle swarm algorithm is used to iteratively solve the two-layer hyperparameter simulation optimization model to obtain the optimal window width, and the state of the power system is estimated based on the obtained optimal window width.
[0035] According to some embodiments, a third solution of the present invention provides a computer-readable storage medium, which adopts the following technical solution:
[0036] A computer-readable storage medium stores a program, which, when executed by a processor, implements the steps of the power system state estimation method as described in the first solution of the present invention.
[0037] According to some embodiments, a fourth solution of the present invention provides an electronic device, which adopts the following technical solution:
[0038] An electronic device comprises a memory, a processor and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the method for estimating the state of an electric power system as described in the first solution of the present invention are implemented.
[0039] Compared with the prior art, the present invention has the following beneficial effects:
[0040] The present invention optimizes the value of the window width σ on the basis of an exponential objective function state estimator, optimizes the effect of the exponential objective function state estimator, and enhances the robustness of the state estimator; proposes a hyperparameter particle swarm optimization algorithm, and uses the algorithm to perform particle swarm iteration on the upper and lower layer functions of the hyperparameters in a double-layer hyperparameter simulation optimization model to obtain a group of satisfactory particles; simulation calculations for power systems of various sizes show that the present invention can effectively improve the robustness of existing state estimation methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The drawings in the specification that constitute a part of this embodiment are used to provide a further understanding of this embodiment. The schematic embodiments of this embodiment and their descriptions are used to explain this embodiment and do not constitute improper limitations on this embodiment.
[0042] Figure 1is a flow chart of a method for estimating a power system state in Embodiment 1 of the present invention;
[0043] Figure 2 A schematic diagram of a process for generating a power data training sample in the first embodiment of the present invention;
[0044] Figure 3 It is a schematic diagram of the iterative relationship of the double-layer hyperparameter simulation optimization model algorithm in Example 1 of the present invention. DETAILED DESCRIPTION
[0045] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0046] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.
[0047] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0048] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0049] Embodiment 1
[0050] Embodiment 1 of the present invention introduces a method for estimating power system state based on hyperparameter particle swarm optimization.
[0051] like Figure 1 A power system state estimation method based on hyperparameter particle swarm optimization is shown, comprising:
[0052] Step S01: generating power system training samples through offline learning;
[0053] Step S02: establishing an enhanced exponential objective function state estimator and constructing a double-layer hyperparameter simulation optimization model based on hyperparameter optimization;
[0054] Step S03: The window width is regarded as a hyperparameter, and a particle swarm algorithm is used in the constructed double-layer hyperparameter simulation optimization model to iteratively solve the hyperparameter to obtain the optimal window width;
[0055] Step S04: reacquire the power system data sample as a test set, test the effect of the obtained optimal window width, and determine whether it meets the accuracy requirements of the power system according to the error of the test set;
[0056] Step S05: completing the state estimation of the power system according to the optimal window width after the test.
[0057] As one or more implementation modes, in step S01, historical data measured by smart meters are used as samples, a distribution learning module is used to generate a distributed state approximate to net injection, and Monte Carlo sampling and power flow analysis submodules are used to generate samples from the approximate net injection distribution and convert them into a set of power data training samples consisting of state quantities and quantity measurements.
[0058] like Figure 2 As shown in Figure 1, the specific process of generating power data training samples is as follows:
[0059] 1) The underlying structure of Gaussian mixture distribution is exploited to transform the Gaussian mixture parameters of smart meter data distribution into distribution parameters of fast time scale power injection. Due to the limited historical data of injection, the net injection distribution is estimated based on the Gaussian mixture parameter model commonly used to simulate load and renewable energy generation.
[0060] 2) Use the Monte Carlo method to train the neural network. The marginal distribution of the net injected power vector can be obtained through the net injected distribution Plotting the injected sample s determines the state sample x = g(s). Assume that the distribution of independent measurement noise e is F e , satisfying the Gaussian distribution N(0,σ 2 ). From s to F s and e~F e Generate state sample z=h(g(x))+e.
[0061] 3) Power flow analysis. Calculate the power flow based on the injected (s, e) and output the training samples (x 0 ,z 0 ).
[0062] As one or more implementation modes, the upper model of the double-layer hyperparameter simulation optimization model adopts a mean square error function of the power data state quantity, and the lower model adopts an exponential objective function state estimation model;
[0063] The mean square error function L(x) of the power data state quantity in the upper model satisfies Exponential objective function state estimation model in the lower model J i (x i ,σ i )satisfy Where N and M represent the number of system state variables and the number of measurements, respectively; subscripts j and k represent the jth state variable and the kth measurement of the system, respectively; x represents the system state variable, including the voltage amplitude V and phase angle θ of all nodes; w represents the measurement weight, h(x) represents the measurement equation, σ represents the window width, and subscript i represents the i-th sample; Represents the state quantity of the training sample, including the voltage amplitude of all nodes and phase angle z 0 Represents the measured value provided by the training sample, including the active power P of the power grid line or transformer ij and reactive power Q ij , bus voltage amplitude V i , the active power of the generator P i and reactive power Q i , Active power P of power system load i and reactive power Q i .
[0064] The real-time measurement equation of the line or transformer is:
[0065] P ij =V i 2 g ij -V i V j (g ij cosθ ij +b ij sinθ ij )
[0066] Q ij =-V i 2 (b ij +y c )-V i V j (g ij cosθ ij -b ij sinθ ij )
[0067] Among them, P ij is the measured value of the active power of the line or transformer, Q ij is the reactive power measurement of the line or transformer, g ij 、b ij ,y c are the conductance, susceptance and charge capacity of the line or transformer, V i is the voltage amplitude at node i, V j is the voltage amplitude at node j, θ ijis the phase angle difference between node i and node j.
[0068] The real-time measurement equation of busbar i is:
[0069] V i =V i
[0070]
[0071]
[0072] Among them, P i is the measured active power value of node i, Q i is the reactive power measurement value of node i, G ij and B ij are the corresponding conductance and susceptance in the node admittance matrix, V i is the voltage amplitude at node i, V j is the voltage amplitude at node j, θ ij is the phase angle difference between node i and node j.
[0073] As one or more implementation methods, multiple groups of power data samples generated in step S01 are used to form a training set, and the training set and hyperparameters (window width σ) are substituted into the double-layer hyperparameter simulation optimization model in step S2; Figure 3 As shown in the figure, the hyperparameter particle swarm optimization algorithm is used to iteratively optimize σ, the window width σ is used as the particle position, the mean square error L(x) is used as the fitness value of the particle, and the particle swarm is trained using the training set to finally obtain the optimal particle σ gbest .
[0074] The process of iterative solution of the double-layer hyperparameter simulation optimization model using particle swarm algorithm is:
[0075] 1) Take a set of window widths σ as the positions of a set of particles, take the number of particles as 10, and form a particle swarm; initialize the particle swarm speed and position, inertia factor, acceleration constant, maximum number of iterations, and minimum error for algorithm termination;
[0076] 2) For each group of particles, use C group of training samples to perform parallel solutions and obtain the corresponding C group of state quantities Calculate its relative mean square error L(x) and use L(x) as the initial fitness value of the particle;
[0077] 3) Use 10 groups of particles in the particle swarm as the window width σ of the exponential target state estimator to perform this operation respectively, and obtain 10 groups of relative mean square errors L(x), that is, the initial fitness value of each particle in the particle swarm;
[0078] 4) The initial fitness value is taken as the local optimal value of the current particle, and the position is taken as the current local optimal position;
[0079] 5) The best local optimum (i.e., the minimum L(x)) among all particles is taken as the current local optimum, which is taken as the current global optimum, and the best position is taken as the global optimum position;
[0080] 6) Substitute the velocity update relation and displacement update expression to update the particle's flight velocity and the position σ of each particle respectively;
[0081] 7) For each particle, compare whether its current fitness value is smaller than the historical local optimal value; if it is smaller, the current fitness value is used as the local optimal value of the particle, and its corresponding position is used as the local optimal position of the particle;
[0082] 8) Find the global optimal value in the current particle swarm and use the corresponding position as the global optimal position;
[0083] 9) Repeat 5 to 9 times until the set minimum error is met or the maximum number of iterations is reached, and output the optimal value and position as well as the local optimal value and position of other particles.
[0084] As one or more implementation methods, in order to determine whether the optimal window width meets the minimum error requirement, the optimal particle σ obtained by using the test set is gbest Perform error analysis. Take multiple groups of power data samples generated in step S01 as test sets and use the optimal particle position σ obtained in step S03 as the test set. gbest As the window width, it is substituted into the exponential objective function state estimator for calculation, and the mean square error function is used to perform error analysis on the result; if the obtained error is less than the error threshold ε (ε is the error threshold defined according to the accuracy requirement), the current optimal particle position is output as the window width. If the obtained error is not less than the error threshold ε, it returns to step S03 and continues to iterate the particle swarm on the window width until a suitable window width value that makes the error less than ε is obtained.
[0085] As one or more implementation modes, in step S05, after obtaining the optimal window width, the original window width σ in the original exponential target state estimator is modified to the desired optimal window width, that is, Use it for robust state estimation.
[0086] This embodiment optimizes the value of the window width σ on the basis of the exponential objective function state estimator, optimizes the effect of the exponential objective function state estimator, and enhances the robustness of the state estimator; improves the hyperparameter method, combines the particle swarm optimization algorithm with the double-layer hyperparameter simulation optimization model, and proposes a hyperparameter particle swarm optimization algorithm. The algorithm is used to perform particle swarm iteration on the upper and lower functions of the hyperparameters in the double-layer hyperparameter simulation optimization model to obtain a group of satisfactory particles. Simulation calculations for power systems of various sizes show that the method of the present invention can effectively improve the robustness of existing state estimation methods.
[0087] Embodiment 2
[0088] Embodiment 2 of the present invention introduces a power system state estimation system based on hyperparameter particle swarm optimization.
[0089] A power system state estimation system based on hyperparameter particle swarm optimization, comprising:
[0090] A data acquisition module configured to acquire historical power data;
[0091] A state estimation module, which is configured to complete the state estimation of the power system according to the acquired data and a preset power system state estimation model;
[0092] Among them, the preset power system state estimation model adopts a two-layer hyperparameter simulation optimization model, the upper model of the two-layer hyperparameter simulation optimization model adopts the mean square error function of the power data state quantity, and the lower model adopts an exponential objective function state estimation model; the window width of the exponential objective function state estimation model is used as a hyperparameter, and the particle swarm algorithm is used to iteratively solve the two-layer hyperparameter simulation optimization model to obtain the optimal window width, and the state of the power system is estimated based on the obtained optimal window width.
[0093] The detailed steps are the same as those of the power system state estimation method provided in Example 1 and will not be repeated here.
[0094] Embodiment 3
[0095] Embodiment 3 of the present invention provides a computer-readable storage medium.
[0096] A computer-readable storage medium stores a program, which, when executed by a processor, implements the steps in the power system state estimation method as described in Embodiment 1 of the present invention.
[0097] The detailed steps are the same as those of the power system state estimation method provided in Example 1 and will not be repeated here.
[0098] Embodiment 4
[0099] A fourth embodiment of the present invention provides an electronic device.
[0100] An electronic device comprises a memory, a processor and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the method for estimating the state of a power system as described in the first embodiment of the present invention are implemented.
[0101] The detailed steps are the same as those of the power system state estimation method provided in Example 1 and will not be repeated here.
[0102] The above description is only a preferred embodiment of the present embodiment and is not intended to limit the present embodiment. For those skilled in the art, the present embodiment may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present embodiment shall be included in the protection scope of the present embodiment.
Claims
1. A method for power system state estimation based on hyperparameter particle swarm optimization, characterized in that: include: Obtain historical power data; According to the acquired data and the preset power system state estimation model, the state estimation of the power system is completed; Among them, the preset power system state estimation model adopts a two-layer hyperparameter simulation optimization model, the upper model of the two-layer hyperparameter simulation optimization model adopts the mean square error function of the power data state quantity, and the lower model adopts an exponential objective function state estimation model; the window width of the exponential objective function state estimation model is used as a hyperparameter, and the particle swarm algorithm is used to iteratively solve the two-layer hyperparameter simulation optimization model to obtain the optimal window width, and the state of the power system is estimated based on the obtained optimal window width; The mean square error function of the power data state quantity in the upper model satisfy ; The exponential objective function state estimation model in the lower model satisfy ;in, N and M Respectively represent the number of system state variables and the number of measurements; subscript j and k Respectively represent the system j The state quantity and k Individual quantity measurement; x Represents the system state variables, including the voltage amplitudes of all nodes V and phase angle θ ; w represents the measurement weight, h ( x ) represents the measurement equation, σ Indicates the window width, subscript i Indicates i samples; Represents the state quantity of the training sample, including the voltage amplitude of all nodes and phase angle ; Represents the measurement values provided by the training samples, including the active power of the power grid line or transformer and reactive power , bus voltage amplitude , Generator active power and reactive power , Active power of power system load and reactive power ; The process of iterative solution of the double-layer hyperparameter simulation optimization model using particle swarm algorithm is: 1) Set a set of window widths σ As the position of a group of particles, take the number of particles as 10 to form a particle swarm; initialize the particle swarm speed and position, inertia factor, acceleration constant, maximum number of iterations and minimum error for algorithm termination; 2) For each group of particles, use C The training samples are solved in parallel to obtain their corresponding C Group status Calculate its relative mean square error ,Will As the initial fitness value of the particle; 3) Use 10 groups of particles in the particle swarm as the window width of the exponential target state estimator σ Perform this operation separately to obtain 10 groups of relative mean square errors , that is, the initial fitness value of each particle in the particle swarm; 4) The initial fitness value is taken as the local optimal value of the current particle, and the position is taken as the current local optimal position; 5) The smallest of all particles As the current local optimum, take it as the current global optimum, and the best position is the global optimum position; 6) Substitute the velocity update relation and displacement update expression to update the particle's flight speed and the position of each particle respectively. σ ; 7) For each particle, compare whether its current fitness value is smaller than the historical local optimal value; if it is smaller, the current fitness value is used as the local optimal value of the particle, and its corresponding position is used as the local optimal position of the particle; 8) Find the global optimal value in the current particle swarm and use the corresponding position as the global optimal position; 9) Repeat 5 to 9 times until the set minimum error is met or the maximum number of iterations is reached, and output the optimal value and position as well as the local optimal value and position of other particles.
2. A method for estimating power system state based on hyperparameter particle swarm optimization as claimed in claim 1, characterized in that: In the process of acquiring historical power data, the Gaussian mixture parameters of power data distribution are transformed into fast time scale power injection distribution parameters based on the underlying structure of Gaussian mixture distribution, and the net injection distribution of power data, the marginal distribution of net injection power vector and state samples are obtained.
3. A method for power system state estimation based on hyperparameter particle swarm optimization as claimed in claim 1, characterized in that: The real-time measurement equation for a line or transformer is: in, is the measured value of the active power of the line or transformer, is the reactive power measurement of the line or transformer, , , are the conductance, susceptance and charge accommodation of the line or transformer, Is a node i The voltage amplitude, Is a node j The voltage amplitude, Is a node i and nodes j The phase angle difference between .
4. A method for estimating power system state based on hyperparameter particle swarm optimization as claimed in claim 1, characterized in that: The specific process of error analysis on the obtained optimal window width is as follows: the obtained optimal window width is substituted into the exponential objective function state estimator for calculation, and the mean square error function is used to perform error analysis on the obtained result; if the obtained error is less than the error threshold, the current optimal window width is output; if the obtained error is not less than the error threshold, the particle swarm iteration of the window width is continued until the window width that makes the error less than the error threshold is obtained.
5. A method for power system state estimation based on hyperparameter particle swarm optimization as claimed in claim 1, characterized in that: After obtaining the optimal window width, the original window width in the original exponential target state estimator is modified to the obtained optimal window width. After substituting the optimal window width into the original exponential objective function state estimator, robust state estimation is performed to complete the state estimation of the power system.
6. A power system state estimation system based on hyperparameter particle swarm optimization, using a power system state estimation method based on hyperparameter particle swarm optimization as claimed in claim 1, characterized in that: include: A data acquisition module configured to acquire historical power data; A state estimation module, which is configured to complete the state estimation of the power system according to the acquired data and a preset power system state estimation model; Among them, the preset power system state estimation model adopts a two-layer hyperparameter simulation optimization model, the upper model of the two-layer hyperparameter simulation optimization model adopts the mean square error function of the power data state quantity, and the lower model adopts an exponential objective function state estimation model; the window width of the exponential objective function state estimation model is used as a hyperparameter, and the particle swarm algorithm is used to iteratively solve the two-layer hyperparameter simulation optimization model to obtain the optimal window width, and the state of the power system is estimated based on the obtained optimal window width.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the power system state estimation method as described in any one of claims 1 to 5 are implemented.
8. An electronic device 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 program, the steps of the power system state estimation method according to any one of claims 1 to 5 are implemented.
