A method and device for predicting power system status

Through the combination of smooth variable structure filter and dual-parameter model, the problem of inaccurate power system state prediction under extreme weather is solved, the accuracy of power system state prediction is improved, and the safe and stable operation of the power system is ensured.

CN117810960BActive Publication Date: 2024-09-13EAST CHINA BRANCH OF STATE GRID CORP
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202311533380.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-16
Publication Date
2024-09-13
Estimated Expiration
2043-11-16

AI Technical Summary

Technical Problem

Under extreme weather conditions, the operation mode and topology of new power systems change frequently, which makes the traditional dynamic state estimation method based on the Kalman filter inaccurate, resulting in large prediction errors and affecting the safe and stable operation of the power system.

Method used

The smoothing variable structure filter is used to predict the initial state of the power system, and the initial prediction state is corrected through the dual-parameter model to obtain a more accurate target prediction state.

Benefits of technology

It effectively alleviates the problem of inaccuracy in power system state prediction under extreme weather, improves the accuracy of power system state prediction, and reduces prediction errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117810960B
    Figure CN117810960B
Patent Text Reader

Abstract

The present application relates to the field of electric power technology, and discloses a method and device for predicting the state of an electric power system; the method comprises: obtaining actual electric power data based on an actual electric power system; filtering the actual electric power data based on a smooth variable structure filter, and obtaining the initial predicted state of the electric power system at time k+1 at time k; and correcting the initial predicted state at time k+1 based on a dual parameter model at time k to obtain the target predicted state of the electric power system at time k+1. The present application can avoid the problem of inaccurate predictions in extreme weather and effectively improve the accuracy of predictions of the state of the electric power system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of electric power technology, and in particular to a method and device for predicting a state of an electric power system. Background Art

[0002] With the access of a large number of rapidly changing, high-power generating equipment and stations, the operation of the power system has become increasingly complex. Especially in extreme weather conditions, the operation mode, load pattern, and topology of the power system will undergo drastic changes, posing great threats and challenges to the safe and stable operation of the power system.

[0003] Traditional dynamic state estimation methods based on power system state transition models, represented by Kalman filters, rely on accurate dynamic state transition models of the entire system to estimate system states. However, in new power systems, due to the influence of extreme weather, the operation mode, load pattern, and topology of the power system will undergo drastic changes, and it is often impossible to obtain an accurate dynamic state transition model. This change leads to uncertainty in the dynamic state transition models of each subsystem in the new power system, which will inevitably make the dynamic state estimation of the Kalman filter based on the power system state transition model inaccurate or even uncertain. This has a great adverse impact on the risk control of new power systems under extreme weather conditions.

[0004] Therefore, how to alleviate the prediction error caused by the inaccuracy of the dynamic state transfer model is a problem that needs to be solved. Summary of the invention

[0005] In view of the above situation, an embodiment of the present application provides a method and device for predicting the state of an electric power system, aiming to solve the above problem or at least partially solve the above problem.

[0006] In a first aspect, an embodiment of the present application provides a method for predicting the state of an electric power system, the method comprising: obtaining actual power data based on an actual power system; filtering the actual power data based on a smooth variable structure filter, and obtaining at time k an initial predicted state of the electric power system at time k+1; and correcting the initial predicted state at time k+1 based on a dual parameter model at time k to obtain a target predicted state of the electric power system at time k+1.

[0007] In the second aspect, an embodiment of the present application also provides a prediction device for the state of an electric power system, including: an acquisition module for acquiring actual power data based on the actual power system; a processing module for filtering the actual power data based on a smooth variable structure filter, and obtaining the initial prediction state of the electric power system at time k+1 at time k; a correction module for correcting the initial prediction state at time k+1 based on a dual-parameter model at time k, and obtaining the target prediction state of the electric power system at time k+1.

[0008] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor; and a memory arranged to store computer executable instructions, wherein the executable instructions, when executed, cause the processor to perform the steps of the first aspect described above.

[0009] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores one or more programs. When the one or more programs are executed by an electronic device including multiple application programs, the electronic device executes the steps of the first aspect above.

