Power grid monitoring method and device, nonvolatile storage medium and computer equipment
By determining the lost time and reference time points in the power grid information sequence, filling in missing data and removing abnormal data, the problem of lost information and mistaken deletion in power grid information monitoring is solved, and the accuracy and effectiveness of monitoring are improved.
Patent Information
- Application Number
- CN202411353801.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2044-09-26
AI Technical Summary
When collecting urban power grid information, the information is lost due to errors in the sampling process of the current monitoring module and the voltage monitoring module, and then the reasonable information is mistakenly considered as the clutter value when clearing the clutter value, resulting in poor monitoring effect.
By obtaining the power grid information sequence, the time of missing data is determined as the lost time point, the unreasonable amplitude is calculated based on the reference time point of the adjacent time point, the missing data is filled, the abnormal data is removed, and the complete power grid information sequence is obtained, thereby realizing accurate monitoring. .
It improves the accuracy and effectiveness of power grid monitoring, and avoids the problem of accidentally deleting normal information due to clearing abnormal data.
Smart Images

Figure CN119226719A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electric power technology, and in particular to a power grid monitoring method, device, non-volatile storage medium and computer equipment. Background Art
[0002] When the collected urban power grid information is cleared of noise values, the urban power grid information sampled by the current monitoring module and the voltage monitoring module may be lost due to errors during information transmission or when the processing unit receives the urban power grid information. Therefore, when the urban power grid information is cleared of noise values, reasonable information may be cleared as noise values, making it difficult for the urban power grid information after the noise values are cleared to be accurately compared with the voltage limit value or current limit value set in advance, which is not conducive to achieving monitoring of the urban power grid information.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present invention provide a power grid monitoring method, apparatus, non-volatile storage medium and computer equipment to at least solve the technical problem that when clearing abnormal data when collecting power grid information, missing normal information is easily removed, resulting in poor monitoring effect.
[0005] According to one aspect of an embodiment of the present invention, a power grid monitoring method is provided, comprising: acquiring a power grid information sequence of a target area, wherein the power grid information sequence is arranged based on time order; determining a moment at which missing data exists in the power grid information sequence as a missing time point; determining multiple adjacent moments of the missing time point as multiple reference time points; determining unreasonable amplitudes corresponding to each of the multiple reference time points based on power grid information data corresponding to each of the multiple reference time points; completing the missing data based on the unreasonable amplitudes corresponding to each of the multiple reference time points and the power information data corresponding to each of the multiple reference time points to obtain a complete power grid information sequence; removing abnormal data in the complete power grid information sequence to obtain a target power grid information sequence; and monitoring the power grid of the target area based on the target power grid information sequence.
[0006] Optionally, obtaining the power grid information sequence of the target area includes: obtaining the current value and the voltage value in the target area; and sorting the current values and the voltage values corresponding to multiple moments according to the time sequence of the acquisition to obtain the power grid information sequence.
[0007] Optionally, based on power grid information data corresponding to each of the multiple reference time points, the unreasonable amplitudes corresponding to each of the multiple reference time points are determined, and the power grid information data includes voltage values, including: determining a reduction queue corresponding to each of the multiple reference time points, wherein the reduction queue is determined by arranging in order of size according to the difference between the voltage value corresponding to the corresponding reference time point and the voltage values corresponding to other reference time points; selecting a preset number of moments in the reduction queue corresponding to each of the multiple reference time points as the information fitting points corresponding to each of the multiple reference time points; determining the unreasonable amplitudes corresponding to each of the multiple reference time points according to the difference between the voltage values corresponding to the multiple reference time points and the voltage values corresponding to the corresponding information fitting points.
[0008] Optionally, based on the difference between the voltage values corresponding to the multiple reference time points and the voltage values corresponding to the respective information fitting points, the unreasonable amplitudes corresponding to the multiple reference time points are determined, including: determining the adjacent voltage decrements corresponding to the multiple reference time points, wherein the adjacent voltage decrements are the difference between the voltage value corresponding to the corresponding reference time point and the voltage value corresponding to the previous reference time point; determining the unreasonable amplitudes corresponding to the multiple reference time points based on the adjacent voltage decrements corresponding to the multiple reference time points and the difference between the voltage values corresponding to the multiple reference time points and the voltage values corresponding to the respective information fitting points.
[0009] Optionally, based on the unreasonable amplitudes corresponding to each of the multiple reference time points and the power information data corresponding to each of the multiple reference time points, the missing data is completed to obtain a complete power grid information sequence, including: dividing the multiple reference time points into front reference time points and rear reference time points, wherein the front reference time points are located before the missing time points and the rear reference time points are located after the missing time points; determining the front reference unreasonable criticality according to the sum of the unreasonable amplitudes corresponding to the front reference time points; determining the rear reference unreasonable criticality according to the sum of the unreasonable amplitudes corresponding to the rear reference time points; completing the missing data according to the front reference unreasonable criticality, the rear reference unreasonable criticality and the power information data corresponding to each of the multiple reference time points to obtain a complete power grid information sequence.
[0010] Optionally, based on the unreasonable amplitudes corresponding to multiple reference time points and the power information data corresponding to multiple reference time points, the missing data is completed to obtain a complete power grid information sequence, including: in the case where the voltage value corresponding to a missing time point is missing, based on the unreasonable amplitudes corresponding to multiple reference time points and the power information data corresponding to multiple reference time points, the initial completed voltage value and the initial completed current value corresponding to the missing time point are determined; according to the difference between the initial completed current value corresponding to the missing time point and the actual current value corresponding to the missing time point in the power information sequence, the current difference of the missing time point is determined; based on the current difference of the missing time point, the initial completed voltage value is corrected to obtain a target completed voltage value; based on the target completed voltage value, the missing data is completed to obtain a complete power grid information sequence.
[0011] According to another aspect of an embodiment of the present invention, a power grid monitoring device is also provided, including: an acquisition module, used to acquire a power grid information sequence of a target area, wherein the power grid information sequence is arranged based on time order; a first determination module, used to determine a moment when there is missing data in the power grid information sequence as a missing time point; a second determination module, used to determine multiple adjacent moments of the missing time point as multiple reference time points; a third determination module, used to determine the unreasonable amplitudes corresponding to each of the multiple reference time points based on the power grid information data corresponding to each of the multiple reference time points; a filling module, used to fill the missing data based on the unreasonable amplitudes corresponding to each of the multiple reference time points and the power information data corresponding to each of the multiple reference time points to obtain a complete power grid information sequence; a removal module, used to remove abnormal data in the complete power grid information sequence to obtain a target power grid information sequence; and a monitoring module, used to monitor the power grid of the target area based on the target power grid information sequence.
[0012] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is provided, the non-volatile storage medium including a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute any one of the above-mentioned power grid monitoring methods.
[0013] According to yet another aspect of an embodiment of the present invention, a computer device is provided. The computer device includes a processor, and the processor is used to run a program. When the program is run, any one of the above-mentioned power grid monitoring methods is executed.
[0014] According to yet another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, any one of the above-mentioned power grid monitoring methods is implemented.
[0015] In an embodiment of the present invention, a power grid monitoring method is adopted, by acquiring a power grid information sequence of a target area, wherein the power grid information sequence is arranged based on time order; determining a moment when there is missing data in the power grid information sequence as a missing time point; determining multiple adjacent moments of the missing time point as multiple reference time points; determining unreasonable amplitudes corresponding to the multiple reference time points based on the power grid information data corresponding to each of the multiple reference time points; completing the missing data based on the unreasonable amplitudes corresponding to the multiple reference time points and the power information data corresponding to the multiple reference time points to obtain a complete power grid information sequence; removing abnormal data in the complete power grid information sequence to obtain a target power grid information sequence; monitoring the power grid in the target area based on the target power grid information sequence, achieving the purpose of accurately removing abnormal information in the power grid information sequence, thereby realizing the technical effect of improving the monitoring effect of the power grid, and further solving the technical problem that when removing abnormal data when collecting power grid information, it is easy to remove missing normal information, resulting in poor monitoring effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0017] Figure 1 A hardware structure block diagram of a computer terminal for implementing a power grid monitoring method is shown;
[0018] Figure 2 is a flow chart of a power grid monitoring method provided according to an embodiment of the present invention;
[0019] Figure 3 is a schematic diagram of a processing unit corresponding to a power grid monitoring method provided in an optional embodiment of the present invention;
[0020] Figure 4 is a structural block diagram of a power grid monitoring device provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0021] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 only 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 should fall within the scope of protection of the present invention.
[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention 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 the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0023] According to an embodiment of the present invention, a method embodiment of a power grid monitoring method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0024] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 FIG. 1 shows a hardware structure block diagram of a computer terminal for implementing a power grid monitoring method. Figure 1 As shown, the computer terminal 10 may include one or more (102a, 102b, ..., 102n are used to illustrate) processors (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0025] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0026] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the power grid monitoring method in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the power grid monitoring method of the above-mentioned application program is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 10 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.
[0027] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 .
[0028] Figure 2 is a flow chart of a power grid monitoring method according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:
[0029] Step S202: acquiring a power grid information sequence of a target area, wherein the power grid information sequence is arranged based on a time sequence.
[0030] In this step, the target area can be a city, and the city power grid information is obtained, which may include current values and voltage values. The power grid information sequence can arrange the power grid information obtained at different times according to the order of acquisition time to obtain the information sequence. For example, each interval of 2s is a sampling time point, and the current monitoring module and the voltage monitoring module sample the voltage value and the current value of the city power grid in sequence. After a total of 60 minutes of sampling, the voltage values and current values of the city power grid at each sampling time point are arranged in sequence according to the order of sampling to form a city power grid information queue.
[0031] Step S204: determining the time when missing data exists in the power grid information sequence as the missing time point.
[0032] In this step, anomalies may occur during the acquisition process or data transmission process, resulting in no data. This is called missing data, and the moment of missing data is the missing time point. The power grid information queue can include the voltage value and current value of the urban power grid at multiple sampling time points; for any sampling time point, if the voltage value of the urban power grid at the sampling time point is NULL, that is, missing data occurs at this moment, then the sampling time point is defined as the missing time point.
[0033] Step S206, determining multiple adjacent moments of the lost time point as multiple reference time points.
[0034] In this step, the adjacent time of the lost time point can be determined as the reference time point corresponding to the lost time point. There may be multiple times in the power grid information queue where data is missing, that is, there are multiple lost time points. A value b can be set in advance, and then for any lost time point, the b sampling time points before the lost time point and the b sampling time points after the lost time point are defined as the reference time points of the lost time point.
[0035] Step S208, determining the unreasonable amplitudes corresponding to the multiple reference time points respectively based on the power grid information data corresponding to the multiple reference time points respectively.
[0036] In this step, when the urban power grid operates stably without unreasonable voltage fluctuations, the voltage value of the urban power grid will be correspondingly stable. When the voltage value of the sampled urban power grid contains a significant jump value, the voltage value of the urban power grid is often attributed to unreasonable information, that is, the more unstable the voltage is, the higher the unreasonable amplitude is. According to the power grid information data corresponding to each of the multiple reference time points, the unreasonable amplitudes corresponding to each of the multiple reference time points can be determined. For example, for the jth sampling time point, the amount obtained by subtracting the voltage value of the power grid between the j-1th sampling time point and the jth sampling time point is taken as the adjacent voltage reduction of the jth sampling time point; for the nth reference time point of the yth missing time point; the modulus of the amount obtained by subtracting the voltage value of the power grid between each reference time point of the yth missing time point and the nth reference time point is defined as the reduction of one at the nth reference time point, and the overall reduction of one at the nth reference time point is obtained, and the reduction value of one is calculated from low to high according to the value of the reduction value. High execution arrangement, obtain the reduction queue of the nth reference time point, and define all the reference time points corresponding to the first b1 reduction queues in the reduction queue of the nth reference time point as the information fitting time point of the nth reference time point; then according to the difference between the adjacent voltage reductions of each reference time point of each missed time point and other reference time points, plus the difference between the voltage value of the urban power grid of each reference time point and its information fitting time point, obtain the unreasonable amplitude of each reference time point of each missed time point.
[0037] When analyzing the unreasonable amplitude of the benchmark time points of each missed time point, the higher the average of the quotient of the voltage value of the urban power grid at the benchmark time point to be analyzed and the voltage value of the urban power grid at all benchmark time points, the more unreasonable the benchmark time point to be analyzed will be; the higher the average of the quotient of the adjacent voltage reduction of the benchmark time point to be analyzed and the adjacent voltage reduction of all benchmark time points, the higher the probability of the benchmark time point showing a jump, and the higher the authenticity of the voltage value of the urban power grid will be, and the more unreasonable it will be; among all the benchmark time points of the missed time points, the b1 benchmark time points whose voltage value of the urban power grid is closest to the benchmark time point to be analyzed are selected. If the difference value of the voltage value of the urban power grid between it and the benchmark time point is higher, it means that the more outlier the benchmark time point to be analyzed is, the higher the authenticity of the jump it shows, and the higher the authenticity of the voltage value of the urban power grid will be, that is, the more unreasonable it will be.
[0038] Step S210, based on the unreasonable amplitudes corresponding to the multiple reference time points and the power information data corresponding to the multiple reference time points, the missing data is completed to obtain a complete power grid information sequence.
[0039] In this step, according to the unreasonable amplitudes corresponding to each of the multiple reference time points and the corresponding power information data, that is, the corresponding grid values and current values, the information data corresponding to the missing time point can be determined, and the missing data can be completed to obtain a complete grid information sequence. The higher the unreasonable amplitude of each reference time point for each missing time point, the lower the criticality of its comparison value for the missing time point should be; the execution of the information completion operation for the missing time point depends on the voltage value of a pair of reference time points adjacent to the missing time point and the amplitude average of the reference time points on both sides of the missing time point, that is, based on the voltage value status of the urban power grid at the reference time point of the missing time point and its unreasonable amplitude, the voltage value of the starting urban power grid of the missing time point is completed, and the unreasonable amplitude of each reference time point is used as the criticality of its reference function during completion.
[0040] Step S212, removing abnormal data in the complete power grid information sequence to obtain a target power grid information sequence.
[0041] In this step, after obtaining a complete urban power grid information queue, the Savitzky-Golay method is used to perform clutter removal on the complete urban power grid information queue. The urban power grid information in the urban power grid information queue after the clutter value is removed is the cleaned urban power grid information. The Savitzky-Golay method is an algorithm for smoothing data and reducing noise. It smoothes data points by applying polynomial fitting in a sliding window. Using this method to remove clutter values from a complete urban power grid information queue, the specific steps include: selecting the window size and polynomial order: determining the size of the sliding window (such as 5 data points) and the polynomial order used for fitting (such as 2nd order). Applying a sliding window: performing sliding window processing on the data, and using a polynomial to fit data points in each window. Calculating smoothed values: calculating the smoothed data value through polynomial fitting to replace the clutter value in the original data. Updating the data queue: updating the smoothed data to the original data queue and removing abnormal clutter values. This method effectively reduces the noise in the data, making the data more consistent with the actual power grid operation.
[0042] Step S214: monitoring the power grid in the target area based on the target power grid information sequence.
[0043] In this step, the target grid information sequence is followed up to monitor the target area. For example, if the target grid information sequence exceeds the pre-set voltage limit or current limit, it is considered that the grid may be abnormal, and a warning message needs to be generated to alert relevant personnel to achieve monitoring of the grid information in the target area.
[0044] Through the above steps, the purpose of accurately clearing abnormal information in the power grid information sequence can be achieved, thereby realizing the technical effect of improving the monitoring effect of the power grid, and further solving the technical problem that when clearing abnormal data when collecting power grid information, it is easy to remove the missing normal information, resulting in poor monitoring effect.
[0045] As an optional embodiment, obtaining a power grid information sequence of a target area includes: obtaining current values and voltage values in the target area; and sorting the current values and voltage values corresponding to multiple moments according to the time sequence of the acquisition to obtain a power grid information sequence.
[0046] Optionally, the current and voltage values in the target area can be obtained by the current monitoring module and the voltage monitoring module, and the current and voltage values corresponding to multiple moments can be sorted according to the time sequence of the acquisition to obtain a power grid information sequence. For example, each interval of 2s is a sampling time point, and the current monitoring module and the voltage monitoring module sample the voltage value and the current value of the urban power grid in sequence each time. After a total of 60 minutes of sampling, the voltage values and the current values of the urban power grid at each sampling time point are arranged in sequence according to the sampling sequence to form a city power grid information queue.
[0047] As an optional embodiment, based on power grid information data corresponding to each of the multiple reference time points, determining the unreasonable amplitudes corresponding to each of the multiple reference time points, wherein the power grid information data includes voltage values, includes: determining a reduction queue corresponding to each of the multiple reference time points, wherein the reduction queue is determined in order of size based on the difference between the voltage value corresponding to the corresponding reference time point and the voltage values corresponding to other reference time points; selecting a preset number of moments in the reduction queue corresponding to each of the multiple reference time points as the information fitting points corresponding to each of the multiple reference time points; determining the unreasonable amplitudes corresponding to each of the multiple reference time points based on the difference between the voltage values corresponding to the multiple reference time points and the voltage values corresponding to the corresponding information fitting points.
[0048] Optionally, because there may be multiple lost time points, each lost time point will have a corresponding reference time point. For the nth reference time point of the yth lost time point; the modulus of the amount obtained by subtracting the voltage value of the urban power grid between each reference time point of the yth lost time point and the nth reference time point is defined as the reduction of the nth reference time point, and all the reductions of the nth reference time point are obtained, and the reductions are arranged from low to high according to the value of the reduction, and the reduction queue of the nth reference time point is obtained, and all the reference time points corresponding to the first b1 reductions in the reduction queue of the nth reference time point are defined as the information fitting time point of the nth reference time point; according to the difference between the voltage value of the urban power grid of each reference time point and its information fitting time point, the unreasonable amplitude of each reference time point of each lost time point is obtained.
[0049] As an optional embodiment, the unreasonable amplitudes corresponding to each of the multiple reference time points are determined based on the differences between the voltage values corresponding to the multiple reference time points and the voltage values corresponding to the respective information fitting points, including: determining the adjacent voltage decrements corresponding to each of the multiple reference time points, wherein the adjacent voltage decrements are the differences between the voltage values corresponding to the corresponding reference time points and the voltage values corresponding to the previous reference time points; determining the unreasonable amplitudes corresponding to each of the multiple reference time points based on the adjacent voltage decrements corresponding to each of the multiple reference time points and the differences between the voltage values corresponding to the multiple reference time points and the voltage values corresponding to the respective information fitting points.
[0050] Optionally, to determine the unreasonable amplitudes corresponding to each of the multiple reference time points, the adjacent voltage reduction corresponding to each of the reference time points may also be considered. The adjacent voltage reduction is the voltage value difference between adjacent sampling time points, that is, for the jth sampling time point, the voltage value of the urban power grid between the j-1th sampling time point and the jth sampling time point is subtracted, and is regarded as the adjacent voltage reduction of the jth sampling time point. The calculation equation for obtaining the unreasonable amplitude of the nth reference time point of the yth missed time point is: Among them, D y,n The unreasonable amplitude of the nth reference time point representing the yth lost time point; W y,n The voltage value of the urban power grid at the nth reference time point representing the yth missing time point; The average voltage value of the urban power grid at all reference time points representing the yth missed time point; g y,n The voltage decrease adjacent to the nth reference time point representing the yth missing time point; The average of the adjacent voltage reductions of all reference time points representing the yth missed time point; L y,n The total number of time points at which all information of the nth reference time point fits the yth lost time point; W y,n,l The voltage value of the urban power grid at the lth information matching time point of the nth reference time point representing the yth lost time point.
[0051] As an optional embodiment, based on the unreasonable amplitudes corresponding to each of the multiple reference time points and the power information data corresponding to each of the multiple reference time points, the missing data is completed to obtain a complete power grid information sequence, including: dividing the multiple reference time points into front reference time points and rear reference time points, wherein the front reference time points are located before the missing time points and the rear reference time points are located after the missing time points; determining the front reference unreasonable criticality according to the sum of the unreasonable amplitudes corresponding to the front reference time points; determining the rear reference unreasonable criticality according to the sum of the unreasonable amplitudes corresponding to the rear reference time points; completing the missing data according to the front reference unreasonable criticality, the rear reference unreasonable criticality and the power information data corresponding to each of the multiple reference time points to obtain a complete power grid information sequence.
[0052] Optionally, taking the yth lost time point as an example, for the yth lost time point, in the power grid information queue, the sampling time point adjacent to the previous sampling time point of the yth lost time point is used as the previous destination reference time point of the yth lost time point, and the sampling time point adjacent to the next sampling time point of the yth lost time point is used as the next destination reference time point of the yth lost time point; here, the previous adjacent sampling time point is the previous time point of a pair of adjacent sampling time points of the yth lost time point, and the next adjacent sampling time point is the next time point of a pair of adjacent sampling time points of the yth lost time point; all the reference time points before the yth lost time point are defined as the previous reference time point queue of the yth lost time point, and all the reference time points after the yth lost time point are defined as the next reference time point queue of the yth lost time point. point queue; in the previous reference time point queue of the yth lost time point, the reciprocal of the duration between the vth reference time point and the yth lost time point is defined as the duration value of the vth reference time point, and the duration value of the vth reference time point is divided by the cumulative duration values of all reference time points in the previous reference time point queue of the yth lost time point, and the duration ratio of the vth reference time point is defined; in the subsequent reference time point queue of the yth lost time point, the reciprocal of the duration between the pth reference time point and the yth lost time point is defined as the duration value of the pth reference time point, and the duration value of the pth reference time point is divided by the cumulative duration values of all reference time points in the subsequent reference time point queue of the yth lost time point, and the duration ratio of the vth reference time point is defined;
[0053] The amount obtained by adding up the unreasonable amplitudes of all the benchmark time points in the previous benchmark time point queue of the yth lost time point is defined as the statistic one of the yth lost time point; the amount obtained by adding up the unreasonable amplitudes of all the benchmark time points in the subsequent benchmark time point queue of the yth lost time point is defined as the statistic two of the yth lost time point; the amount obtained by adding the statistic one and the statistic two is defined as the final statistic; the ratio obtained by dividing the statistic one by the final statistic is used as the unreasonable critical degree of the previous benchmark of the yth lost time point; the ratio obtained by dividing the statistic two by the final statistic is used as the unreasonable critical degree of the subsequent benchmark of the yth lost time point;
[0054] According to the unreasonable amplitude criticality and duration ratio of the reference time points before and after each missed time point, the voltage value of the urban power grid at the previous target reference time point and the voltage value of the urban power grid at the subsequent target reference time point, the complementary value of the voltage value of the starting urban power grid at each missed time point is obtained.
[0055] Specifically, the calculation equation for obtaining the complement value of the voltage value of the starting city power grid at the yth missing time point is:
[0056]
[0057] AD y=AD1 y +AD2 y
[0058] In the equation, AD y The complement value representing the voltage value of the starting city power grid at the yth missing time point; AD1 y The complement value representing the voltage value of the previous starting city power grid at the yth missing time point; AD2 y The complement value of the voltage value of the post-starting city power grid representing the yth missed time point; W1 y The voltage value of the urban power grid at the previous reference time point representing the yth lost time point; W2 y The voltage value of the urban power grid at the target reference time point after the yth lost time point; V y represents the total number of all reference time points in the previous reference time point queue of the yth lost time point; P y g represents the total number of all reference time points in the post-reference time point queue of the yth lost time point; y,v represents the adjacent voltage decrease of the vth reference time point in the previous reference time point queue of the yth lost time point; e y,v g represents the ratio of the duration of the vth reference time point in the previous reference time point queue of the yth lost time point; y,p The voltage decrease of the adjacent reference time point p in the post-reference time point queue representing the yth missed time point; e y,p The ratio of the duration of the pth reference time point in the post-reference time point queue representing the yth lost time point; RD1 y Characterizes the unreasonable criticality of the previous benchmark at the yth loss point; RD2 y Characterizes the unreasonable criticality of the post-benchmark at the yth loss time point.
[0059] As an optional embodiment, based on the unreasonable amplitudes corresponding to multiple reference time points and the power information data corresponding to multiple reference time points, the missing data is completed to obtain a complete power grid information sequence, including: in the case where the voltage value corresponding to the missing time point is missing, based on the unreasonable amplitudes corresponding to multiple reference time points and the power information data corresponding to multiple reference time points, the initial completed voltage value and the initial completed current value corresponding to the missing time point are determined; according to the difference between the initial completed current value corresponding to the missing time point and the actual current value corresponding to the missing time point in the power information sequence, the current difference of the missing time point is determined; based on the current difference of the missing time point, the initial completed voltage value is corrected to obtain a target completed voltage value; based on the target completed voltage value, the missing data is completed to obtain a complete power grid information sequence.
[0060] Optionally, the change attribute of the voltage value of the urban power grid is analyzed to obtain the supplement value of the voltage value of the starting urban power grid. Since the change of the voltage value of the urban power grid itself is different from the change of the current value of the urban power grid, the change of the voltage value of the urban power grid has outlier and limited effects, which often results in inaccurate supplement of the voltage value of the starting urban power grid. Therefore, the voltage value of the power grid can be corrected according to the current value of the urban power grid with some correlation with the voltage value of the power grid to obtain a more accurate supplement value of the voltage value of the urban power grid. That is, in the case of missing voltage value, the current value and the voltage value are supplemented according to the above method to obtain the initial supplement current value and the initial supplement voltage value. Then, the initial supplement voltage value is corrected according to the difference between the actual current value and the initial supplement current value to obtain the final voltage value, and then the complete power grid information sequence is obtained.
[0061] Taking the city as an example, when the target area is a city, the corresponding power grid is the city power grid. The complement value of the current value of the starting city power grid at each sampling time point (that is, the sampling time point is regarded as the time point where the current value of the city power grid is lost, and the current value of the city power grid at this time point is defined as NULL regardless of whether it is really lost) and the lost time point (the lost time point is the lost time point where the voltage value of the starting city power grid is missing, and the current value of the city power grid at the lost time point is assumed to be NULL) can be obtained; for any lost time point, the actual current value of the city power grid collected at the lost time point and the complement value of the current value of the starting city power grid are subtracted, and the difference in the current value of the city power grid at the lost time point is taken as the difference in the current value of the city power grid at the lost time point; for any sampling time point, the actual current value of the city power grid collected at the sampling time point and the complement value of the current value of the starting city power grid are subtracted, and the difference in the current value of the city power grid at the sampling time point is taken as the difference in the current value of the city power grid at the sampling time point;
[0062] There is some correlation between the voltage value of the urban power grid and the current value of the urban power grid with which it is synchronized. However, in specific situations, the voltage value and the current value are not simply proportional, that is, when the voltage value increases by 10%, the synchronized current value often does not increase by 10%. Then, for the yth missed time point, in the urban power grid information queue, the sampling time point with the same difference in the current value of the urban power grid and the difference in the current value of the urban power grid at the yth missed time point is defined as the second target reference time point of the yth missed time point; the average of the adjacent voltage reductions of all target reference time points of the yth missed time point is defined as the correction value of the voltage value of the urban power grid at the yth missed time point, and the correction value of the voltage value of the urban power grid at the yth missed time point is added to the supplementary value of the voltage value of the starting urban power grid at the yth missed time point, which is used as the supplementary value of the voltage value of the last urban power grid at the yth missed time point. Therefore, the supplementary value of the voltage value of the last urban power grid at each missed time point is obtained through the above method. According to the supplementary value, a complete power grid information sequence can be obtained.
[0063] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0064] Through the description of the above implementation methods, those skilled in the art can clearly understand that the power grid monitoring method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0065] Figure 3 is a schematic diagram of a processing unit corresponding to a power grid monitoring method provided in an optional embodiment of the present invention, such as Figure 3 As shown:
[0066] The alarm unit, current monitoring module and voltage monitoring module are all connected to the processing unit. The current monitoring module and the voltage monitoring module are used to sample the voltage value and the current value of the power grid respectively and transmit them to the processing unit. The processing unit is used to perform cleaning and processing on the collected voltage value or current value of the power grid, and then compare the voltage value of the power grid or the current value of the urban power grid after cleaning and processing with the voltage limit value or current limit value set in advance. If the voltage value of the power grid or the current value of the power grid after cleaning and processing exceeds the voltage limit value or current limit value set in advance, the processing unit will let the alarm unit alarm, so as to achieve the monitoring of the power grid information in the target area;
[0067] Among them, the sub-units running on the processing unit include:
[0068] A queue subunit, which is used to obtain a power grid information queue;
[0069] Amplitude subunit, which is used to obtain the unreasonable amplitude of each reference time point of each lost time point;
[0070] A complement subunit, which is used to calibrate the complement value of the voltage value of the starting power grid at each missing time point, and obtain the complement value of the voltage value of the final power grid at each missing time point;
[0071] A clearing subunit is used to supplement the voltage value of the power grid at the time of loss according to the supplement value of the voltage value of the last power grid, and to supplement the voltage value of the urban power grid at the time of loss according to the supplement value of the current value of the starting power grid obtained at the time of loss when the current value is actually lost, so as to obtain a complete power grid information queue, clear the noise value of the complete urban power grid information queue, and obtain the target power grid information sequence.
[0072] According to an embodiment of the present invention, a power grid monitoring device for implementing the above power grid monitoring method is also provided. Figure 4 is a structural block diagram of a power grid monitoring device provided according to an embodiment of the present invention. Figure 4 As shown, the power grid monitoring device includes: an acquisition module 402, a first determination module 404, a second determination module 406, a third determination module 408, a completion module 410, a removal module 412 and a monitoring module 414. The power grid monitoring device is described below.
[0073] The acquisition module 402 is used to acquire a power grid information sequence of a target area, wherein the power grid information sequence is arranged based on a time sequence.
[0074] The first determining module 404 is connected to the acquiring module 402 and is used to determine the time when there is missing data in the power grid information sequence as the missing time point.
[0075] The second determining module 406 is connected to the first determining module 404 and is used to determine multiple adjacent moments of the lost time point as multiple reference time points.
[0076] The third determination module 408 is connected to the second determination module 406, and is used to determine the unreasonable amplitudes corresponding to the multiple reference time points respectively based on the power grid information data corresponding to the multiple reference time points respectively.
[0077] The completion module 410 is connected to the third determination module 408, and is used to complete the missing data based on the unreasonable amplitudes corresponding to the multiple reference time points and the power information data corresponding to the multiple reference time points to obtain a complete power grid information sequence.
[0078] The removal module 412 is connected to the completion module 410 and is used to remove abnormal data in the complete power grid information sequence to obtain a target power grid information sequence.
[0079] The monitoring module 414 is connected to the removal module 412 and is used to monitor the power grid in the target area based on the target power grid information sequence.
[0080] It should be noted that the acquisition module 402, the first determination module 404, the second determination module 406, the third determination module 408, the completion module 410, the removal module 412 and the monitoring module 414 correspond to steps S202 to S214 in the embodiment, and the examples and application scenarios implemented by the multiple modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above embodiment. It should be noted that the above modules, as part of the device, can be run in the computer terminal 10 provided in the embodiment.
[0081] An embodiment of the present invention may provide a computer device. Optionally, in this embodiment, the computer device may be located in at least one network device among multiple network devices of a computer network. The computer device includes a memory and a processor.
[0082] Among them, the memory can be used to store software programs and modules, such as program instructions / modules corresponding to the power grid monitoring method and device in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned power grid monitoring method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories can be connected to the computer terminal 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.
[0083] The processor can call the information and application programs stored in the memory through the transmission device to execute the following steps: obtain the power grid information sequence of the target area, wherein the power grid information sequence is arranged based on time order; determine the moment when there is missing data in the power grid information sequence as the missing time point; determine multiple adjacent moments of the missing time point as multiple reference time points; based on the power grid information data corresponding to each of the multiple reference time points, determine the unreasonable amplitudes corresponding to each of the multiple reference time points; based on the unreasonable amplitudes corresponding to each of the multiple reference time points and the power information data corresponding to each of the multiple reference time points, fill in the missing data to obtain a complete power grid information sequence; remove abnormal data in the complete power grid information sequence to obtain a target power grid information sequence; and monitor the power grid in the target area based on the target power grid information sequence.
[0084] Optionally, the processor may also execute the program code of the following steps: obtaining a power grid information sequence of the target area, including: obtaining current values and voltage values in the target area; and sorting the current values and voltage values corresponding to multiple moments according to the acquired time sequence to obtain a power grid information sequence.
[0085] Optionally, the processor may also execute program code for the following steps: based on power grid information data corresponding to each of the multiple reference time points, determine the unreasonable amplitudes corresponding to each of the multiple reference time points, wherein the power grid information data includes voltage values, including: determining a reduction queue corresponding to each of the multiple reference time points, wherein the reduction queue is determined by arranging in order of size according to the difference between the voltage value corresponding to the corresponding reference time point and the voltage values corresponding to other reference time points; selecting a preset number of moments in the reduction queue corresponding to each of the multiple reference time points as the information fitting points corresponding to each of the multiple reference time points; determining the unreasonable amplitudes corresponding to each of the multiple reference time points according to the difference between the voltage values corresponding to the multiple reference time points and the voltage values corresponding to the corresponding information fitting points.
[0086] Optionally, the processor may also execute program code for the following steps: determining unreasonable amplitudes corresponding to each of the multiple reference time points based on differences between voltage values corresponding to the multiple reference time points and voltage values corresponding to the respective information fitting points, including: determining adjacent voltage decrements corresponding to each of the multiple reference time points, wherein the adjacent voltage decrements are the differences between the voltage values corresponding to the corresponding reference time point and the voltage values corresponding to the previous reference time point; determining unreasonable amplitudes corresponding to each of the multiple reference time points based on adjacent voltage decrements corresponding to each of the multiple reference time points and differences between voltage values corresponding to the multiple reference time points and voltage values corresponding to the respective information fitting points.
[0087] Optionally, the processor may also execute program code for the following steps: based on the unreasonable amplitudes corresponding to each of the multiple reference time points and the power information data corresponding to each of the multiple reference time points, the missing data is completed to obtain a complete power grid information sequence, including: dividing the multiple reference time points into front reference time points and rear reference time points, wherein the front reference time points are located before the lost time points and the rear reference time points are located after the lost time points; determining the front reference unreasonable criticality according to the sum of the unreasonable amplitudes corresponding to the front reference time points; determining the rear reference unreasonable criticality according to the sum of the unreasonable amplitudes corresponding to the rear reference time points; completing the missing data according to the front reference unreasonable criticality, the rear reference unreasonable criticality and the power information data corresponding to each of the multiple reference time points to obtain a complete power grid information sequence.
[0088] Optionally, the processor may also execute the program code of the following steps: based on the unreasonable amplitudes corresponding to multiple reference time points and the power information data corresponding to multiple reference time points, the missing data is completed to obtain a complete power grid information sequence, including: in the case where the voltage value corresponding to a missing time point is missing, based on the unreasonable amplitudes corresponding to multiple reference time points and the power information data corresponding to multiple reference time points, the initial completed voltage value and the initial completed current value corresponding to the missing time point are determined; according to the difference between the initial completed current value corresponding to the missing time point and the actual current value corresponding to the missing time point in the power information sequence, the current difference of the missing time point is determined; based on the current difference of the missing time point, the initial completed voltage value is corrected to obtain the target completed voltage value; based on the target completed voltage value, the missing data is completed to obtain a complete power grid information sequence.
[0089] By adopting an embodiment of the present invention, a method for monitoring a power grid is provided, which obtains a power grid information sequence of a target area, wherein the power grid information sequence is arranged based on time order; determines a moment when there is missing data in the power grid information sequence as a missing time point; determines multiple adjacent moments of the missing time point as multiple reference time points; based on the power grid information data corresponding to each of the multiple reference time points, determines the unreasonable amplitude corresponding to each of the multiple reference time points; based on the unreasonable amplitude corresponding to each of the multiple reference time points and the power information data corresponding to each of the multiple reference time points, fills the missing data to obtain a complete power grid information sequence; removes abnormal data in the complete power grid information sequence to obtain a target power grid information sequence; based on the target power grid information sequence, monitors the power grid in the target area, achieves the purpose of accurately removing abnormal information in the power grid information sequence, thereby realizing the technical effect of improving the monitoring effect of the power grid, and further solves the technical problem that when removing abnormal data when collecting power grid information, it is easy to remove the missing normal information, resulting in poor monitoring effect.
[0090] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a non-volatile storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0091] The embodiment of the present invention further provides a non-volatile storage medium. Optionally, in this embodiment, the non-volatile storage medium can be used to store the program code executed by the power grid monitoring method provided by the above embodiment.
[0092] Optionally, in this embodiment, the non-volatile storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0093] Optionally, in this embodiment, the non-volatile storage medium is configured to store program codes for executing the following steps: obtaining a power grid information sequence of a target area, wherein the power grid information sequence is arranged in chronological order; determining a moment at which missing data exists in the power grid information sequence as a missing time point; determining multiple adjacent moments of the missing time point as multiple reference time points; determining unreasonable amplitudes corresponding to each of the multiple reference time points based on the power grid information data corresponding to each of the multiple reference time points; completing the missing data based on the unreasonable amplitudes corresponding to each of the multiple reference time points and the power information data corresponding to each of the multiple reference time points to obtain a complete power grid information sequence; removing abnormal data from the complete power grid information sequence to obtain a target power grid information sequence; and monitoring the power grid in the target area based on the target power grid information sequence.
[0094] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: obtaining a power grid information sequence of the target area, including: obtaining current values and voltage values in the target area; sorting the current values and voltage values corresponding to multiple moments according to the time sequence of acquisition to obtain a power grid information sequence.
[0095] Optionally, in this embodiment, the non-volatile storage medium is configured to store program codes for executing the following steps: based on power grid information data corresponding to each of the multiple reference time points, determining the unreasonable amplitudes corresponding to each of the multiple reference time points, the power grid information data including voltage values, including: determining a reduction queue corresponding to each of the multiple reference time points, wherein the reduction queue is determined by arranging in order of size according to the difference between the voltage value corresponding to the corresponding reference time point and the voltage values corresponding to other reference time points; selecting a preset number of moments in the reduction queue corresponding to each of the multiple reference time points as the information fitting points corresponding to each of the multiple reference time points; determining the unreasonable amplitudes corresponding to each of the multiple reference time points according to the difference between the voltage values corresponding to the multiple reference time points and the voltage values corresponding to the corresponding information fitting points.
[0096] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: determining the unreasonable amplitudes corresponding to each of the multiple reference time points based on the difference between the voltage values corresponding to the multiple reference time points and the voltage values corresponding to the respective information fitting points, including: determining the adjacent voltage decrements corresponding to each of the multiple reference time points, wherein the adjacent voltage decrements are the difference between the voltage value corresponding to the corresponding reference time point and the voltage value corresponding to the previous reference time point; determining the unreasonable amplitudes corresponding to each of the multiple reference time points based on the adjacent voltage decrements corresponding to each of the multiple reference time points and the difference between the voltage values corresponding to the multiple reference time points and the voltage values corresponding to the respective information fitting points.
[0097] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: based on the unreasonable amplitudes corresponding to each of the multiple reference time points and the power information data corresponding to each of the multiple reference time points, the missing data is completed to obtain a complete power grid information sequence, including: dividing the multiple reference time points into a front reference time point and a rear reference time point, wherein the front reference time point is located before the lost time point and the rear reference time point is located after the lost time point; determining the front reference unreasonable criticality according to the sum of the unreasonable amplitudes corresponding to the front reference time point; determining the rear reference unreasonable criticality according to the sum of the unreasonable amplitudes corresponding to the rear reference time point; completing the missing data according to the front reference unreasonable criticality, the rear reference unreasonable criticality and the power information data corresponding to each of the multiple reference time points to obtain a complete power grid information sequence.
[0098] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: based on the unreasonable amplitudes corresponding to each of multiple reference time points and the power information data corresponding to each of the multiple reference time points, the missing data is completed to obtain a complete power grid information sequence, including: in the case where the voltage value corresponding to the missing time point is missing, based on the unreasonable amplitudes corresponding to each of the multiple reference time points and the power information data corresponding to each of the multiple reference time points, the initial completed voltage value and the initial completed current value corresponding to the missing time point are determined; according to the difference between the initial completed current value corresponding to the missing time point and the actual current value corresponding to the missing time point in the power information sequence, the current difference of the missing time point is determined; based on the current difference of the missing time point, the initial completed voltage value is corrected to obtain a target completed voltage value; based on the target completed voltage value, the missing data is completed to obtain a complete power grid information sequence.
[0099] An embodiment of the present invention also provides a computer program product, including a computer program. Optionally, in this embodiment, when the computer program is executed by a processor, it can achieve: obtaining a power grid information sequence of a target area, wherein the power grid information sequence is arranged in chronological order; determining a moment when there is missing data in the power grid information sequence as a missing time point; determining multiple adjacent moments of the missing time point as multiple reference time points; based on the power grid information data corresponding to each of the multiple reference time points, determining the unreasonable amplitudes corresponding to each of the multiple reference time points; based on the unreasonable amplitudes corresponding to each of the multiple reference time points and the power information data corresponding to each of the multiple reference time points, completing the missing data to obtain a complete power grid information sequence; removing abnormal data in the complete power grid information sequence to obtain a target power grid information sequence; and monitoring the power grid of the target area based on the target power grid information sequence.
[0100] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0101] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0102] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0103] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0104] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0105] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0106] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A power grid monitoring method, characterized in that: include: Acquire a power grid information sequence of a target area, wherein the power grid information sequence is arranged based on a time sequence; Determine the time when missing data exists in the power grid information sequence as a missing time point; Determine multiple adjacent moments of the lost time point as multiple reference time points; Based on the power grid information data corresponding to each of the multiple reference time points, determining the unreasonable amplitudes corresponding to each of the multiple reference time points; Based on the unreasonable amplitudes corresponding to the multiple reference time points and the power information data corresponding to the multiple reference time points, the missing data is completed to obtain a complete power grid information sequence; Removing abnormal data from the complete power grid information sequence to obtain a target power grid information sequence; Based on the target power grid information sequence, the power grid in the target area is monitored.
2. The method according to claim 1, characterized in that The step of acquiring the power grid information sequence of the target area includes: Acquiring current and voltage values in the target area; According to the acquired time sequence, the current values and voltage values corresponding to multiple moments are sorted to obtain the power grid information sequence.
3. The method according to claim 1, characterized in that The determining of the unreasonable amplitudes corresponding to the plurality of reference time points based on the power grid information data corresponding to the plurality of reference time points, wherein the power grid information data includes a voltage value, comprises: Determine a decrement queue corresponding to each of the multiple reference time points, wherein the decrement queue is determined in order of magnitude according to a difference between a voltage value corresponding to a corresponding reference time point and voltage values corresponding to other reference time points; Selecting a preset number of moments in the reduction queue corresponding to each of the multiple reference time points as the information fitting points corresponding to each of the multiple reference time points; The unreasonable amplitudes corresponding to the multiple reference time points are determined according to differences between the voltage values corresponding to the multiple reference time points and the voltage values corresponding to the corresponding information fitting points.
4. The method according to claim 3, characterized in that: The determining of the unreasonable amplitudes corresponding to the multiple reference time points according to the differences between the voltage values corresponding to the multiple reference time points and the voltage values corresponding to the corresponding information fitting points respectively includes: Determine the adjacent voltage decrements corresponding to each of the plurality of reference time points, wherein the adjacent voltage decrements are the difference between the voltage value corresponding to the corresponding reference time point and the voltage value corresponding to the previous reference time point; The unreasonable amplitudes corresponding to each of the multiple reference time points are determined according to the adjacent voltage decrements corresponding to each of the multiple reference time points and the differences between the voltage values corresponding to the multiple reference time points and the voltage values corresponding to the corresponding information fitting points.
5. The method according to claim 1, characterized in that The method of filling the missing data based on the unreasonable amplitudes corresponding to the multiple reference time points and the power information data corresponding to the multiple reference time points to obtain a complete power grid information sequence includes: Dividing the multiple reference time points into front reference time points and rear reference time points, wherein the front reference time points are located before the lost time points, and the rear reference time points are located after the lost time points; Determining the unreasonable criticality of the previous benchmark according to the sum of the unreasonable amplitudes corresponding to the previous benchmark time points; Determining the unreasonable criticality of the post-reference according to the sum of the unreasonable amplitudes corresponding to the post-reference time points; According to the previous benchmark unreasonable criticality, the subsequent benchmark unreasonable criticality and the power information data corresponding to each of the multiple benchmark time points, the missing data is completed to obtain the complete power grid information sequence.
6. The method according to claim 1, characterized in that The method of filling the missing data based on the unreasonable amplitudes corresponding to the multiple reference time points and the power information data corresponding to the multiple reference time points to obtain a complete power grid information sequence includes: In the case where the voltage value corresponding to the lost time point is missing, based on the unreasonable amplitudes corresponding to the multiple reference time points and the power information data corresponding to the multiple reference time points, determining the initial complementary voltage value and the initial complementary current value corresponding to the lost time point; Determine the current difference at the missing time point according to the difference between the initial supplemented current value corresponding to the missing time point and the actual current value corresponding to the missing time point in the power information sequence; Based on the current difference at the missing time point, the initial complementary voltage value is corrected to obtain a target complementary voltage value; Based on the target completed voltage value, the missing data is completed to obtain the complete power grid information sequence.
7. A power grid monitoring device, characterized in that: include: An acquisition module, used for acquiring a power grid information sequence of a target area, wherein the power grid information sequence is arranged based on a time sequence; A first determination module is used to determine the time when missing data exists in the power grid information sequence as a missing time point; A second determining module is used to determine multiple adjacent moments of the lost time point as multiple reference time points; A third determination module is used to determine the unreasonable amplitudes corresponding to each of the multiple reference time points based on the power grid information data corresponding to each of the multiple reference time points; A completion module, configured to complete the missing data based on the unreasonable amplitudes corresponding to the multiple reference time points and the power information data corresponding to the multiple reference time points to obtain a complete power grid information sequence; A removal module, used to remove abnormal data in the complete power grid information sequence to obtain a target power grid information sequence; A monitoring module is used to monitor the power grid in the target area based on the target power grid information sequence.
8. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute the power grid monitoring method according to any one of claims 1 to 6.
9. A computer device, characterized in that: include: Memory and processor, The memory stores a computer program; The processor is used to execute the computer program stored in the memory, and when the computer program is run, the processor executes the power grid monitoring method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the power grid monitoring method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Service data processing method and device, network management server and storage medium
CN112445835A
Power distribution network data cleaning method and device
CN112988728A
Time series data monitoring method and device, electronic equipment and nonvolatile storage medium
CN116821661A
Electricity consumption information preprocessing device and method for smart park collection
CN117951502A
Power grid information analyzing, checking and processing device and method based on polymorphism
CN119324576A
