Disclosure of Invention
The invention provides a power failure identification method based on electric power big data for solving the technical problems, and power failure identification can be conveniently and accurately realized.
The technical scheme adopted by the invention is as follows:
a power failure identification method based on electric power big data comprises the following steps: acquiring the daily operation time of the metering terminal; judging whether the daily running time is less than a preset time or not; if the daily running time is less than the preset time, collecting power failure and power restoration alarm information, and acquiring voltage and current data and electric quantity data; and identifying power failure according to the power failure and restoration alarm information, the voltage and current data and the electric quantity data.
According to stop to answer a telegram and report to the police information, voltage current data and electric quantity data carry out the power failure and discern, specifically include: judging whether the power failure and restoration alarm information is collected or not; if the power failure and restoration alarm information is collected, judging whether the power failure and restoration alarm information is effective or not according to the voltage and current data; if the power failure recovery warning information is effective, determining power failure starting and stopping time according to the power failure recovery warning information; if the power failure recovery warning information is invalid or the power failure recovery warning information is not acquired, determining power failure starting and stopping time according to the voltage and current data; after the power failure starting and stopping time is determined, judging whether the power failure is effective power failure or not according to the electric quantity data; and if the power failure is effective, recording the power failure data of the power failure.
Judging whether the power failure and restoration alarm information is effective according to the voltage and current data, which specifically comprises the following steps: if valid voltage and current curve data exist at a time point immediately after the time point of collecting the power failure warning information, judging that the power failure warning information is invalid, otherwise, judging that the power failure warning information is valid; and if the effective voltage and current curve data exists at the time point immediately before the time point of the power restoration warning information, judging that the power restoration warning information is invalid, otherwise, judging that the power restoration warning information is effective.
Determining the power failure starting and stopping time according to the voltage and current data, and specifically comprising the following steps: and if the three-phase current-voltage curve is abnormal, adding a first preset time length to the moment when the first normal voltage data appears as the power failure moment, and subtracting a second preset time length from the first moment after the normal voltage data is recovered as the power restoration moment.
The power failure data includes the judgement basis and the power failure start-stop time of this power failure, according to whether this power failure is effective power failure is judged to the electric quantity data, specifically includes: calculating the average value of the electric quantity in the starting and stopping time of the power failure according to the average value of the electric quantity of the third preset time before the power failure time, and comparing the average value of the electric quantity and the electric quantity; and if the average value of the electric quantity in the starting and stopping time of the power failure is smaller than the average value of the electric quantity in the third preset time, judging that the power failure is effective power failure, otherwise, judging that the power failure is ineffective power failure.
According to stop to answer a telegram and report to the police information, voltage current data and electric quantity data carry out the power failure and discern, specifically include: giving corresponding weights to whether the power failure and restoration alarm information, the voltage and current data and the electric quantity data are collected or not; calculating a power failure score according to whether the power failure warning information, the voltage and current data, the electric quantity data and respective corresponding weights are acquired; and judging whether to stop power supply and determining the power failure starting and stopping time according to the power failure score.
Calculating a power failure score value, specifically comprising: assigning values for judging whether the power failure and restoration alarm information, the voltage and current data and the electric quantity data are collected or not; and calculating whether the product of the value of the power failure and the weight thereof, the product of the value of the voltage and the weight thereof and the product of the value of the electric quantity data and the value assigned to the electric quantity data and the product of the weight thereof are acquired or not, and summing the calculated products to obtain the power failure score value.
The invention has the beneficial effects that:
according to the invention, the power failure identification can be conveniently and accurately realized by acquiring the daily running time of the metering terminal, acquiring the power failure and restoration alarm information when the daily running time is less than the preset time, acquiring the voltage and current data and the electric quantity data, and carrying out power failure identification according to the power failure and restoration alarm information, the voltage and current data and the electric quantity data.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, the power outage identification method based on the big power data in the embodiment of the present invention includes the following steps:
and S1, acquiring the daily operation time of the metering terminal.
In one embodiment of the invention, the daily operation time defaults to 0 if the data related to the daily operation time is not acquired, and defaults to-10000 if the acquired daily operation time data is invalid. And for the situation that the metering terminal does not have the function of acquiring the daily running time, the daily running time is 0.
And S2, judging whether the daily running time is less than the preset time.
In one embodiment of the present invention, the predetermined time may be 1425 minutes.
And S3, if the daily running time is less than the preset time, acquiring the power failure and restoration alarm information, and acquiring voltage and current data and electric quantity data.
In one embodiment of the invention, the power outage and restoration alarm information comprises power outage alarm information and power restoration alarm information which respectively have corresponding data codes. Wherein, the power failure alarm information and the power restoration alarm information are collected and can be called as double-side alarm; only the power failure alarm information or the power restoration alarm information is collected, which can be called single-side alarm.
In one embodiment of the present invention, the voltage-current data may include a voltage-current curve, and the charge data may be a charge value over a certain period of time.
And S4, power failure identification is carried out according to the power failure and restoration alarm information, the voltage and current data and the electric quantity data.
In an embodiment of the present invention, as shown in fig. 2, after determining that the daily operation time is less than the preset time, the following steps may be performed: judging whether power failure and restoration alarm information is collected or not; if the power failure and restoration alarm information is collected, judging whether the power failure and restoration alarm information is effective or not according to the voltage and current data; if the power failure and power restoration warning information is effective, determining the power failure starting and stopping time according to the power failure and power restoration warning information; if the power failure recovery warning information is invalid or the power failure recovery warning information is not acquired, determining the power failure starting and stopping time according to the voltage and current data; after the power failure starting and stopping time is determined, judging whether the power failure is effective power failure or not according to the electric quantity data; and if the power failure is effective, recording the power failure data of the power failure.
After the power failure and power restoration warning information is collected, if the time point of collecting the power failure warning information is a time point immediately after the current point, for example, 15 minutes of the current point has valid voltage and current curve data, the power failure warning information is judged to be invalid, and otherwise, the power failure warning information is judged to be valid; and if the effective voltage and current curve data exists at the time point immediately before the time point of the power restoration warning information, judging that the power restoration warning information is invalid, otherwise, judging that the power restoration warning information is effective. For the condition that the power failure alarm information and the power restoration alarm information are both effective, the method can be called as effective bilateral alarm; the condition that only the power failure alarm information or the power restoration alarm information is effective can be called as effective single-side alarm. If effective alarms are received for multiple times within 15 minutes, the first alarm information is taken for subsequent processing.
When the power failure and power restoration alarm information is judged to be effective, namely the power failure alarm information and the power restoration alarm information are both effective, the power failure starting and stopping time can be determined according to the time information carried by the power failure alarm information and the power restoration alarm information, namely the time for sending the power failure alarm information and the time for sending the power restoration alarm information.
When the power restoration stopping warning information is judged to be invalid or the power restoration stopping warning information is not acquired, if the three-phase current voltage curve is abnormal, adding a first preset time length to the time when the first normal voltage data appears as a power failure time, and subtracting a second preset time length from the first time when the normal voltage data is recovered as a power restoration time. The three-phase current-voltage curve is not counted as power failure as long as one phase is normal, and the load data is judged to be abnormal if the value of the load data is 0 or null or less than 60% of a rated value (the current is less than 60% of the starting current, and the starting current value is 10% of the rated current). In one embodiment of the present invention, the first preset time period and the second preset time period may be 8 minutes each. For the case of unilateral alarm, specifically, if only the power failure alarm information is acquired or only the power failure alarm information is valid, the time obtained by subtracting 8 minutes from the first time point with curve data within three days after the time point of acquiring the power failure alarm information can be used as the power restoration time; if only the power restoration alarm information is collected or only the power restoration alarm information is valid, the time of adding 8 minutes to the latest time point with curve data within three days before the time point of collecting the power restoration alarm information can be used as the power failure time.
After the power failure starting and stopping time is determined, the average value of the electric quantity in the power failure starting and stopping time can be calculated according to the average value of the electric quantity of the third preset time before the power failure time, the average value of the electric quantity in the power failure starting and stopping time is compared with the average value of the electric quantity of the third preset time, if the average value of the electric quantity in the power failure starting and stopping time is smaller than the average value of the electric quantity of the third preset time, the power failure is judged to be effective power failure, and if. In a specific embodiment of the present invention, the third preset duration is three days. In addition, whether the power failure is effective power failure or not can be judged according to the power failure time length, specifically, if the power failure time length is within 44 minutes to 72 hours, the power failure is judged to be effective power failure, and if the power failure time length is less than 44 minutes or exceeds 72 hours, the power failure is judged to be ineffective power failure.
The recorded power failure data comprises judgment basis (including double-side alarm, single-side alarm and curve abnormity) of the power failure and power failure starting and stopping time, and the power failure data can be stored in a database.
In addition, in the case where one identification object has a plurality of metering terminals, for example, when one transformer corresponds to a plurality of electric energy meters, if it is identified that no effective power failure occurs according to any one electric energy meter, it is determined that no power failure occurs; if an effective power outage is identified according to the plurality of electric energy meters, the power outage start-stop time can be the intersection of the power outage times determined according to the plurality of electric energy meters. The single-phase electric energy meter does not participate in the judgment of the curve data, and the auxiliary meter, the metering point which does not participate in the system analysis object model and the metering point with incomplete rated current and voltage data do not participate in the power failure identification.
In another embodiment of the invention, after the daily running time is judged to be less than the preset time, corresponding weights are given to whether the power failure and power restoration warning information, the voltage and current data and the power quantity data are collected or not, a power failure score value is calculated according to whether the power failure and power restoration warning information, the voltage and current data and the power quantity data are collected or not and the corresponding weights, and whether power failure occurs or not and power failure starting and stopping time is determined according to the power failure score value.
The rule for calculating the power failure score value is as follows: assigning values for whether power failure and restoration alarm information, voltage and current data and electric quantity data are acquired; and calculating whether the product of the value of the power failure and the weight of the power failure alarm information, the product of the value of the voltage and current data and the weight of the voltage and current data and the value of the electric quantity data assignment and the product of the weight of the voltage and current data are acquired or not, and summing the calculated products to obtain a power failure score.
Specifically, a preset time period may be intercepted, and first, whether the power failure warning information and the voltage-current curve are abnormal or not are acquired within the preset time period is judged, and an electric quantity value within the preset time period is acquired. And assigning 1 to the collected power failure and restoration alarm information, assigning 1 to the voltage and current curve if abnormity occurs, and assigning the electric quantity value as electric quantity value data. Then, according to the respective corresponding weights, for example, the weight of collected power failure and power failure alarm information is a, the weight of not collected power failure and power failure alarm information is 1-a, the weight of abnormal voltage and current curve is b, the weight of abnormal voltage and current curve is 1-b, and the weight of electric quantity value is c, the power failure scoring value is calculated. Taking the collected power failure and restoration alarm information, the occurrence of abnormality of the voltage and current curve and the electric quantity value as E as an example, the power failure score value P is a + b + E. And finally, judging whether the power failure score is larger than a preset score, and if so, judging that the power failure occurs in the preset time period. When the power failure of a plurality of continuous preset time periods is judged, the power failure starting and stopping time can be determined simultaneously. It should be appreciated that the smaller the preset time period, the higher the accuracy of the power outage identification.
In summary, according to the power failure identification method based on the large electric power data in the embodiment of the invention, by acquiring the daily operation time of the metering terminal, acquiring the power failure and power restoration alarm information when the daily operation time is less than the preset time, acquiring the voltage and current data and the electric quantity data, and performing power failure identification according to the power failure and power restoration alarm information, the voltage and current data and the electric quantity data, the method can conveniently and accurately realize power failure identification.
In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. The meaning of "plurality" is two or more unless specifically limited otherwise.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.