Industrial circle energy consumption analysis system and its method based on dynamic statement
Technical field
The present invention relates to field of industrial production, more particularly to industrial production energy consumption analysis field, in particular to one kind to be based on
The industrial circle energy consumption analysis system and its method of dynamic statement.
Background technology
At numerous industrial circles (such as sewage plant, hospital, chemical plant, auto production line), due to answering for its production process
Polygamy, often the situation of energy consumption is analyzed in a variety of dimensions, such as:
(1) it is related to various energy resources in production process, such as:Water, electricity, gas, medicine, mud etc.;
(2) it is related to multiple processes or a plurality of production line in production process;
(3) it is related to multiple buildings in production process, such as different building and floor;
And traditional analysis means, focus on the real-time running data of each energy consumption exhaustion point, and in actual production process, it is whole
The Expenditure Levels of physical efficiency consumption are often to be mutually related that (for example the power consumption condition of sewage plant and water, gas, the Expenditure Levels breath of mud cease
It is related), so being dependent on traditional analysis means, the internal association relation in energy consumption consumption is found, often rule of thumb
Certain several energy consumption data is contrasted (such as:In order to know the electric energy loss of sewage plant associates with which kind of other loss, with total consumption
Electricity/total inflow).The mode of this runtime value contrast displaying rule of thumb carried out, which is often used in analysis system, uses generation
Code is realized, is often difficult to change when empirical value is inaccurate or needs adjustment.In above-mentioned industrial circle, very
The dependency relation of energy consumption is that very complicated (such as in the energy consumption analysis of sewage plant, Conventional wisdom thinks power consumption when more
It is how many and inflow number be directly proportional, even if but in the case that inflow is consistent in actual production, power consumption also have compared with
Big fluctuating, because the factor for influenceing power consumption except sewage quantity, may also have the turbidity of sewage), it is even dynamic sometimes
State change, so it is difficult to being expressed with the fixed incidence relation of a certain kind.
The content of the invention
The purpose of the present invention is the shortcomings that overcoming above-mentioned prior art, there is provided one kind introduces and used dynamic statement
With virtual attribute item it is concept, for solve in industrial circle analyze energy consumption incidence relation challenge based on dynamic report
The industrial circle energy consumption analysis system and its method of table.
To achieve these goals, the industrial circle energy consumption analysis system and its method tool of the invention based on dynamic statement
There is following composition:
The industrial circle energy consumption analysis system based on dynamic statement, it is mainly characterized by, including dynamic statement setting mould
Block and attribute setup module, described dynamic statement setting module are used to generate the dynamic statement that type is specified, and the type is specified
Dynamic statement include attribute item, attribute item therein is set by described attribute setup module.
It is preferred that described attribute item includes real attribute item and virtual attribute item, wherein, described real attribute item is by producing
Energy consumption equipment and energy consumption in scene determine that described virtual attribute item is by real attribute item and/or existing virtual attribute
Item combination producing.
More preferably, described industrial circle energy consumption analysis system also includes a memory module, with described attribute setup mould
Block is connected, and the memory module is stored with all real attributes determined by the energy consumption equipment in production scene and energy consumption
, and all virtual attribute items generated in the industrial circle energy consumption analysis system.
It is particularly preferred that described attribute setup module includes real attribute setting module and virtual attribute item setting module, wherein
Described real attribute setting module is used for the real attribute item for setting the dynamic statement that type is specified, the setting of described virtual attribute item
Module combines real attribute item and/or existing virtual attribute item by operator, the dynamic statement specified for setting type
Virtual attribute item.
It is still further preferred that the real attribute item for the dynamic statement that described real attribute setting module is specified to type is set as:
Described real attribute setting module includes a real attribute item selection interface, and the real attribute item selection interface, which is shown, deposits
All real attribute items stored in storage module, the dynamic statement institute that user is specified by the real attribute item selection interface to the type
The real attribute item needed is selected, so as to complete the setting for the real attribute item of dynamic statement specified to type.
It is still further preferred that the virtual attribute item for the dynamic statement that described virtual attribute item setting module is specified to type is set
It is set to:
Described real attribute setting module includes a virtual attribute item selection interface, and the virtual attribute item selection interface is shown
There is all real attribute items, virtual attribute item and the oeprator stored in memory module, user passes through virtual attribute Xiang Xuan
Select real attribute item and/or virtual attribute item needed for the selection of interface, and by Selecting operation symbol to realize to real attribute item and/or
The combination of virtual attribute item, the virtual attribute item setting needed for the dynamic statement that generation the type is specified, so as to complete to type
The setting of the virtual attribute item for the dynamic statement specified.
It is preferred that described dynamic statement setting module is provided with report form type button, user is by selecting report form type
The dynamic statement that button generation type is specified, described dynamic statement setting module also include a name button, and user passes through a little
The name button is selected to complete to be named the dynamic statement that type is specified.
It is preferred that described industrial circle energy consumption analysis system also includes an authority setting module and data analysis module,
Wherein authority setting module is used for the authority of checking for setting the dynamic statement that type is specified, and data analysis module, which is used to set, to be analyzed
The data analysis algorithm needed for dynamic statement that the type is specified.
The method that industrial circle energy consumption analysis is realized in the above-mentioned industrial circle energy consumption analysis system based on dynamic statement,
It is mainly characterized by, and this method is:
(1) type of dynamic statement is specified by dynamic statement setting module;
(2) it is that the dynamic statement that type is specified sets attribute item by described attribute setup module.
It is preferred that described step (2) is:
The appointed type for the dynamic statement that user specifies according to type, selected by described real attribute setting module
The real attribute item that should include in the dynamic statement that the type is specified, and/or selected by described virtual attribute item setting module
Select the virtual attribute item that should include in the dynamic statement that the type is specified.
It is it is preferred that further comprising the steps of after described step (2):
(3) determine the dynamic statement checks authority;
(4) title of the dynamic statement is defined.
It is preferred that characterized in that, described industrial circle energy consumption analysis system also includes a data analysis module, it is used for
The data analysis algorithm needed for dynamic statement that setting analysis the type is specified, user is by the data analysis module to the type
The dynamic statement setting data analysis algorithm specified, the dynamic statement specified to the type carries out data analysis, and obtains corresponding
Data results.
, can be by virtually belonging to using the industrial circle energy consumption analysis system and its method based on dynamic statement of the present invention
Property item establishment obtain the operation attribute that various scripts are not present, for statement analysis bring it is convenient;And statement analysis personnel can be with
Different types of form is customized according to self-demand, it is necessary to which to be also no longer influenced by program when analyze data complexity incidence relation hard
The limitation of coding.
Brief description of the drawings
Fig. 1 is a generation virtual attribute item of the industrial circle energy consumption analysis system based on dynamic statement of the present invention
Specific embodiment.
The industrial circle energy consumption analysis system based on dynamic statement that Fig. 2 is the present invention generates in a specific embodiment
Virtual attribute item composition situation schematic diagram.
The industrial circle energy consumption analysis system based on dynamic statement that Fig. 3 is the present invention is set in a specific embodiment
The type of dynamic statement and the signal that corresponding virtual attribute item or real attribute composition form is chosen according to the type of dynamic statement
Figure.
Fig. 4 and Fig. 5 is the dynamic in the structure of the industrial circle energy consumption analysis system based on dynamic statement of the application present invention
The analytical statement that query logic obtains is run in form.
Embodiment
In order to more clearly describe the technology contents of the present invention, carried out with reference to specific embodiment further
Description.
The industrial circle energy consumption analysis system based on dynamic statement, including dynamic statement setting module and attribute setup mould
Block, described dynamic statement setting module are used to generate the dynamic statement that type is specified, wrapped in the dynamic statement that the type is specified
Attribute item is included, attribute item therein is set by described attribute setup module.
In a kind of preferred embodiment, described attribute item includes real attribute item and virtual attribute item, wherein, it is described
Real attribute item determines by the energy consumption equipment in production scene and energy consumption, described virtual attribute item by real attribute item and/or
Existing virtual attribute item combination producing.
In a kind of more preferably embodiment, described industrial circle energy consumption analysis system also includes a memory module, with institute
The attribute setup module stated is connected, and the memory module is stored with what is determined by the energy consumption equipment in production scene and energy consumption
All virtual attribute items generated in all real attribute items, and the industrial circle energy consumption analysis system.
In a kind of preferred embodiment, described attribute setup module includes real attribute setting module and virtual attribute item
Setting module, wherein described real attribute setting module is used for the real attribute item for setting the dynamic statement that type is specified, it is described
Virtual attribute item setting module combines real attribute item and/or existing virtual attribute item by operator, refers to for setting type
The virtual attribute item of fixed dynamic statement.
In a kind of favourable embodiment, the real attribute for the dynamic statement that described real attribute setting module is specified to type
Item is set as:
Described real attribute setting module includes a real attribute item selection interface, and the real attribute item selection interface, which is shown, deposits
All real attribute items stored in storage module, the dynamic statement institute that user is specified by the real attribute item selection interface to the type
The real attribute item needed is selected, so as to complete the setting for the real attribute item of dynamic statement specified to type.
In a kind of favourable embodiment, the void for the dynamic statement that described virtual attribute item setting module is specified to type
Intend attribute item to be set as:
Described real attribute setting module includes a virtual attribute item selection interface, and the virtual attribute item selection interface is shown
There is all real attribute items, virtual attribute item and the oeprator stored in memory module, user passes through virtual attribute Xiang Xuan
Select real attribute item and/or virtual attribute item needed for the selection of interface, and by Selecting operation symbol to realize to real attribute item and/or
The combination of virtual attribute item, the virtual attribute item setting needed for the dynamic statement that generation the type is specified, so as to complete to type
The setting of the virtual attribute item for the dynamic statement specified.
In a kind of preferred embodiment, described dynamic statement setting module is provided with report form type button, Yong Hutong
The dynamic statement that selection report form type button generation type is specified is crossed, described dynamic statement setting module also includes a name and pressed
Button, user complete to be named the dynamic statement that type is specified by clicking the name button.
In a kind of preferred embodiment, described industrial circle energy consumption analysis system also include an authority setting module and
Data analysis module, wherein authority setting module are used for the authority of checking for setting the dynamic statement that type is specified, data analysis mould
Block is used to set the data analysis algorithm needed for the dynamic statement that analysis the type is specified.
The method that industrial circle energy consumption analysis is realized in the above-mentioned industrial circle energy consumption analysis system based on dynamic statement,
It is mainly characterized by, and this method is:
(1) type of dynamic statement is specified by dynamic statement setting module;
(2) it is that the dynamic statement that type is specified sets attribute item by described attribute setup module.
In a kind of preferred embodiment, described step (2) is:
The appointed type for the dynamic statement that user specifies according to type, selected by described real attribute setting module
The real attribute item that should include in the dynamic statement that the type is specified, and/or selected by described virtual attribute item setting module
Select the virtual attribute item that should include in the dynamic statement that the type is specified.
It is further comprising the steps of after described step (2) in a kind of preferred embodiment:
(3) determine the dynamic statement checks authority;
(4) title of the dynamic statement is defined.
In a kind of preferred embodiment, it is characterised in that described industrial circle energy consumption analysis system also includes a number
According to analysis module, the data analysis algorithm needed for dynamic statement specified for setting analysis the type, user passes through the data
Analysis module sets data analysis algorithm to the dynamic statement that the type is specified, and the dynamic statement specified to the type carries out data
Analysis, and obtain corresponding data results.
In a kind of specific embodiment, industrial circle energy consumption analysis system and its method proposition that should be based on dynamic statement is empty
Intend the concept of attribute item, the attribute (point of such as certain ammeter is measured) of multiple actual motions or existing virtual attribute item are passed through
A series of formula combinations (such as+- */sum avg), so as to obtain new operation attribute, by running attribute and public affairs by existing
Formula is combined to obtain new operation attribute, and analysis personnel obtain institute by the selection of report form type and the selection of operation attribute
Form is needed to break away from the limitation of program hard coded with this.
In a kind of specific embodiment, referring to Fig. 1, the process of one virtual attribute item of generation is illustrated, wherein including
Selection forms the element (can be real operation attribute or generated virtual attribute item) of virtual attribute item
And form the calculation formula of new virtual attribute item (definition of formula can be as the complexity of business improves and increases).Figure
1 shows operation attribute that " positive idle electric degree " is chosen from multiple ammeter equipment on the left side and by cumulative summation
Mode obtains the process of a new operation attribute.
Referring to Fig. 2, in the embodiment described in Fig. 2, the composition situation of a complicated virtual attribute item is illustrated, most
Whole virtual attribute item is made up of 2 existing virtual attribute items, and its last performance formula is sum (first and second phase air blowers
All ammeters in room)/sum (all barometers of first and second phase air blast computer room).
The industrial circle energy consumption analysis system and its method based on dynamic statement also set the type of dynamic statement, according to
Type chooses corresponding virtual attribute item or real attribute and forms form.
Referring to Fig. 3, in the embodiment shown in fig. 3, illustrate the setting process of dynamic statement:
A. report form type is determined, then determines the data analysis mode that backstage is different corresponding to this kind of report form type;
B. selection forms the element of form, can be real attribute or virtual attribute item, or 2 are combined;
C. determine form checks authority;
D. report name is defined;
According to the dynamic statement defined, query logic is run, that is, obtains corresponding statement analysis result.Refer to Fig. 4
And Fig. 5, in Fig. 4, the content of displaying is to need 2 real attributes for comparing incidence relation and the void worked it out with ratio between two
Intend curve performance of the attribute item in same form, Fig. 5 individually shows the virtual attribute item curve of ratio between two.By Fig. 4 and
Two real attribute direct proportionalities, at a time undergo mutation when Fig. 5 can be seen that major part, and inverse proportion is presented and closes
It is (moment can be known easily by Fig. 5).
, can be by virtually belonging to using the industrial circle energy consumption analysis system and its method based on dynamic statement of the present invention
Property item establishment obtain the operation attribute that various scripts are not present, for statement analysis bring it is convenient;And statement analysis personnel can be with
Different types of form is customized according to self-demand, it is necessary to which to be also no longer influenced by program when analyze data complexity incidence relation hard
The limitation of coding.
In this description, the present invention is described with reference to its specific embodiment.But it is clear that it can still make
Various modifications and alterations are without departing from the spirit and scope of the present invention.Therefore, specification and drawings are considered as illustrative
It is and nonrestrictive.