[0010] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects: by predicting the initial predicted state of the power system at time k+1 through a smooth variable structure filter, the problem of large errors caused by the inaccurate power system model under extreme weather conditions under the traditional Kalman filter is alleviated. Furthermore, the present application further avoids the problem of inaccurate prediction under extreme weather conditions by using a dual-parameter model to correct the initial predicted state, effectively improving the accuracy of the power system state prediction. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0012] Figure 1 A schematic diagram showing a flow chart of a method for predicting a power system state provided in an embodiment of the present application is shown;

[0013] Figure 2 A flowchart of a method for predicting a power system state provided by another embodiment of the present application is shown;

[0014] Figure 3 A simulation experiment diagram showing the prediction result of the power system state provided by the embodiment of the present application;

[0015] Figure 4 A simulation experiment diagram showing a prediction result of a power system state provided by another embodiment of the present application is shown;

[0016] Figure 5 A structural diagram of a device for predicting a power system state provided in an embodiment of the present application is shown;

[0017] Figure 6 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0019] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that such use is interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the term "including" and its variants are to be interpreted as open-ended terms meaning "including but not limited to".

[0020] In order to pre-control the stability of the power system, it is necessary to estimate the real-time state of the power system and its future state to achieve pre-control of the risks of the distribution network.

[0021] However, the state of the new power system changes frequently under extreme weather conditions. The dynamic state transition model relied on by traditional dynamic state estimation, such as Kalman filtering, has problems such as filtering difficulties and rapid changes, which makes it difficult to meet the accuracy requirements of the power system dispatching system. The traditional linear regression-based prediction model is also unable to accurately describe the state transition of the power system and is difficult to reflect the actual operation of the power system.

[0022] Therefore, it is necessary to design a method to alleviate the problem of large errors caused by inaccurate power system models, and at the same time be able to cope with the frequent changes in operating modes of new power systems under extreme weather conditions in order to obtain accurate dynamic state estimation data.

[0023] Based on this, the present invention proposes a method for predicting the state of a power system, which predicts the initial predicted state of the power system at time k+1 by using a smooth variable structure filter, thereby alleviating the problem of large errors caused by the inaccurate power system model under extreme weather conditions under the traditional Kalman filter. Furthermore, the present application further avoids the problem of inaccurate predictions under extreme weather conditions by using a dual-parameter model to correct the initial predicted state, thereby effectively improving the accuracy of the power system state prediction.

[0024] The present application is described in detail below through specific embodiments.

[0025] Figure 1 A schematic diagram of a method for predicting a power system state according to an embodiment of the present application is shown. Figure 1 It can be seen that the method may include steps S101 to S103:

[0026] Step S101: Acquire actual power data based on the actual power system.

[0027] Optionally, the actual power data may include electrical quantities such as actual voltage amplitude and phase angle.

[0028] Step S102: filtering the actual power data based on a smooth variable structure filter, and obtaining the initial predicted state of the power system at time k+1 at time k.

[0029] Step S103: at time k, the initial predicted state at time k+1 is corrected based on the dual-parameter model to obtain the target predicted state of the power system at time k+1.

[0030] from Figure 1 It can be seen from the method shown that the present application predicts the initial prediction state of the power system at time k+1 through a smooth variable structure filter, which alleviates the problem of large errors caused by the inaccurate power system model under extreme weather under the traditional Kalman filter. Furthermore, the present application further avoids the problem of inaccurate prediction under extreme weather by using a dual-parameter model to correct the initial prediction state, effectively improving the accuracy of the power system state prediction.

[0031] In the above step S102, the smooth variable structure filter calculation process is divided into two parts: the prediction part and the measurement update correction part. When the predicted value exceeds the existing subspace, it means that there is uncertain interference. The estimated value can be corrected to the vicinity of the true value through discontinuous gain to ensure the robustness of the algorithm to uncertain interference. The flowchart is as follows Figure 2 shown.

[0032] Specifically, after collecting and summarizing the power data of each power system at time k, the power data is dynamically estimated through the system state transfer matrix at time k to obtain the dynamic state estimation value. At time k+1, the collected measurement data is compared with the dynamic state estimation value at time k to adjust the gain of the dynamic transfer matrix. Based on the adjusted gain, a more accurate state transfer matrix and measurement function are obtained, so that the next prediction is more accurate.

[0033] More specifically, in the above step S102, the actual power data is filtered based on the smooth variable structure filter, and the initial predicted state of the power system at time k+1 is obtained at time k. The specific implementation process is as follows:

