This application claims the benefit of Korean Patent Application No. 10-2012-0108638, filed on Sep. 28, 2012 which is hereby incorporated by reference as if fully set forth herein.
The present invention relates to an energy consumption forecast, and more particularly, relates to an apparatus and method for forecasting energy consumption based on a multi-class which is created with a plurality of single classes coupled in a hierarchal coupling structure of two or more phases.
For the management of power use in buildings, an efficient use of loads act as a requisite factor and it is crucial to forecast the loads in a future. In particular, as the use of air conditioning equipment associated with heating and cooling is given a sizeable deal of weight, reducing the heating and cooling energy in the buildings is a nationally significant challenge. To meet the challenge, environment-friendly and energy-saving cooling systems such as ice storage, water heat storage, terrestrial heat and district cooling, in addition to the existing turbo, and absorption refrigerator has been applied and spread to the cooling of the buildings. The cooling system is composed in the form of a combination of several devices according to the geographical environment and energy demand pattern of the buildings and has various kinds of operational strategies. Accordingly, forecasting the cooling consumption is one of critical element technologies in order simultaneously to achieve a pleasant cooling condition and an energy-saving.
In surveying conventional techniques for the prediction of cooling consumption, there has been tried a variety of methods inclusive of time series, regression analysis, neural network and fuzzy theory. These methods mainly use past data on the cooling consumption. In more detail, the elements of the consumption forecast includes user category, elements of weather condition such as temperature, humidity and wind speed, consumption pattern that was used recently, the temporal characteristics of the day, weekly or seasonal load use, event for a specific exercise, load distribution such as the moderate use of a cooling load and the rapid use of an electricity use, and demand-side management plan, which makes a modeling for consumption prediction different. In order to design a system for managing a power usage by using a cooling consumption that is predicted, there needs a model identical to the pattern that is actually used, which requires to consider more elements.
In view of the above, the present invention provides an apparatus and method for forecasting energy consumption based on a plurality of single classes in a multi-class which is created by using a single class SVM (Support Vector Machine) based hierarchical structure.
In accordance with an exemplary embodiment of the present invention, there is provided an apparatus for forecasting energy consumption, which includes: a load data collection unit configured to collect low level data from a device that generates energy load data; a filtering and attribute selection unit configured to eliminate attributes that are duplicated or used below a prefixed average from attributes of the collected low level data to produce an optimal attribute set; a training unit configured to produce a multi-class in which a plurality of single classes is hierarchically coupled in at least two levels and create training data used for forecasting the energy consumption based on the produced multi-class, wherein each single class includes its optimal attribute set; and a forecasting unit configured to receive the low level data in real time from the load data collection unit and calculate the energy consumption to be forecasted on a basis of the received real-time low level data, the multi-class and the training data.
In the exemplary embodiment, the filtering and attribute selection unit is configured to calculate a conditional probability using entropies of the attributes, Pearson's correlation coefficients between the attributes and target classes including the attributes and the best search method to produce the optimal attribute set.
In the exemplary embodiment, the filtering and attribute selection unit is configured to: calculate an entropy of an arbitrary attribute contained in the low level data; calculate a conditional probability between the arbitrary attribute and each of remaining arbitrary attributes; calculate information gain for each of the arbitrary attribute and the remaining attributes; calculate conditional probability correlation using the arbitrary attribute and each of remaining arbitrary attributes, the distribution and Pearson's correlation coefficient between the arbitrary attribute and each of remaining arbitrary attributes and target classes including the arbitrary attribute, based on the information gain; form a plurality of subsets based on the conditional probability correlation; and calculate merit functions with respect to the plurality of subsets to select a subset whose merit function has the largest value as the optimal attribute set.
In the exemplary embodiment, the training unit is configured to produce the multi-class on a basis of an SVDD (Support Vector Data Description) for generating each of the single classes.
In the exemplary embodiment, the training unit is configured to produce the multi-class having a determination boundary surface to be independent.
In the exemplary embodiment, the apparatus further includes a filtering unit configured to filter the real-time low level data using the optimal attribute set, and the forecasting unit is configured to forecast the energy consumption based on the filtered data and the training data.
In accordance with another aspect of the exemplary embodiment of the present invention, there is provided a method for forecasting energy consumption, which includes: collecting low level data from a device that generates energy load data; eliminating attributes that are duplicated or used below a prefixed average from the attributes of the collected low level data to produce an optimal attribute set; producing a plurality of single classes, each single class including its optimal attribute set; producing a multi-class in which the single classes are hierarchically coupled in at least two levels; and creating training data to forecast the energy consumption based on the produced multi-class.
In the exemplary embodiment, producing the optimal attribute set includes: calculating an entropy of an arbitrary attribute contained in the low level data; calculating a conditional probability between the arbitrary attribute and each of remaining attributes; calculating information gain for each of the arbitrary attribute and the remaining attributes; calculating conditional probability correlation using the arbitrary attribute and each of remaining arbitrary attributes, the distribution and Pearson's correlation coefficient between the arbitrary attribute and each of remaining arbitrary attributes and target classes including the arbitrary attribute, based on the information gain; forming a plurality of subsets based on the conditional probability correlation; and calculating merit functions with respect to the plurality of subsets to select a subset whose merit function has the largest value as the optimal attribute set.
In the exemplary embodiment, producing a plurality of single classes includes: producing a determination boundary surface of each single class so that the plurality of the single classes is independent to one another; calculating a sphere size including the optimal attribute set; and producing the plurality of single classes based on the calculate sphere size and the determination border surface.
In the exemplary embodiment, collecting low level data includes: filtering the real-time low level data using the optimal attribute set; and forecasting the energy consumption based on the filtered data and the training data. According to the exemplary embodiment, unlike to provide only the error range between an actual cooling load and a predicted cooling load based on a conventional regression analysis which is a typical statistical method and is actively utilized in the cooling load forecast, the exemplary embodiment of the present invention has a merit to forecast the cooling load using a structure in which the single classes are hierarchically coupled in two or more levels, thereby enabling to forecast the class-wise cooling load forecast.
Further, the exemplary embodiment has a merit in that the levels such as month, week, day, time-of-day, minute time, etc. are hierarchically defined for the management of the cooling load, thereby enabling the analysis and prediction in accordance with a level of abstraction.
Moreover, the exemplary embodiment may contribute to the progressive expansion and update of a cooling load forecasting system because even though a new level or a new class in the new level is added, the cooling load forecaster 100 in accordance with the embodiment trains only class that has been newly added without having to relearn the entire system again.
The above and other objects and features of the present invention will become apparent from the following description of the embodiments given in conjunction with the accompanying drawings, in which:
The advantages and features of exemplary embodiments of the present invention and methods of accomplishing them will be clearly understood from the following description of the embodiments taken in conjunction with the accompanying drawings. However, the present invention is not limited to those embodiments and may be implemented in various forms. It should be noted that the embodiments are provided to make a full disclosure and also to allow those skilled in the art to know the full scope of the present invention. Therefore, the present invention will be defined only by the scope of the appended claims.
In the following description, well-known functions or constitutions will not be described in detail if they would unnecessarily obscure the embodiments of the invention. Further, the terminologies to be described below are defined in consideration of functions in the invention and may vary depending on a user's or operator's intention or practice. Accordingly, the definition may be made on a basis of the content throughout the specification.
Hereinafter, an apparatus and method capable of forecasting energy consumption based on a multi-class will be described in detail with reference to the accompanying drawings. Among other things, the exemplary embodiment of the present invention will be explained about an apparatus and method for forecasting a use of a cooling load from among energy consumption.
As illustrated in
The load data collection unit 122 collects data related to a cooling load from among the low level data for the storage thereof and may be implemented with a storage device such as a hard-disk drive.
The load data collection unit 122 also delivers the low level data to the filtering/attribute selection unit 112 and the cooling load forecasting unit 126.
The filtering/attribute selection unit 112 selects optimal attributes to be used for forecasting the cooling load by removing data in advance that has a duplicated property or hinders a forecast performance from among the low level data necessary for forecasting and analyzing the cooling load. In this case, the data that hinders the forecast performance may be defined in advance or may be a data that has not been frequently used below an average.
In other words, the filtering/attribute selection unit 112 eliminates useless data to forecast the cooling load to achieve the reduction of data in level, which results in shortening the performance time for forecasting and classifying the cooling load as well as improving the forecasting performance. This filtering/attribute selection unit 112 is in charge of searching an attribute subset ‘d’ in which attributes that are hardly used or have a duplicated property have been eliminated from an initial attribute set ‘D’, i.e., the low level data.
An exemplary embodiment of the present invention employs a method for selecting attribute subsets, but not limited to, “Correlation-based feature selection for machine learning, PhD Diss. Department of Computer Science, Waikato University, Hamilton, NZ, 1998”, of which performance is verified among the other methods.
The method employed in the embodiment of the present invention is a method for searching an attribute set having a minimum number of attributes, i.e., an optimal attribute set capable of representing a probability distribution of overall attributes as close as possible by calculating a conditional probability using the best first search method, an entropy of an attribute or feature Y, and the Pearson's correlation coefficient between a target class having the attribute Y and the remaining attributes. First, in order to obtain information gain of the attributes included in the low level data, the entropy of the arbitrary attribute Y is calculated by Equation 1 as follows.
If the observed values of Y in the training data are partitioned according to the values of a second feature X, and the entropy Y with respect to the partitions induced by X is less than the entropy of Y prior to partitioning, then there is a relationship between features Y and X. Equation 2 gives the entropy of Y after observing X.
The amount by which the entropy of Y decreases reflects additional information about Y provided by X and is called the information gain. The information gain for each attribute can be defined by Equation 3 using Equations 1 and 2.
Gain=H(Y)+H(X)−H(X,Y) Eq. 3
Based on the information gain obtained from Equation 3, conditional probability correlation is calculated using two arbitrary attributes X and Y, the distribution between the arbitrary attribute X and a target class having the arbitrary attribute Y, and Pearson's correlation coefficient on a basis of the symmetrical uncertainty as illustrated in Equation 4. Furthermore, the correlations in Equation 4 should be normalized to ensure they are comparable and have the same affect. In this case, if the attribute Y has a higher distribution over the attribute X and has a correlation with respect to the attribute X, the attribute X is included in a subset that can effectively represent all attributes, but the attribute Y is not included in the subset. Similarly, the correlation and distribution and between target classes including the arbitrary attribute Y and the remaining attributes are calculated to form the subsets.
In order to evaluate how each subset Fs⊂F effectively express overall attributes or features therein, a merit function is used as in Equation 5.
Where Fs is the merit function of a feature subset S containing k features,
Further, a subset whose merit function has the largest value in Equation 5 is determined as the subset that can optimally express the attributes, and the determined subset is determined as an optimal attribute set.
The optimal attribute set determined through the above procedure is provided to the filtering unit 124, the cooling load forecasting unit 126 and the training unit 114.
The training unit 114 produces a multi-class in which a plurality of single classes is hierarchically coupled in two or more levels wherein each single class has its optimal attribute set and creates a training data for forecasting the cooling load based on the multi-class.
As shown in
The training unit 114 generates the multi-class using the single classes, each having a determination boundary surface that represents only the single class when generating the multi-class. For example, the training unit 114 selects the determination boundary surface as ‘one-class SVM’ independently representing a corresponding single class and generates a multi-class SVM on a basis of an SVDD for producing a single class SVM.
The training unit 114 may include a classifier 114a to classifying the respective single classes in the course of the generation of the multi-class SVM.
The classifier 114a generates each of the single classes by defining a sphere which includes the training data for the respective single classes and minimizes its volume, which will be discussed as follows.
Given a k-data set Nk of patterns in a d-dimensional input space, Dk={xkiεRd|i=1, . . . , Nk}, where k=1, . . . , K, the multi-class SVM based on SVDD is defined as the problem of obtaining a hypersphere that maximizes the number of training datasets while minimizing the radius. It is formalized as the following mathematical optimization problem expressed as Equation 6.
where ak is the center of the sphere that expresses the k-th class, Rk2 is the square value of the sphere radius, ζik is a penalty term that denotes the deviation of the i-th training data element xik from a sphere and C is the trade-off constant.
Lagrange function such as Equation 7 is introduced in order to solve a dual problem on Equation 6.
Where,
a
i
k≧0,nik≧0,∀i. Eq. 7
Based on the saddle point condition, Equation 7 must be minimized with respect to Rk2, a_k and ζik, and maximized with respect to αk and nk. The optimal solution of Equation 6 should satisfy the following Equation 8.
By substituting Equation 8 into the Lagrange function L of Equation 7, the double problem can be obtained as in Equation 9.
The sphere defined on the input space may represent only a region in an extremely simple form. In order to overcome such a limitation, the sphere may be extended in such a direction to use a sphere defined on a feature space F of a high dimensional that is defined through a kernel function k. Since the respective single classes can express more correctly their boundary in their respective feature spaces, the training of the apparatus may be made by obtaining a solution to a convex QP (Quadratic Problem) corresponding to Equation 10 in consideration of independence of the feature spaces to which the respective classes are mapped.
Especially, if the Gaussian kernel is used in Equation 10, it comes in k(x,x)=1. Thus, the above problem can be further simplified as below Equation 11.
In the course of the application after the completion of the training, the determination function of the respective classes can be defined by following Equation 12.
Since the output fx(x) of a one-class SVM defined in different feature spaces represents the absolute distance between the corresponding data and the decision boundary, determining the pertaining class by comparing absolute distances in different feature spaces is not recommended.
Therefore, an absolute distance fx(x) is divided by a radius Rk to thereby calculate a relative distance {circumflex over (f)}x(x)=fk(x)/Rx, and a class that has the largest relative distance is determined as a class to which an input data x belongs. That is, the belonging class of the input data x can be determined on a basis of the following Equation 13.
The training unit 114 decides the classes to which the respective input data belongs on a basis of Equation 13 using the classifier 114a and generates the multi-class by hierarchically coupling the decided belonging classes.
The training unit 114 also creates the training information for forecasting the cooling load based on the multi-class and then provides the training information to the cooling load forecasting unit 126. That is, the training unit 114 creates the training information every single class and provides the training information to the cooling load forecasting unit 126.
The filtering unit 124 performs a filtering of the low level data on a basis of the optimal attribute set provided from the filtering/attribute selection unit 112 and provides the filtered data to the cooling load forecasting unit 126.
The cooling load forecasting unit 126 forecasts the cooling load on a basis of the training data provided from the filtering unit 124. More specifically, the cooling load forecasting unit 126 forecasts the cooling load for each single class using the filtered data and training information of the corresponding single class.
Although the exemplary embodiment of the present invention has been shown and described as an example of the cooling load, it may be possible to use a variety of energy consumption such as electricity use, water use, and heating energy use, in addition to the cooling load, for the prediction of the energy consumption.
Unlike to provide only the error range between an actual cooling load and a predicted cooling load based on a conventional regression analysis which is a typical statistical method and is actively utilized in the cooling load forecast, the cooling load forecaster 100 in accordance with the embodiment forecasts the cooling load using a structure in which the single classes are hierarchically coupled in two or more levels, thereby enabling to forecast the class-wise cooling load forecast.
Further, the cooling load forecaster 100 in accordance with the embodiment hierarchically defines the levels such as month, week, day, time-of-day to manage the cooling load, thereby enabling the analysis and prediction in accordance with a level of abstraction.
In addition, even though a new level or a new class in the new level is added, the cooling load forecaster 100 in accordance with the embodiment trains only class that has been newly added without having to relearn the entire system again, and, therefore, it is possible to contribute to the progressive expansion and update of a cooling load forecasting system.
While the invention has been shown and described with respect to the exemplary embodiments, the present invention is not limited thereto. It will be understood by those skilled in the art that various changes and modifications may be made without departing from the scope of the invention as defined in the following claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2012-0108638 | Sep 2012 | KR | national |