Data monitoring method based on electric power big data
Technical Field
The invention relates to a data monitoring method, in particular to a data monitoring method based on electric power big data, and belongs to the technical field of electric power.
Background
Along with the development of the depth of the improvement work of the service quality of the power distribution network, higher requirements are put forward on the distribution quality and the power utilization management level of the transformer area. The three-phase line in the station is divided into lines according to the phase, but most of the single-phase lines do not store relevant phase information during filing. If the phase information of the existing line of the electric energy meter of the residential user is accurate, great convenience is brought to troubleshooting of faults and line loss abnormity and three-phase imbalance management in the transformer area. However, when the electric energy meters are installed in a large number of distribution areas through wiring, the phase information of the installed electric energy meters of the residential users is not stored, so that the installation phase information of the electric energy meters of the residential users in the distribution areas is difficult to obtain during troubleshooting, split-phase line loss treatment and three-phase imbalance treatment.
Disclosure of Invention
The invention mainly aims to provide a data monitoring method based on power big data in order to solve the defects of the prior art.
The purpose of the invention can be achieved by adopting the following technical scheme:
the data monitoring method based on the electric power big data comprises the following steps:
the method comprises the following steps: monitoring of acquired data
(1) Acquiring data, acquiring a monophase table and total data of related transformer areas, and importing the collected data into hdfs;
(2) monitoring data acquisition by spark streaming + redis;
step two: data monitoring
(1) Calculating in real time, namely calculating the daily electric quantity dependent on the dispatching through a dispatching program;
(2) recalculating, namely, relying on a scheduling daily electric quantity recalculating program through a scheduling program to calculate daily electric quantities of all the days in a window;
(3) storing the calculation results of real-time calculation and recalculation in a database and updating the calculation results into a formal library;
(4) monitoring the calculation and storage process by using spark + hbase;
step three: data upload monitoring
(1) And feeding back the data condition to the provincial and municipal metering system in real time.
Preferably, in step one, the monitoring of the collected data monitors the data at a frequency of every 15 minutes.
Preferably, in the second step, a clustering algorithm is used to continuously analyze the correlation between the single-phase table in the database and the power data change of the total table of the relevant distribution room, and the phase hooked by the single-phase table is deduced and identified.
Preferably, in the second step, the scheduler relies on the scheduling daily electricity recalculation program, and meanwhile, the scheduler transmits the parameter time, calculates the daily electricity of all the days in the window and stores the calculation end in the database according to the scheduling statistical time, and the storage process updates the latest data of the statistical time to the formal library according to the type.
Preferably, in step three, the data uploading monitoring main monitored data are files, index city level daily electric quantity and index provincial level daily electric quantity.
Preferably, in step three, the data problem is corrected in time according to the feedback of the provincial and urban metering system.
Preferably, the clustering algorithm calculation process is as follows: the power change of the single-phase table at a certain moment and the power change of a certain phase of the station area summary table at the same moment are recorded, and then the correlation between the value of the single-phase table change and the data of the station area summary table change is compared.
Preferably, the correlation between the value of the single-phase meter change and the data of the station area summary table change is comprehensively analyzed for a plurality of times, and if the low or high correlation reaches a threshold value T and the correlation of the data reaches a threshold value P, the phase hung on the single-phase meter is deduced.
Preferably, the scheduler incoming parameter time interval is T-3 to T-1.
The invention has the beneficial technical effects that: according to the data monitoring method based on the electric power big data, the relevance of the instantaneous power data fluctuation of the electric energy meter of the residential user and the relevant phase power fluctuation of the total meter of the distribution area is analyzed by acquiring the instantaneous power data of the electric energy meter in the distribution area and the edge computing capability in the metering terminal or the server computing capability in the metering automation system, thereby distinguishing the phase position hung on the single-phase electric energy meter installed by the resident user, improving the efficiency and the convenience of identifying the phase position hung on the single-phase meter, greatly saving the cost of phase position identification, meanwhile, the clustering algorithm is adopted for continuous analysis, so that the data quality is improved, the accuracy, timeliness, effectiveness and integrity of the data are guaranteed, powerful guarantee is provided for the integration and mining application of the data, the data acquisition, calculation and uploading are monitored, and the accuracy and timeliness of the data are guaranteed.
Detailed Description
In order to make the technical solutions of the present invention more clear and definite for those skilled in the art, the present invention is further described in detail with reference to the following examples, but the embodiments of the present invention are not limited thereto.
The data monitoring method based on the electric power big data provided by the embodiment comprises the following steps:
the method comprises the following steps: monitoring of acquired data
(1) Acquiring data, acquiring a monophase table and total data of related transformer areas, and importing the collected data into hdfs;
(2) monitoring data acquisition by spark streaming + redis;
step two: data monitoring
(1) Calculating in real time, namely calculating the daily electric quantity dependent on the dispatching through a dispatching program;
(2) recalculating, namely, relying on a scheduling daily electric quantity recalculating program through a scheduling program to calculate daily electric quantities of all the days in a window;
(3) storing the calculation results of real-time calculation and recalculation in a database and updating the calculation results into a formal library;
(4) monitoring the calculation and storage process by using spark + hbase;
step three: data upload monitoring
(1) And feeding back the data condition to the provincial and municipal metering system in real time.
In the first step, monitoring data is monitored at the frequency of every 15 minutes, in the second step, the relativity of the power data changes of the single-phase meter in the database and the total meter of the related station area is continuously analyzed by adopting a clustering algorithm, the phase connected with the single-phase meter is deduced and identified, in the second step, a scheduling program depends on a scheduling daily electric quantity recalculating program, meanwhile, the scheduling program transmits parameter time, all daily electric quantities in a window are calculated and stored in the database according to scheduling statistical time after the calculation is finished, the storage process updates the latest data of the statistical time to a formal base according to types, in the third step, the data are uploaded and monitored, the data are files, index market-level daily electric quantity and index provincial daily electric quantity, in the third step, the data problem is corrected in time according to the feedback of a provincial city metering system, and instantaneous power data of the electric energy meter in the station area are collected, and then through the edge computing power in the metering terminal or the server computing power in the metering automation system, the relevance of the instantaneous power data fluctuation of the electric energy meter of the residential user and the relevant phase power fluctuation of the table area master table is analyzed, so that the phases hooked by the single-phase electric energy meters installed by the residential users are distinguished, the phase efficiency and convenience of hooking the single-phase meters are improved, the phase identification cost can be greatly saved, meanwhile, the data quality is improved by adopting a clustering algorithm for continuous analysis, the accuracy, timeliness, effectiveness and integrity of the data are guaranteed, powerful guarantee is provided for the integration and mining application of the data, the full names of data acquisition, calculation and uploading are monitored, and the accuracy and timeliness of the data are guaranteed.
The clustering algorithm comprises the following calculation processes: recording the power change of a single-phase table at a certain moment and the power change of a certain phase of a station area summary table at the same moment, then comparing the correlation between the numerical value of the single-phase table change and the data of the station area summary table change, comprehensively analyzing the correlation between the numerical value of the single-phase table change and the data of the station area summary table change for many times, if the low-down correlation or the high-up correlation reaches a threshold value T and the correlation of the data reaches a threshold value P, deducing the phase hung on the single-phase table, and transmitting a scheduling program into a parameter time interval from T-3 to T-1.
The first embodiment is as follows:
the working process of the data monitoring method based on the big power data is as follows:
the method comprises the following steps: monitoring of acquired data
(1) Data acquisition, acquiring the total data of the monophase table and the relevant transformer area and importing the total data into hdfs,
(2) monitoring data acquisition by using spark streaming + redis, wherein the monitoring of the acquired data monitors the data at a frequency of every 15 minutes;
step two: data monitoring
(1) Calculating in real time, namely calculating by relying on the scheduling daily electric quantity through a scheduling program, recalculating by relying on the scheduling daily electric quantity through the scheduling program, simultaneously transmitting parameter time into the scheduling program, calculating all daily electric quantities in a window and storing the calculation end in a database according to scheduling statistical time, and updating the latest data of the statistical time into a formal database according to types in the storage process;
(2) recalculating, namely, relying on a scheduling daily electric quantity recalculating program through a scheduling program to calculate daily electric quantities of all the days in a window;
(3) storing the calculation results of real-time calculation and recalculation in a database and updating the calculation results into a formal library, and performing continuous analysis by using a clustering algorithm by using the correlation of the power data change of the single-phase table and the total table of the relevant distribution area to deduce and identify the phase connected with the single-phase table;
(4) monitoring the calculation and storage process by using spark + hbase;
step three: data upload monitoring
(1) And feeding back the data condition to the provincial and municipal metering system in real time, uploading data mainly monitored by the data uploading monitoring system, wherein the data comprise files, index city-level daily electric quantity and index provincial daily electric quantity, and correcting the data problem in time according to the feedback of the provincial and municipal metering system.
In summary, in this embodiment, according to the data monitoring method based on the big power data of this embodiment, the clustering algorithm calculation process is as follows: recording the power change of a single-phase meter at a certain moment and the power change of a certain phase of a station area master table at the same moment, comparing the correlation between the numerical value of the single-phase meter change and the data of the station area master table change, comprehensively analyzing the correlation between the numerical value of the single-phase meter change and the data of the station area master table change for many times, if the low-change correlation or the high-change correlation reaches a threshold value T and the correlation between the data reaches a threshold value P, deducing the phase hung by the single-phase meter, transmitting a parameter time interval from T-3 to T-1 by a scheduling program, analyzing the correlation between the instantaneous power data fluctuation of the electric energy meter of a resident user and the relevant phase power fluctuation of the station area master table by acquiring the instantaneous power data of the electric energy meter in the station area and then distinguishing the phase hung by the electric energy meter installed by the resident user through the edge computing power in a metering terminal or the computing power of a service terminal in a metering automation system, the efficiency and the convenience of identifying the phase position articulated by the single-phase meter are improved, the cost of phase position identification can be greatly saved, meanwhile, the data quality is improved by adopting a clustering algorithm to carry out continuous analysis, the accuracy, timeliness, effectiveness and integrity of data are guaranteed, powerful guarantee is provided for the integration and mining application of the data, the data is monitored in a full-name mode of collection, calculation and uploading, and the accuracy and the timeliness of the data are guaranteed.
The above description is only for the purpose of illustrating the present invention and is not intended to limit the scope of the present invention, and any person skilled in the art can substitute or change the technical solution of the present invention and its conception within the scope of the present invention.