[0034] First, the initial state transfer matrix of the power system is set as:

[0035]

[0036] Among them, f(x k ) represents the initial state transfer matrix of the power system, h(x k ) represents the measurement equation of the power system, represents the system state at time k+1 predicted at time k, x k is the actual power data, y k Represents the observed state quantity measurement. k and v k They respectively represent the Gaussian distribution (0,Q k )’s state noise and measurement noise.

[0037] Furthermore, in the prediction part, based on the actual power data at time k and the initial state transfer matrix, the initial prediction state at time k+1 is predicted.

[0038] Specifically, the initial prediction state at time k+1 is obtained based on the following formula:

[0039]

[0040] in, represents the initial predicted state at time k+1. The A matrix is ​​obtained by linearizing the first-order Taylor series of the nonlinear state function (i.e., f(.)), specifically:

[0041]

[0042] The measurement estimate at time k is obtained based on the following formula:

[0043]

[0044] in, represents the measurement estimate at time k, represents the initial prediction state at time k, and the C matrix is ​​obtained by linearizing the first-order Taylor series of the nonlinear measurement function (i.e., h(.)), specifically:

[0045]

[0046] Furthermore, the state error covariance is determined based on the following formula:

[0047] P k+1|k =AP k|k A T +Q k

[0048] Furthermore, based on the measurement equation and the initial prediction state at time k+1, the prediction value of the measurement data at time k+1 is determined.

[0049] Specifically, the predicted value of the measurement data at time k+1 is determined based on the following formula:

[0050]

[0051] in, represents the predicted value of the measurement data at time k+1, Represents the initial prediction state at time k+1.

[0052] Furthermore, the measurement update coefficient is calculated based on the measurement data at time k+1 and the predicted value of the measurement data at time k+1.

[0053] Specifically, the measurement update coefficient is determined based on the following formula:

[0054]

[0055]

[0056] Further, based on the measurement update coefficient, a measurement gain is determined.

[0057] Specifically, the measurement gain K k+1 for:

[0058]

[0059]

[0060] Where, γ represents the convergence rate parameter, 0<γ<1; the superscript “+” represents the pseudo-inverse; diag() is the symbol of the diagonalization form; represents the Schur product, which is the element-by-element multiplication of matrices; is the diagonal form of the boundary layer, obtained by taking the partial derivative of the error covariance.

[0061] In this way, the state estimate can be updated, and the final state estimate at time k+1 is determined based on the measurement gain, the measurement update coefficient, and the initial state estimate:

[0062]

[0063] in, represents the predicted state at time k+1 predicted at time k+1, represents the initial prediction state at time k+1, K k+1 Indicates the measurement gain, e z,k+1|k Represents the measurement update coefficient.

[0064] Furthermore, the covariance matrix P is updated:

[0065]

[0066] By correcting and updating the covariance matrix at each time point, we can obtain a more noise-resistant and accurate dynamic state estimate.

[0067] Generally speaking, based on the smooth variable structure filter, relatively accurate state prediction values ​​can be obtained in a noisy environment. However, in extreme weather conditions, the initial state transfer matrix and measurement function have shifted, which in turn leads to the shift of subsequent dynamic state estimates.

[0068] Therefore, after obtaining the initial prediction state through the smooth variable structure filter, the embodiment of the present application corrects the initial prediction state based on the two-parameter model to obtain an accurate target prediction state.

[0069] The following describes in detail how step S103 obtains the target prediction state based on the two-parameter model.

[0070] In some embodiments of the present application, the target prediction state at time k+1 is determined based on the initial prediction state at time k+1, the target prediction state at time k obtained after correction based on the two-parameter model at time k-1, the first smoothing coefficient and the second smoothing coefficient.

[0071] Specifically, the two-parameter model is:

[0072]

[0073] b k =β(a k -a k-1 )+(1-β)b k-1

[0074]

