Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
It should be noted that: in the description of the embodiments of the present invention, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not intended to indicate or imply relative importance.
Example one
Fig. 1 is a flowchart of an automatic checking method for electric energy data according to an embodiment of the present invention, where the embodiment is applicable to a case where operation data is automatically checked in an electric power dispatching system, the method may be executed by an automatic checking device for electric energy data, the automatic checking device for electric energy data may be implemented by software and/or hardware, and may be configured in a computer device, such as a server, a workstation, a personal computer, and the like, and the method specifically includes the following steps:
s110, in the T-th period, first input electric energy data received by the transformer substation from a power supply side in the T-1 th period and first output electric energy data distributed to users are obtained.
The period in this embodiment may be any one of year, month, and day, and the minimum unit of the period may be day.
In this embodiment, the electric energy data acquired by the substation from the power supply side is defined as input electric energy data, and the electric energy data distributed by the substation to the user is output electric energy data. The current should be the same voltage level or converted to the same voltage level.
In an example, taking a cycle as an example, in a certain fixed time period of the day, first input electric energy data received by the substation from a power supply side in the previous day and first output electric energy data distributed to users may be automatically obtained from the power scheduling system, and the first input electric energy data and the first output electric energy data are collated, so that the data successfully collated is stored in a data call library of the day for standby of the substation on the day. However, before acquiring the complete first input electric energy data and the complete first output electric energy data generated in the previous day, it needs to be ensured that the power dispatching system can complete the complete reading, calculation and storage of the original data of two different sources, and finally generate the first input electric energy data and the first output electric energy data.
It should be noted that, in this embodiment, the first input electric energy data may be obtained from 220kV main transformer high-switch intervals of each substation, a traction station outgoing line switch interval, and a local power plant main transformer high-switch interval, and the first output electric energy data may be obtained from 10kV feeder switch intervals of each substation and load switch intervals in each traction station, where the intervals refer to electric units including multiple electric devices and having connection lines in the substation, theoretically, the first input electric energy data should be equal to the first output electric energy data, and in consideration of various losses and station power consumption, in combination with long-term operation data statistics, the ratio of the first output electric energy data to the first input electric energy data should be between 1 and 0.98.
In one embodiment, a fixed time period may be set within the tth period; in the time period, respectively inquiring a first updating state of the first input electric energy data and a second updating state of the first output electric energy data according to a preset frequency, for example, the first updating state of the first input electric energy data and the second updating state of the first output electric energy data can be detected every 1 minute, so that the updating states of the two data can be fed back in time, and whether the two complete data can be obtained in a fixed time period is judged; if the first updating state and the second updating state are both updating success states, automatically acquiring the first input electric energy data and the first output electric energy data from the power dispatching system; and otherwise, prompting manual inquiry of the first input electric energy data and the first output electric energy data, namely if the first updating state and the second updating state are always in an un-updated state or in an updating failure state within a fixed time period, preliminarily judging that a communication link of the power dispatching system fails, prompting manual data inquiry, and acquiring the first input electric energy data received from a power supply side and the first output electric energy data distributed to a user within the T-1 cycle by a manual inquiry means.
And S120, judging whether the first input electric energy data and the first output electric energy data meet a preset data fluctuation condition.
The preset data fluctuation condition comprises a target data fluctuation range.
In one embodiment, a first data fluctuation range of the first input power data may be determined; determining a second data fluctuation range of the first output power data; respectively judging whether the first data fluctuation range and the second data fluctuation range are located in the target data fluctuation range; if yes, determining that the first input electric energy data and the first output electric energy data which are automatically acquired from the power dispatching system both meet the data fluctuation condition; if not, judging that the first input electric energy data and the first output electric energy data which are automatically acquired from the power dispatching system are fault data, and prompting manual inquiry of the first input electric energy data and the first output electric energy data.
In a specific implementation, determining the first data fluctuation range of the first input power data may include: calculating the maximum difference and the minimum difference between the first input electric energy data and the target input electric energy value to obtain a first data fluctuation range; meanwhile, the determining the second data fluctuation range of the first output power data may also include: and calculating the maximum difference and the minimum difference between the first output electric energy data and the target output electric energy value to obtain a second data fluctuation range. It should be noted that, in this embodiment, no limitation is made to the implementation manner of determining the first data fluctuation range and determining the second data fluctuation range.
S130, if the first input electric energy data and the first output electric energy data both meet the data fluctuation condition, evaluating the stability degree of the dispatching power utilization of the transformer substation in the jurisdiction area according to a first difference and a second difference, and determining whether the first input electric energy data and the first output electric energy data are legal or not.
The first difference is the electric energy loss of the transformer substation in the T-1 period, and the second difference is the electric quantity change of the electric quantity of the transformer substation in the T-1 period relative to the electric quantity in the T-2 period.
In this embodiment, since both the first input electric energy data and the first output electric energy data may be acquired from measurement and control devices at intervals of the transformer substation, if communication interruption and telemechanical interruption of the measurement and control devices occur, data will not change (dead number). When it is determined that both the first input electric energy data and the first output electric energy data automatically acquired from the power dispatching system satisfy the data fluctuation condition, it may be indicated that the communication process of data acquisition is not interrupted, the data is constantly updated and changed, and the first input electric energy data and the first output electric energy data acquired at this time may be regarded as valid data. And then, analyzing the difference between the two types of data based on the effective first input electric energy data and the effective first output electric energy data, determining the electric energy loss of the power distribution and transmission of the transformer substation, and further determining the adaptation degree of the transformer substation for dispatching the power for the users belonging to the jurisdiction of the transformer substation by combining the input and output electric energy data of the transformer substation in the T-2 th period.
In one embodiment, the evaluating the stability of the power dispatching of the substation in the jurisdiction area according to the first difference and the second difference to determine whether the first input electric energy data and the first output electric energy data are legal may include the following specific steps:
calculating a first difference between the first input power data and the first output power data, wherein the first difference may represent power loss of the substation in a T-1 cycle; in general, because the power consumption of users in the range governed by the substation is relatively fixed, except holidays, the power loss of the substation in each period has little difference and fluctuates within a certain threshold range.
Therefore, the first difference value may be compared with a preset first threshold, and whether the first input power data and the first output power data are reliable may be preliminarily determined according to a comparison result. The preset first threshold value may take an empirical value of ± 2%.
If the first difference is smaller than or equal to a preset first threshold, second input electric energy data received by the substation from a power supply side in a T-2 th period are obtained, and a second difference between the first input electric energy data and the second input electric energy data is calculated, wherein the second difference can represent the electric quantity change of the electric quantity of the substation in the T-1 th period relative to the electric quantity in the T-2 th period.
Considering that the first input electric energy data is generally obtained from a 220kV switch interval, the measurement and control precision of the interval is high, and the error is small, the first input electric energy data is reserved as standby data, the first input electric energy data is checked again, and the first input electric energy data is compared with the second input electric energy data. The electric energy data of the transformer substation in the T-2 period is selected to avoid that the first input electric energy data passes through checking under the condition of extremely low probability (the difference between the first input electric energy data and the first output electric energy data is +/-2% when the first input electric energy data and the first output electric energy data are abnormal at the same time), so that the comparison of the electric energy data in the T-2 period is increased.
Further, if the first difference is larger than the first threshold, prompting manual inquiry of first input electric energy data and first output electric energy data, and calculating a second difference between the first input electric energy data acquired after the manual inquiry and second input electric energy data received by the transformer substation from the power supply side in the T-2 th period.
After the second difference value is obtained through calculation, the second difference value is compared with a preset second threshold value; the second threshold may take an empirical value of ± 5%.
And if the second difference is smaller than or equal to a preset second threshold, determining the first input electric energy data and the first output electric energy data.
And if the second difference is larger than the second threshold, judging whether the first input electric energy data and the first output electric energy data are local power plant data. Because local power plants are small hydropower stations, wind power plants and biomass power plants, the daily output changes greatly, so that the input electric energy data acquired by the transformer substation in any two adjacent periods all change greatly, and at the moment, if a second difference between the first input electric energy data and the second input electric energy data is calculated, the second difference also belongs to a value with large data change.
Further, if the first input electric energy data and the first output electric energy data are confirmed to be the local power plant data, whether the T-1 th period and the T-2 th period contain holidays or not is further judged. Because the load change of the transformer substation in holidays in the jurisdiction area is large, the situation that the load exceeds +/-5% on the same scale is normal.
And if the T-1 th period and the T-2 th period both contain holidays, determining that the first input electric energy data and the first input electric energy data are legal.
In this embodiment, the method further includes:
if the first input electric energy data and the first output electric energy data are determined to be legal, storing the first input electric energy data and the first output electric energy data in the Tth period of the transformer substation;
and if the first input electric energy data and the first output electric energy data are determined to be both illegal, prompting the manual review of the first input electric energy data and the first output electric energy data.
According to the technical scheme of the embodiment, in the T-th period, first input electric energy data received by a transformer substation from a power supply side in the T-1 th period and first output electric energy data distributed to a user are obtained; judging whether the first input electric energy data and the first output electric energy data meet a preset data fluctuation condition or not; if the first input electric energy data and the first output electric energy data both meet the data fluctuation condition, evaluating the stability degree of the dispatching power utilization of the transformer substation in the jurisdiction area according to the first difference and the second difference, and determining whether the first input electric energy data and the first output electric energy data are legal or not; the first difference is the electric energy loss of the transformer substation in the T-1 period, and the second difference is the electricity quantity change of the electricity consumption of the transformer substation in the T-1 period relative to the electricity consumption in the T-2 period. The problems that a large amount of electric energy data are checked in an existing electric power system, checking efficiency is low, accuracy is low can be solved, workload of data checking can be reduced, working efficiency is improved, and high checking precision is kept.
Example two
Fig. 2 is a schematic structural diagram of an automatic checking apparatus for electric energy data according to a second embodiment of the present invention, where the apparatus may specifically include the following modules:
thedata acquisition module 201 is configured to acquire, in a T-th cycle, first input electric energy data received by the substation from a power supply side in a T-1 th cycle and first output electric energy data distributed to a user;
adata determining module 202, configured to determine whether the first input electric energy data and the first output electric energy data meet a preset data fluctuation condition, and if both the first input electric energy data and the first output electric energy data meet the data fluctuation condition, call a data evaluating module;
thedata evaluation module 203 is configured to evaluate the stability of the dispatching power utilization of the transformer substation in the jurisdiction area according to the first difference and the second difference, and determine whether the first input electric energy data and the first output electric energy data are legal; the first difference is the electric energy loss of the transformer substation in the T-1 period, and the second difference is the electric quantity change of the electric quantity of the transformer substation in the T-1 period relative to the electric quantity in the T-2 period.
In an embodiment of the present invention, thedata obtaining module 201 includes:
the time setting submodule is used for setting a fixed time period in the Tth period;
the query submodule is used for respectively querying a first updating state of the first input electric energy data and a second updating state of the first output electric energy data according to a preset frequency in the time period;
and the data acquisition submodule is used for acquiring the first input electric energy data and the first output electric energy data if the first updating state and the second updating state are both updating success states.
In one embodiment of the present invention, the preset data fluctuation condition includes a target data fluctuation range; thedata determining module 202 includes:
the first determining submodule is used for determining a first data fluctuation range of the first input electric energy data;
the second determining submodule is used for determining a second data fluctuation range of the first output electric energy data;
the judgment submodule is used for respectively judging whether the first data fluctuation range and the second data fluctuation range are positioned in the target data fluctuation range, and if so, calling the condition-conforming submodule;
and the condition conformity submodule is used for determining that the first input electric energy data and the first output electric energy data both meet the data fluctuation condition.
In one embodiment of the present invention, the preset data fluctuation condition includes a target input electric energy value and a target output electric energy value; the first determination submodule includes:
a first determining unit for calculating a maximum difference and a minimum difference between the first input electric energy data and the target input electric energy value to obtain a first data fluctuation range
The second determination submodule includes:
and the second determining unit is used for calculating the maximum difference and the minimum difference between the first output electric energy data and the target output electric energy value to obtain a second data fluctuation range.
In one embodiment of the present invention, thedata evaluation module 203 comprises:
a first difference calculation submodule configured to calculate a first difference between the first input electric energy data and the first output electric energy data;
the second difference calculation submodule is used for acquiring second input electric energy data received by the transformer substation from a power supply side in a T-2 th period if the first difference is smaller than or equal to a preset first threshold, calculating a second difference between the first input electric energy data and the second input electric energy data, and calling if the second difference is smaller than or equal to a preset second threshold;
and the first legality determining submodule is used for determining that the first input electric energy data and the first output electric energy data are legal.
In one embodiment of the invention, the apparatus further comprises:
the manual query submodule is used for prompting manual query of first input electric energy data and first output electric energy data if the first difference is larger than the first threshold, calculating a second difference between the first input electric energy data and the second input electric energy data, and calling if the second difference is larger than the second threshold;
the local power plant data determining submodule is used for judging whether the first input power data and the first output power data are local power plant data or not, and calling the holiday determining submodule if the first input power data and the first output power data are confirmed to be the local power plant data;
a holiday determining submodule for further judging whether the T-1 th period and the T-2 th period contain holidays;
and the second legality determining submodule is used for determining that the first input electric energy data and the first input electric energy data are legal if the T-1 th period and the T-2 th period both contain holidays.
The automatic checking device for the electric energy data provided by the embodiment of the invention can execute the automatic checking method for the electric energy data provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a computer device according to a third embodiment of the present invention. FIG. 3 illustrates a block diagram of anexemplary computer device 12 suitable for use in implementing embodiments of the present invention. Thecomputer device 12 shown in FIG. 3 is only an example and should not impose any limitation on the scope of use or functionality of embodiments of the present invention.
As shown in FIG. 3,computer device 12 is in the form of a general purpose computing device. The components ofcomputer device 12 may include, but are not limited to: one or more processors orprocessing units 16, asystem memory 28, and abus 18 that couples various system components including thesystem memory 28 and theprocessing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible bycomputer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Thesystem memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/orcache memory 32.Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only,storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 3, and commonly referred to as a "hard drive"). Although not shown in FIG. 3, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected tobus 18 by one or more data media interfaces.Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) ofprogram modules 42 may be stored, for example, inmemory 28,such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment.Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device,display 24, etc.), with one or more devices that enable a user to interact withcomputer device 12, and/or with any devices (e.g., network card, modem, etc.) that enablecomputer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O)interface 22. Also,computer device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) vianetwork adapter 20. As shown,network adapter 20 communicates with the other modules ofcomputer device 12 viabus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction withcomputer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Theprocessing unit 16 executes various functional applications and data processing by executing programs stored in thesystem memory 28, for example, implementing an automatic verification method of power data provided by an embodiment of the present invention.
Example four
An embodiment of the present invention further provides a computer storage medium, where a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the method for automatically checking electric energy data according to any one of the above embodiments is implemented.
The automatic checking method of the electric energy data comprises the following steps:
in the T-th period, acquiring first input electric energy data received by the transformer substation from a power supply side in the T-1 th period and first output electric energy data distributed to users;
judging whether the first input electric energy data and the first output electric energy data meet a preset data fluctuation condition or not;
if the first input electric energy data and the first output electric energy data both meet the data fluctuation condition, evaluating the stability degree of the dispatching power utilization of the transformer substation in the jurisdiction area according to a first difference and a second difference, and determining whether the first input electric energy data and the first output electric energy data are legal or not; the first difference is the electric energy loss of the transformer substation in the T-1 period, and the second difference is the electric quantity change of the electric quantity of the transformer substation in the T-1 period relative to the electric quantity in the T-2 period.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.