Summary of the invention
In view of this, the object of the present invention is to provide a kind of data statistic analysis system and method, to overcome above-mentioned shortcoming, realization comprehensively, the data of Dui Ge electricity power enterprise are added up the situation that ,Shi supervision department understands each electricity power enterprise's energy-saving and emission-reduction in time accurately and real-time.
For this reason, the present invention adopts following technical scheme:
A system, comprises data acquisition module, data judge module and analytical calculation module, wherein:
Described data acquisition module, for when meeting predefined data acquisition conditions, gathers the electric power data of multi-data source;
Described data judge module, for judging that whether described electric power data is can service data, if the determination result is YES, triggers described analytical calculation module;
Described analytical calculation module, for according to described supervision parameter under can service data, can service data add up, analyze described, and utilize corresponding computing formula can service data to calculate described, draws corresponding supervision value of consult volume.
Preferably, described data statistic analysis system, also comprises data resolution module, described data resolution module is at described data judge module when the determination result is NO, described electric power data is resolved, obtain corresponding with it can service data, trigger afterwards described analytical calculation module.
Preferably, described data source comprises Hisoon real-time data base, is related to storehouse and E file.
Preferably, described supervision parameter comprises energy input and discharge capacity.
Preferably, described calculating comprises the calculating triggering based on the cycle, calculating and the calculating based on Event triggered based on clocked flip.
Preferably, described data statistic analysis system, also comprises memory module, and described memory module is used for storing described supervision value of consult volume.
, comprising:
When meeting predefined data acquisition conditions, gather the electric power data of multi-data source;
Judge that whether described electric power data is can service data, if the determination result is YES, according to described supervision parameter under can service data, to described, can service data add up, analyze, and utilize corresponding computing formula can service data to calculate described, draw corresponding supervision value of consult volume.
Preferably, described data statistical analysis method, also comprises:
If the determination result is NO, described electric power data is resolved, obtain corresponding with it can service data, trigger afterwards step:
According to described supervision parameter under can service data, to described, can service data add up, analyze, and utilize corresponding computing formula can service data to calculate described, draw corresponding supervision value of consult volume.
Preferably, described data statistical analysis method, also comprises:
Store described supervision value of consult volume.
The data statistic analysis system that the embodiment of the present invention provides comprises data acquisition module, data judge module and analytical calculation module.Adopt data statistic analysis system of the present invention, can be according to onsite supervision demand preliminary setting data acquisition condition, when meeting described condition, directly by data acquisition module, obtain the electric power data of each electric power enterprise multi-data source, utilize afterwards data judge module, analytical calculation module to the data of obtaining judge, the respective handling such as statistics, analysis and calculating, finally draw and realize the required value of consult volume such as the supervision such as energy input, discharge capacity of supervision.Obviously, the present invention has overcome the shortcoming of available data statistical study mode in supervisory systems, without waiting for each electric power enterprise reported data, and without artificial calculating, data volume that specifically can be required according to onsite supervision, supervise the preliminary setting data acquisition conditions such as required sampling time interval or Real-time Collection demand, based on described predefined data acquisition conditions, obtain each electric power enterprise multi-data source data, by analytical calculation module, calculate the required supervision value of consult volume of supervision afterwards, can realize comprehensively, accurately, the data of Dui Ge electricity power enterprise are added up in real time, make supervision department understand in time the situation of each electricity power enterprise's energy-saving and emission-reduction, and then be convenient to supervision department and carry out effective decision-making and supervision.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The present invention discloses a kind of data statistic analysis system and method, be applied in power industry energy-saving and emission-reduction supervisory systems, system and method of the present invention is strictly followed the functional specification of power industry energy-saving and emission-reduction supervisory systems, below will to data statistic analysis system and method for the present invention, be elaborated by a plurality of embodiment.
Embodiment mono-
The embodiment of the present invention one discloses a kind of data statistic analysis system, refers to Fig. 1, and this data statistic analysis system comprises data acquisition module 100, data judge module 200 and analytical calculation module 300.
Data acquisition module 100, for when meeting predefined data acquisition conditions, gathers the electric power data of multi-data source.
Wherein, multi-data source mainly comprise Hisoon real-time data base, be related to storehouse, PI database, E file etc.
Particularly, can be according to supervision department the onsite supervision demand to each electric power enterprise energy-saving and emission-reduction, such as the required data volume of supervision, supervise the required time interval or real-time monitoring demand etc., preliminary setting data acquisition condition.
Utilize before data statistic analysis system of the present invention calculates to realize supervision to the data analysis of each electric power enterprise multi-data source, need first a plurality of databases, the data source of each electric power enterprise to be accessed to system of the present invention, after access, while meeting predefined data acquisition conditions, the present invention can adopt from Hisoon real-time data base, be related to storehouse and E file that reading out data or Hisoon real-time data base are initiatively to two kinds of data acquisition modes of statistics service propelling data.
Data resolution module 200, for judging that whether described electric power data is can service data, if the determination result is YES, triggers analytical calculation module 300.
Particularly, Hisoon real-time data base, be related to that data in storehouse or PI database can be used directly to statistics, analysis and calculation, therefore, if the data source of the electric power data that data acquisition module 100 gathers is Hisoon real-time data base, be related to storehouse or PI database, the electric power data that gathered is regarded as by data judge module 200 can service data, be that judgment result is that of data judge module 200 is, now data judge module 200 is not done any processing to exercisable electric power data, directly sends it to analytical calculation module 300.
Analytical calculation module 300, for according to described supervision parameter under can service data, can service data add up, analyze described, and utilize corresponding computing formula can service data to calculate described, draws corresponding supervision value of consult volume.
In the present embodiment, supervision parameter mainly comprises energy input and discharge capacity, certainly, according to supervision demand, can also comprise other parameters, such as rate of load condensate, boiler thermal output, steam turbine hear rate, station service power consumption rate, desulphurization denitration accumulative total unit operation time, accumulative total idle time, actual operational percentage, Real time Efficiency, dry mark flow, SO2 conversion concentration etc.
Particularly, can be and respectively supervise parameter and set up corresponding calculation level, and configure corresponding computing formula for calculation level, for example, for energy input is set up energy consumption calculation point, configuration energy consumption calculation formula, for discharge capacity is set up discharge calculation level, configuration discharge computing formula etc., thereby can add up accordingly, analyze belonging to the parameters of a certain supervision parameter, and calculate supervision value of consult volume in the computing formula of calculation level utilization correspondence.
At calculation level, to can service data calculating, specifically can adopt following 3 kinds of triggering modes:
1) cycle triggers
Every some cycles, once calculate, the size in cycle is specifically determined by supervision demand.For example 10 seconds or 1 minute are set as to 1 cycle, thus every 10 seconds or 1 minute system of the present invention to data source image data and calculate.
This triggering mode is mainly used in real-time smoke discharge amount, real-time SO2 discharge capacity etc. needs the supervision parameter calculating in real time.
2) clocked flip
At official hour point, calculate.When can select to be specially computing time at what time somewhat several seconds which day, arrive this moment, will trigger calculation level and calculate, arrive this moment, system of the present invention is peeked and calculates to data source.
For example trigger 0: 0: 0 on the 1st January in 2013, calculate previous year gross generation, the actual operational percentage of desulfurization, desulfurization av eff etc.
3) Event triggered
When trigger event occurs, calculating, for example, is a measuring point by event definition, when this measuring point has value to upgrade, will trigger current calculation level and calculate.
Particularly, for example, want to record desulfurization idle time, just need to know desulfurization Withdrawal Hour and desulfurization making time, definable Event triggered calculation level, when desulfurization, withdraw from or when input condition meets, trigger this calculation level and calculate, deposit current time in Hisoon real-time data base or relational database.
To sum up, the data statistic analysis system that the embodiment of the present invention provides comprises data acquisition module 100, data judge module 200 and analytical calculation module 300.Adopt data statistic analysis system of the present invention, can be according to onsite supervision demand preliminary setting data acquisition condition, the data acquisition module 100 directly comprising by it when meeting described condition obtains the electric power data of each electric power enterprise multi-data source, and on the basis of the electric power data obtaining, utilize that data judge module 200 of the present invention, 300 pairs of data of obtaining of analytical calculation module judge, the respective handling such as statistics, analysis and calculating, finally draw and realize the required parameter such as the supervision such as energy input, discharge capacity of supervision.Obviously, the present invention has overcome the shortcoming of available data statistical study mode in supervisory systems, without waiting for each electric power enterprise reported data, and without artificial calculating, data volume that specifically can be required according to onsite supervision, supervise the preliminary setting data acquisition conditions such as required sampling time interval or Real-time Collection demand, based on described predefined data acquisition conditions, obtain each electric power enterprise multi-data source data, by analytical calculation module 300, calculate the required supervision value of consult volume of supervision afterwards, can realize comprehensively, accurately, the data of Dui Ge electricity power enterprise are added up in real time, make supervision department understand in time the situation of each electricity power enterprise's energy-saving and emission-reduction, and then be convenient to supervision department and carry out effective decision-making and supervision.
Embodiment bis-
The embodiment of the present invention two discloses the another kind of structure of data statistic analysis system, as shown in Figure 2, it is except comprising data acquisition module 100, data judge module 200 and analytical calculation module 300, also comprise data resolution module 400, data resolution module 400, when at described data judge module 200, the determination result is NO, resolves described electric power data, obtain corresponding with it can service data, trigger afterwards described analytical calculation module 300.
Particularly, data in E file can not be used directly to statistics, analyze or calculate, therefore, when if the Data Source of the electric power data that data acquisition module 100 gathers is E file, by data judge module 200, be judged as can not service data for this electric power data, be that the determination result is NO for data judge module 200, now this electric power data is resolved to can service data for the data resolution module 400 of the present embodiment two, triggers afterwards 300 pairs of analytical calculation modules and resolves can service data analyzing, calculate of gained.
Embodiment tri-
Another structure of the embodiment of the present invention three public data statistical analysis systems, as shown in Figure 3, it is except comprising data acquisition module 100, data judge module 200, analytical calculation module 300 and the data resolution module 400 of data statistic analysis system in embodiment bis-, also comprise memory module 500, memory module 500 is for storing described supervision value of consult volume.
Particularly, can according to the actual requirements the supervision value of consult volume that calculates gained be deposited in to associated databases, as deposit in to Hisoon real-time data base or be related to storehouse etc.
The subsequent treatment module that the memory module 500 of the present embodiment is native system, subsequent storage reason can be provided for the supervision value of consult volume that native system calculates, the result of adding up, analyzing, calculating is deposited in to Hisoon real-time data base or is related in storehouse, be convenient to check and observe, be convenient to supervision department and grasp more intuitively each electricity power enterprise's energy consumption and emission behaviour in conjunction with form, pattern exhibiting etc.
Embodiment tetra-
The embodiment of the present invention four, on the basis of embodiment mono-, two and embodiment tri-, discloses a kind of data statistical analysis method, refers to Fig. 4, and this data statistical analysis method comprises:
S1: when meeting predefined data acquisition conditions, gather the electric power data of multi-data source.
S2: judge that whether described electric power data is can service data, if the determination result is YES, goes to step S3.
S3: according to described supervision parameter under can service data, can service data add up, analyze described, and utilize corresponding computing formula can service data to calculate described, draw corresponding supervision value of consult volume.
Corresponding to the data statistic analysis system of embodiment bis-, as shown in Figure 5, this data statistical analysis method also can comprise the steps:
S4: if the determination result is NO, described electric power data is resolved, obtain corresponding with it can service data, go to step afterwards S3.
Data statistic analysis system corresponding to embodiment tri-, refers to Fig. 6, and this data statistical analysis method also can comprise the steps:
S5: store described supervision value of consult volume.
For the disclosed data statistical analysis method of the embodiment of the present invention four, because it is corresponding with the disclosed data statistic analysis system of embodiment mono-, two, three, that therefore describes is fairly simple, relevant similarity refers to the explanation introductory section in embodiment mono-and embodiment bis-, three, no longer describes in detail herein.
Embodiment five
The embodiment of the present invention five discloses an instantiation of data statistic analysis system and method based on above four embodiment.
The present embodiment is developed a statistics service system based on data statistic analysis system and method, statistics service system is accessed each data source, data to different pieces of information source gather, if Data Source is E file, statistics service system is resolved E file, and the data of resolving gained are deposited in to the data buffer storage pond of opening up in advance, when needs utilization parsing the data obtained carries out correlation computations, then from data buffer storage pond, take out data and calculate.
After gathering and respective electrical force data being resolved, the data of statistics service system to the original electric power data that does not need to resolve (data of Hisoon real-time data base, be related to the data in storehouse etc.) or after resolving are added up, computing.In actual application scenarios, each system (desulphurization system of electric power enterprise, power plant emission system can wait) data that are transferred in database of data acquisition end are more single data, main steam flow for example, main steam enthalpy, heat is steam flow again, heat is steam enthalpy again, final feedwater flow, final Enthalpy of Feed Water, cold steam flow again, cold steam enthalpy again etc., while using these data, need to be carried out further calculation process, be converted into actual operable or understandable data intuitively, for example by above flow and enthalpy, can calculate understandable boiler thermal output intuitively, therefore, the statistics service system of this example is for this situation, for more single data being converted into actual operable or understandable data intuitively, corresponding operation processing function is provided.
Statistics service system is supported the parsing of script, supports the calculating triggering based on the cycle, calculating and the calculating based on Event triggered based on clocked flip.In the Real-Time Monitoring in power industry energy-saving and emission-reduction, need to carry out complicated monitoring to a plurality of associated measuring point datas, statistics service system provides corresponding data computing function to support the monitoring to associated measuring point.For example, for realizing interface monitoring function, set up the calculation level of clocked flip, regularly judged that whether data are in real-time change, if data do not change for a long time, judged interface fault, need to manually search problem.
Statistics service system support interpolation and renewal calculation level, deletion calculation level, rename calculation level, the editor who searches calculation level, batch importing and derivation calculation level, script formula and preliminary examination etc.Its script editing area provides partly conventional mathematical function, key word to select, also provide part self-defining function for user, to carry out the formula configuration of calculation level, for example obtain measuring point currency, history value, the maximal value of measuring point in a period of time, minimum value, mean value and, get time character string, mistiming etc.Whether correctly after editor completes, can test formula configuration, if incorrect statistics service system can eject corresponding miscue, can revise configuration according to prompting.
The result that this statistics service system calculates deposits Hisoon real-time data base in or is related to storehouse, is convenient to check and observe, and is convenient to supervision department simultaneously and in conjunction with form, pattern exhibiting etc., understands more intuitively energy consumption and the emission result of each electricity power enterprise.
Embodiment six
The embodiment of the present invention six discloses the examples of architectures of data statistic analysis system in power industry energy-saving and emission-reduction supervisory systems.
As shown in Figure 7, in the present embodiment, whole energy-saving and emission-reduction supervisory systems consists of jointly PI database server, Hisoon real-time data base server, relational database server, statistics service (data statistic analysis system) server, interface server (interface message processor (IMP)) and forward and reverse spacer assembly.This energy-saving and emission-reduction supervisory systems is crossed over 3 safety zones: HeⅣ district, ,Ⅲ district, safe II district, wherein HeⅣ district, II district is that ,Ⅲ district, PI database region is statistics service, Hisoon real-time data base and relational database region.II district carries out network partition by forward spacer assembly between HeⅢ district, and data can only be sent to III district in YouⅡ district, can not reversely transmit; ErⅢ district carries out network partition by reverse isolation device between HeⅣ district, and data can only be sent to III district in YouⅣ district.
Be deployed in the PI2HS service on HuoⅣ district, II district interface server, reading out data from coupled PI database, after transfer service, by data with standard E document form, pass through isolation gap (forward and reverse spacer assembly) and be sent to III district, the transfer service in Zai YouⅢ district, by the PI2HS service in data-pushing ZhiⅢ district, is finally sent to statistics service.Meanwhile, statistics service can be directly from be deployed in the Hisoon real-time data base in III district and relational database reading out data, carry out statistical study.
After statistics service arrangement completes, can set up calculation level and carry out the configuration of computing formula.The raw data of coming according to each data source collection particularly, allocation formula, and different triggering modes are set calculate, draw the result of calculations such as energy consumption and discharge.Such as the same day coal consumption amount, the same day smoke discharge amount, the same day SO2 discharge capacity, the same day NOx discharge capacity etc. need the value of real-time statistics, can realize and read the real time data in E file or Hisoon real-time data base by statistics service configuration, calculate in real time, store and show; And last month the whole province's generation load, the whole province's desulfurization last month operational percentage, last month the statistical value such as the whole province's desulfuration efficiency, the historical data that can read in Hisoon real-time data base or relational database is carried out statistical computation.
By the configuration of script, can select result of calculation deposit Hisoon real-time data base or be related to storehouse, meanwhile, can check more intuitively each electricity power enterprise's energy consumption and emission behaviour in conjunction with form, pattern exhibiting.
It should be noted that, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.