[0075] Among them, a k represents the horizontal component of the state estimate at time k+1 predicted based on the two-parameter model at time k, represents the state estimate at time k+1 predicted by the smooth variable structure filter at time k, represents the estimated value of the state at time k predicted based on the two-parameter model at time k-1, b k represents the tilt component of the state estimate at time k+1 predicted based on the two-parameter model at time k, a k-1 represents the horizontal component of the state estimate at time k predicted based on the two-parameter model at time k-1, b k-1 represents the tilt component of the state estimate at time k predicted based on the two-parameter model at time k-1, It represents the state estimation value at time k+1 predicted based on the two-parameter model at time k, α represents the first smoothing coefficient, and the value range of α is [0,1], and β represents the second smoothing coefficient, and the value range of β is [0,1].

[0076] In some embodiments of the present application, the first smoothing coefficient and the second smoothing coefficient are time-varying parameters, that is, the first smoothing coefficient used at different times is different, and the second smoothing coefficient used at different times is different.

[0077] In one implementation, the first smoothing coefficient and the second smoothing coefficient used at time k are determined based on the target predicted state at time k-1 and the actual state at time k-1.

[0078] Specifically, N groups of first smoothing coefficients and second smoothing coefficients are generated; based on the N groups of first smoothing coefficients and second smoothing coefficients, N groups of target prediction states at time k are determined at time k-1; based on the N groups of target prediction states at time k and the actual states at time k, the errors and mean square errors between the N groups of target prediction states at time k and the actual states at time k are calculated; the first smoothing coefficient and second smoothing coefficient corresponding to the group with the smallest error and mean square error are selected as the first smoothing coefficient and second smoothing coefficient used at time k.

[0079] More specifically, N sets of first smoothing coefficients and second smoothing coefficients are determined based on the following method:

[0080] Based on the initial first smoothing coefficient and the first preset difference, determine the high value of the first smoothing coefficient and the low value of the first smoothing coefficient; based on the initial second smoothing coefficient and the second preset difference, determine the high value of the second smoothing coefficient and the low value of the second smoothing coefficient; the initial first smoothing coefficient, the high value of the first smoothing coefficient, the low value of the first smoothing coefficient, the initial second smoothing coefficient, the high value of the second smoothing coefficient and the low value of the second smoothing coefficient are combined into N groups of first smoothing coefficients and second smoothing coefficients.

[0081] For example, at the kth moment, the central values ​​α0 and β0, the low value α L and β L , high value α H and β H , the selection of Δα and Δβ needs to be verified by trial and error according to the actual operation status of the power system. Thus, five sets of smoothing coefficients can be formed, namely (α0, β0), (α L , β H )、(α L , β L )、(α H , β H )、(α H , β L ), calculate the corresponding values ​​of the five groups of smoothing coefficients at time k With the actual value x k The error and mean square error between them are used to predict the estimated value at time k+1. At the same time, five new sets of α k and β k and its corresponding It is used to determine the correction parameters of the forecast at the next moment, and to improve the forecast accuracy of the system by continuously optimizing the selection of time-varying parameters.

[0082] The following is a description of the power system state prediction method proposed in the embodiment of the present application in combination with simulation verification:

[0083] like Figure 3 As shown in the figure, the effect of the smooth variable structure filter is verified. The original data is the real state of the power system at this time, and the measured data is the data collected by the sensor after adding noise and sent to the smooth variable structure filter. The estimated data is the data after filtering by the smooth variable structure filter and dynamic state estimation.

[0084] It can be seen that in this case, the smooth variable structure filter successfully filtered out the noise and restored the trend of the original data. However, due to the influence of extreme weather, the dynamic state transfer model was offset, causing the dynamic state estimation value of the smooth variable structure filter to deviate from the actual power system amplitude.

[0085] like Figure 4 As shown, under the influence of extreme weather, the two-parameter model correction method proposed in this application is used to correct the state predicted by the smoothing filter. Among them, the actual data is the actual state of the power system, the original estimated data is the rough dynamic state estimation data after smooth variable structure filtering, and the two-parameter method correction data is the dynamic state estimation data after correction by the two-parameter model.

[0086] It can be seen that in this case, on the basis of the smooth variable structure filter successfully filtering out the interference of noise, the two-parameter model correction corrected the deviation of the dynamic state transfer model due to extreme weather, and effectively alleviated the deviation of the dynamic state estimation value of the smooth variable structure filter, making the dynamic state estimation value closer to reality.

[0087] It should be understood that the order of execution of the steps in the above embodiments does not necessarily mean the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention. In addition, the term "including" and its variants should be interpreted as an open term of "including but not limited to".

[0088] In one embodiment, a device for predicting the state of a power system is provided, and the device for predicting the state of a power system corresponds one-to-one to the method for predicting the state of a power system in the above embodiment. Figure 5 As shown, the processing device includes: an acquisition module 501, a processing module 502, and a correction module 503. The detailed description of each functional module is as follows:

[0089] An acquisition module 501 is used to acquire actual power data based on an actual power system;

[0090] The processing module 502 is used to filter the actual power data based on a smooth variable structure filter, and obtain the initial predicted state of the power system at time k+1 at time k;

[0091] The correction module 503 is used to correct the initial prediction state at time k+1 based on the dual parameter model at time k to obtain the target prediction state of the power system at time k+1.

[0092] In some embodiments of the present application, in the above-mentioned device, the target prediction state at time k+1 is determined based on the initial prediction state at time k+1, the target prediction state at time k obtained after correction based on the two-parameter model at time k-1, the first smoothing coefficient and the second smoothing coefficient.

[0093] In some embodiments of the present application, in the above device, the two-parameter model is:

[0094]

[0095] b k =β(a k -a k-1 )+(1-β)b k-1

[0096]

[0097] Among them, a k represents the horizontal component of the state estimate at time k+1 predicted based on the two-parameter model at time k, represents the state estimate at time k+1 predicted by the smooth variable structure filter at time k, represents the estimated value of the state at time k predicted based on the two-parameter model at time k-1, b k represents the tilt component of the state estimate at time k+1 predicted based on the two-parameter model at time k, a k-1 represents the horizontal component of the state estimate at time k predicted based on the two-parameter model at time k-1, b k-1 represents the tilt component of the state estimate at time k predicted based on the two-parameter model at time k-1, It represents the state estimation value at time k+1 predicted based on the two-parameter model at time k, α represents the first smoothing coefficient, and the value range of α is [0,1], and β represents the second smoothing coefficient, and the value range of β is [0,1].

[0098] In some embodiments of the present application, the first smoothing coefficients used at different times are different, and the second smoothing coefficients used at different times are different; the first smoothing coefficient and the second smoothing coefficient used at time k are determined based on the target predicted state at time k-1 and the actual state at time k-1.

[0099] In some embodiments of the present application, the first smoothing coefficient and the second smoothing coefficient used at time k are determined based on the target prediction state at time k and the actual state at time k, including: generating N groups of first smoothing coefficients and second smoothing coefficients; determining N groups of target prediction states at time k at time k-1 based on the N groups of first smoothing coefficients and second smoothing coefficients; calculating the errors and mean square deviations between the N groups of target prediction states at time k and the actual states at time k, respectively; selecting the first smoothing coefficient and the second smoothing coefficient corresponding to the group with the smallest error and mean square deviation as the first smoothing coefficient and the second smoothing coefficient used at time k.

[0100] In some embodiments of the present application, N groups of first smoothing coefficients and second smoothing coefficients are determined based on the following method: based on an initial first smoothing coefficient and a first preset difference, a high value of the first smoothing coefficient and a low value of the first smoothing coefficient are determined; based on an initial second smoothing coefficient and a second preset difference, a high value of the second smoothing coefficient and a low value of the second smoothing coefficient are determined; the initial first smoothing coefficient, the high value of the first smoothing coefficient, the low value of the first smoothing coefficient, the initial second smoothing coefficient, the high value of the second smoothing coefficient and the low value of the second smoothing coefficient are combined into N groups of first smoothing coefficients and second smoothing coefficients.

[0101] In some embodiments of the present application, the processing module 502 is specifically used to predict the initial state estimation value at time k+1 based on the actual power data at time k and the initial state transfer matrix.

[0102] In some embodiments of the present application, the processing module 502 is further used to determine a predicted value of the measurement data at time k+1 based on the measurement equation and the initial state estimate at time k+1; calculate a measurement update coefficient based on the measurement data at time k+1 and the predicted value of the measurement data at time k+1; determine a measurement gain based on the measurement update coefficient; and determine a final state estimate at time k+1 at time k+1 based on the measurement gain, the measurement update coefficient, and the initial state estimate.

[0103] It should be noted that any of the above-mentioned power system state prediction devices can implement the above-mentioned power system state prediction method in a one-to-one correspondence, which will not be repeated here.

[0104] Figure 6 FIG. 1 is a schematic diagram showing the structure of an electronic device provided in an embodiment of the present application. Figure 6 As shown, at the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Among them, the memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage, etc. Of course, the electronic device may also include hardware required for other services.

[0105] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0106] The memory is used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include internal memory and non-volatile memory, and provides instructions and data to the processor.

[0107] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a prediction device for the power system state at the logical level. The processor executes the program stored in the memory and is specifically used to execute the above method.

[0108] The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or a combination of hardware and software modules in the decoding processor to be executed. The software module may be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0109] The electronic device can execute the power system state prediction method provided by multiple embodiments of the present application, and realize the power system state prediction device in Figure 1 The functions of the illustrated embodiment will not be described in detail in the embodiments of the present application.

[0110] An embodiment of the present application also proposes a computer-readable storage medium, which stores one or more programs, and the one or more programs include instructions. When the instructions are executed by an electronic device including multiple application programs, the electronic device can execute the prediction method of the power system status provided by multiple embodiments of the present application.

[0111] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0112] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0113] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0114] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0115] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0116] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0117] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0118] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity or device including the element.

[0119] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0120] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for predicting power system status, characterized in that: The method comprises: Acquire actual power data based on actual power system; Filtering the actual power data based on a smooth variable structure filter to obtain an initial predicted state of the power system at time k+1 at time k; At time k, based on the dual parameter model, the initial predicted state at time k+1 is corrected to obtain the target predicted state of the power system at time k+1; The target prediction state at time k+1 is determined based on the initial prediction state at time k+1, the target prediction state at time k obtained after correction based on the two-parameter model at time k-1, the first smoothing coefficient and the second smoothing coefficient; The two-parameter model is: b k =β(a k -a k-1 )+(1-β)b k-1 Among them, a k represents the horizontal component of the state estimate at time k+1 predicted based on the two-parameter model at time k, represents the state estimate at time k+1 predicted by the smooth variable structure filter at time k, represents the estimated state value at time k predicted based on the two-parameter model at time k-1, b k represents the tilt component of the state estimate at time k+1 predicted based on the two-parameter model at time k, a k-1 represents the horizontal component of the state estimate at time k predicted based on the two-parameter model at time k-1, b k-1 represents the tilt component of the state estimate at time k predicted based on the two-parameter model at time k-1, represents the state estimation value at time k+1 predicted based on the two-parameter model at time k, α represents the first smoothing coefficient, and the value range of α is [0, 1], β represents the second smoothing coefficient, and the value range of β is [0, 1]; The first smoothing used at different times is different, and the second smoothing coefficient used at different times is different; The first smoothing coefficient and the second smoothing coefficient used at time k are determined based on the target predicted state at time k-1 and the actual state at time k-1; The first smoothing coefficient and the second smoothing coefficient used at the k moment are determined based on the target predicted state at the k moment and the actual state at the k moment, including: Generate N sets of first smoothing coefficients and second smoothing coefficients; Based on the N groups of first smoothing coefficients and second smoothing coefficients, determining at time k-1 the N groups of target prediction states at time k; Based on the N groups of target predicted states at time k and the actual states at time k, calculate the errors and mean square errors between the N groups of target predicted states at time k and the actual states at time k; Select the first smoothing coefficient and the second smoothing coefficient corresponding to the group with the smallest error and mean square error as the first smoothing coefficient and the second smoothing coefficient used at time k; The N groups of first smoothing coefficients and second smoothing coefficients are determined based on the following method: Determining a high value of the first smoothing coefficient and a low value of the first smoothing coefficient based on the initial first smoothing coefficient and the first preset difference; Determining a high value of the second smoothing coefficient and a low value of the second smoothing coefficient based on the initial second smoothing coefficient and the second preset difference; The initial first smoothing coefficient, the high value of the first smoothing coefficient, the low value of the first smoothing coefficient, the initial second smoothing coefficient, the high value of the second smoothing coefficient and the low value of the second smoothing coefficient are combined into N groups of first smoothing coefficients and second smoothing coefficients.

2. The method according to claim 1, characterized in that The actual power data at the k moment is filtered based on a smooth variable structure filter to obtain an initial predicted state of the power system at the k+1 moment, including: Based on the actual power data at time k and the initial state transfer matrix, predict the initial predicted state at time k+1; The method further comprises: Determine a predicted value of the measurement data at the k+1 time based on the measurement equation and the initial predicted state at the k+1 time; Calculating a measurement update coefficient based on the measurement data at time k+1 and the predicted value of the measurement data at time k+1; Determining a measurement gain based on the measurement update coefficient; Based on the measurement gain, the measurement update coefficient and the initial state estimate, a final state estimate at time k+1 is determined at time k+1.

3. A device for predicting power system status, characterized in that: The device comprises: An acquisition module, used for acquiring actual power data based on an actual power system; A processing module, used for filtering the actual power data based on a smooth variable structure filter, and obtaining an initial predicted state of the power system at time k+1 at time k; A correction module, used for correcting the initial predicted state at time k+1 based on the dual parameter model at time k to obtain the target predicted state of the power system at time k+1; The target prediction state at time k+1 is determined based on the initial prediction state at time k+1, the target prediction state at time k obtained after correction based on the two-parameter model at time k-1, the first smoothing coefficient and the second smoothing coefficient; The two-parameter model is: b k =β(a k -a k-1 )+(1-β)b k-1 Among them, a k represents the horizontal component of the state estimate at time k+1 predicted based on the two-parameter model at time k, represents the state estimate at time k+1 predicted by the smooth variable structure filter at time k, represents the estimated state value at time k predicted based on the two-parameter model at time k-1, b k represents the tilt component of the state estimate at time k+1 predicted based on the two-parameter model at time k, a k-1 represents the horizontal component of the state estimate at time k predicted based on the two-parameter model at time k-1, b k-1 represents the tilt component of the state estimate at time k predicted based on the two-parameter model at time k-1, represents the state estimation value at time k+1 predicted based on the two-parameter model at time k, α represents the first smoothing coefficient, and the value range of α is [0, 1], β represents the second smoothing coefficient, and the value range of β is [0, 1]; The first smoothing used at different times is different, and the second smoothing coefficient used at different times is different; The first smoothing coefficient and the second smoothing coefficient used at time k are determined based on the target predicted state at time k-1 and the actual state at time k-1; The first smoothing coefficient and the second smoothing coefficient used at the k moment are determined based on the target predicted state at the k moment and the actual state at the k moment, including: Generate N sets of first smoothing coefficients and second smoothing coefficients; Based on the N groups of first smoothing coefficients and second smoothing coefficients, determining at time k-1 the N groups of target prediction states at time k; Based on the N groups of target predicted states at time k and the actual states at time k, calculate the errors and mean square errors between the N groups of target predicted states at time k and the actual states at time k; Select the first smoothing coefficient and the second smoothing coefficient corresponding to the group with the smallest error and mean square error as the first smoothing coefficient and the second smoothing coefficient used at time k; The N groups of first smoothing coefficients and second smoothing coefficients are determined based on the following method: Determining a high value of the first smoothing coefficient and a low value of the first smoothing coefficient based on the initial first smoothing coefficient and the first preset difference; Determining a high value of the second smoothing coefficient and a low value of the second smoothing coefficient based on the initial second smoothing coefficient and the second preset difference; The initial first smoothing coefficient, the high value of the first smoothing coefficient, the low value of the first smoothing coefficient, the initial second smoothing coefficient, the high value of the second smoothing coefficient and the low value of the second smoothing coefficient are combined into N groups of first smoothing coefficients and second smoothing coefficients.

4. 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 computer program, the steps of the method for predicting the state of the power system as claimed in any one of claims 1 to 2 are implemented.

5. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for predicting the state of a power system as claimed in any one of claims 1 to 2 are implemented.

Citation Information

Patent Citations

  • Prediction-assisted power system state estimation method

    CN109599866A

  • Power system auxiliary prediction state estimation method taking model uncertainty into consideration

    CN110021931A

  • Power distribution network dynamic state estimation method and system based on square root cubature Kalman filter

    CN112713587A

  • Power system dynamic state estimation method and system

    CN113255959A

  • Offshore wind plant power generation output characteristic prediction method, device, equipment and medium

    CN114862022A