1

Uncertainty Aware Minority Game Based Energy Management System for Smart Buildings Xingyu Cai, Chun Zhang, Hao Yu, Member, IEEE, Radhika Bhar, and Hoay Beng Gooi, Senior Member, IEEE

Abstract—For the sake of accurate energy resource allocation in smart buildings with hybrid solar energy and main electrical grid, an uncertainty-aware minority-game based energy management system (UAMG-EMS) is introduced in this paper. Multiple agents are deployed in the building, and are able to consider two types of uncertainties: (i) stochastic noise from energy meters/sensors; and (ii) uncertain working behaviors from load side. Firstly, agents can perform Kalman Filter based errorcorrection algorithm to reduce the stochastic noise coming from energy meters/sensors. Moreover, agents can have supervised learning to predict uncertain energy profiles. Afterwards, agents can play a modified minority game based energy management to allocate the limited solar energy resource. To extend the scalability of agents for the entire building, K-means based classifier is applied to characterize the types of agents and hence can reduce the number of agents for large-scale buildings. Compared with the conventional minority-game based energy management system (MG-EMS) without considering uncertainty, our UAMG-EMS shows about 37% reduction of unbalance in fair solar energy allocation, and also about 23% reduction of noise influence merely based on inaccurate energy meters/sensors. Index Terms—Multi-agent, Uncertainty aware, Minority game, Energy management system

I. I NTRODUCTION According to [1], there are more than 79 million residential buildings and 5 million commercial buildings in the US together consuming 70% of electricity in the country. As a result, an increasing demand is observed to design energy management system (EMS) for buildings. Smart buildings are expected to be equipped with automatic controller with computer-aided-design (CAD) for EMS. Although have been extensively studied, the traditional EMS [2][3] has the limitations to address the following features: (i) decentralized realtime control; (ii) management of renewable energy resources; and (iii) modeling of stochastic and competitive natures for both energy generation and consumption. Among them, uncertainty in EMS can significantly affect the prediction and decision-making process, which possibly leads to a failure of fair energy allocation. For example, due to the intermittent nature of renewable energy resources generation [4], it is difficult to predict the energy consumption such that it may degrade the EMS if new energy consumption patterns appear. In addition, measurement error from energy meter [5] also introduces unavoidable uncertainty. To achieve a better energy allocation and high utilization rate of hybrid energy sources, real-time and decentralized-fashioned EMS is discussed recently. The multi-agent-based EMS (MA-EMS) [6][7][8] is proposed to construct a distributed energy control system, which solves the inherent limitations of centralized systems. The work in [9][10] further considers the competitive nature during energy allocation by minority-game algorithm and hence reduces unfairness to different users. However, without the consideration of the uncertainty such as stochastic noise on energy meters/sensors and stochastic energy supplier/consumer behaviors, previous works may severely relies on high-precision energy meters under ideal energy profiles. This may cause an unacceptable expense since quite a few highaccuracy energy meters/sensors are required in the entire building. More importantly, previous works usually need to perform resource allocation based on the fixed energy profiles. As such, fairness on Please address comments to [email protected]. This work is sponsored by Energy Research Institute @ Nanyang Technological University.

cheap-renewable-energy usage cannot be guaranteed because of the existence of unpredicted consumer behaviors. In this paper, we propose an uncertainty-aware minority-game based energy management system (UAMG-EMS), which is applied in smart buildings supplied with hybrid solar energy and main electrical grid energy. Given limited amount of cheap solar energy, the UAMG-EMS is deployed by multiple agents to achieve fair solar energy allocation among rooms with time-varying energy demands. Meanwhile, stochastic noise introduced by energy meter/sensor is considered by agents so that the management can rely on valid data. Our contributions can be summarized as: (i) uncertainties in user demand are handled by supervised-learning based energy prediction developed for each agent; (ii) noise of energy meter/sensor is reduced by Kalman-filter for each agent; and (iii) K-means clustering based classifier is applied to characterize and identify the typical agent. After intelligent agents deal with uncertainties, they further play the minority game for reliable and scalable energy resource allocation of smart buildings. The rest of the paper is structured as follows. In section II, we briefly review the previous work on minority game based EMS (MGEMS). Section III is the overview of our proposed system. In section IV, our UAMG-EMS algorithm is demonstrated. We separately demonstrate the clustering, supervised learning, and error correcting techniques. In section V, the experiment results are compared with previous works. Finally Section VI concludes this paper.

II. R ELATED W ORKS The minority game-based EMS (MG-EMS) for smart building is modeled as a multi-agent system, in which multiple agents get allocated with solar energy resources through specially designed minority game playing strategies [9][10]. This is mainly based on the observation that: 1) the renewable energy resource is relatively cheaper but with limited amount; and 2) individual tenants in either residential or commercial buildings tend to compete for the limited renewable energy resources. As such, one needs to deploy the noncooperative policy during the energy management. In minority game, game players (or agents) make their decisions independently based on both historical knowledge and their own preferences. After all players make decisions, the minority side, which contains the least number of players making the same decision, is declared as the winner of the game and will get corresponding benefits. Recently the minority game has gained increased interests for solving various resource allocation problems [11][12][13]. In previous work [9][10], MG-EMS is applied to energy management for smart building and houses. The results show an optimistic result of 51x/147x solar energy utilization rate improvement regarding the fair allocation; and 30.6% reduction of peak hour energy demand for main power-grid electricity. However, previous works are limited by ignoring the uncertainties in the energy system of buildings. Specifically, energy-profile data collected from energy meters/sensors tends to deviate from real values due to stochastic measurement errors [5][14]. Note that energy meters/sensors can be influenced by various factors such as temperature and humidity. Moreover, another critical concern is the unpredictable behavior of energy consumer. Generally speaking, the energy consumption profile of end users can change with time even for the same customer. Thus, the agent needs to adapt dynamically to the energy consumption behavior of the corresponding consumer,

2

Solar Energy Supply Profile

Energy Storage System

Cluster Detector

Game Arbitrator

K-means Engine

Attractive Ranking Cluster1

Cluster1 Supervised Learning Prediction

Error Correction

Cluster2

Cluster2 Game Participant

Supervised Learning Prediction

Room A

Room B

Room B Error Correction



respectively. To make the best utilization of solar energy, we assume the existence of energy storage system (ESS) that could reserve solar energy for its use at peak hours. The outcome of UAMG-EMS is the solar energy allocation decision for each room represented by variable σi (t) σi (t) =

……

Cluster … Game Participant

Room A



Main Electrical Power Grid

Hybrid Energy Suppliers

Supervised Learning Prediction

Game Participant

Room A Room B Error Correction



(0, 1], solar energy proportion in total energy use 0, only main electrical grid energy is selected

(1)

Furthermore, we design the UAMG-EMS to achieve the following objective: As the solar energy is relatively cheaper compared to the main electrical grid energy, rooms always prefer to use the solar energy. Given the limited amount of solar energy available, the proposed UAMG-EMS is targeted to fairly allocate solar energy among rooms with vastly different energy demands. In other words, one needs to find the set of σi (t) that minimizes the standard deviation of allocated solar energy to each room after running the system for T times.



Fig. 1: Architecture diagram and flow chart of uncertainty aware minority game based energy management system (UAMG-EMS)

arg min(dev( σi (t)

Z

T

σi (t)Di (t)dt))

(2)

0

Note that as one strict constraint, the allocated solar energy must not exceed the available amount at all times N X

σi (t)Di (t) ≤ B(t)

(3)

such that agents can make better decisions to fulfil customer demands. Furthermore, the number of tenants or rooms in modern buildings is so large that will impose non-negligible computation overhead for the EMS. As such, one needs to find efficient ways to prune the number of agents participating in the MG-EMS and to be scalable for large-scale systems.

where B(t) is the amount of solar energy stored in ESS at time t.

III. S YSTEM OVERVIEW

In this section, we describe the detailed components and managing procedures of the proposed UAMG-EMS.

i=1

IV. U NCERTAINTIES -AWARE M INORITY- BASED E NERGY M ANAGEMENT S YSTEM

A. Overview Fig. 1 illustrates the overall system architecture and working flow of our proposed uncertainty-aware minority-game based energy management system (UAMG-EMS). Basically, the smart building is consisted of a large number of rooms with different types, such as commercial and residential rooms. In addition, the building is supplied with hybrid energy resources: renewable solar energy from photovoltaic (PV) arrays on top of the building, and the main electrical grid which compensates the energy gap between the energy demand of the entire building and the solar energy generated. Since the solar energy is much cheaper than the energy from main grid, the UAMG-EMS is utilized to fairly allocate the limited amount of solar energy among rooms such that each room could benefits similarly from the renewable energy. In our system the minority game players are represented by intelligent agents, which can be implemented with smart controllers. Basically, the UAMG-EMS is carried out at specific time point (e.g., each hour) to decide the solar energy allocation scheme for the next period of time. At each control point, the classification engine is executed first to group rooms into different clusters based on the similarity of energy utilization profile in the past. As such, the complexity of control could be greatly reduced by cluster-level game playing. Then, the supervised-learning based prediction engine is implemented to predict the energy demand of each cluster based on historical data, which resolves the load behavior uncertainty to certain level of confidence. Thirdly, the minority game is played among different clusters to make the solar-energy-allocation decisions. Finally, the Kalman-filter is realized to filter out uncertainties introduced by energy meter/senor measurement errors. Note that all the learning, game playing and filtering are implemented in the decentralized manner based on multiple agents.

B. Problem Formulation Formally, we denote the energy demand of room i, 1 ≤ i ≤ N and solar energy generated at time t as random variables Di (t) and E(t),

A. Room Type Classification and Clustering As the number of rooms in a modern building often exceeds hundreds, it is beneficial to scale down the number of participants for the energy management to reduce the system complexity for better performance. Intuitively, it is common that several rooms share similar energy usage patterns due to similar life styles, working schedules, etc. As such, we propose to perform smart classifications based on historical data to divide rooms into clusters. After that, only the clusters are used as the representatives to participate in the energy allocation game. In this paper, the K-means [15][16] clustering technique is utilized for classification. To implement the technique, it is important to translate the energy utilization profile into abstract data point in high dimensional space. In our case, the observation is made that the energy profile demonstrates periodical behaviors. Specifically, the profile repeats in a daily basis. As such, we represent the energy behavior of each room as an 24-dimensional tuple, where each element stands for the average energy demand for the given hour over historical data (i.e., one month):

PU

Di,k,j , U = 30 (4) U where Cij is the j-th element in the tuple of the i-th room, and Di,k,j is the energy demand of room i on k-th day at hour j. Algorithm. 1 illustrates the pseudo code of the detailed K-means classification engine. Starting with M random centers for each cluster, the Euclidean distance of each room to every center is calculated. Then, each room is decided to be belonged to the center (i.e., cluster) with minimal distance. After that, the position of each center is recalculated as the average of all points within the cluster. The classification is iterated until the position change of all centers is under certain threshold. According to [17][18], the selection of initial centers will affect the convergence and lead to local minimization. To avoid this case, Cij =

k=1

3

Algorithm 1 K-means clustering Require: a. Cluster Number M ; b. Energy demand profile Cij , i ∈ [1, N ], j ∈ [1, 24], N is the room number; Ensure: Cluster matrix Gij , i ∈ [1, M ], j ∈ [1, N ]  1, room j in cluster i Gij = 0, room j not in cluster i 1: 2:

3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27:

BEGIN Initialize cluster center: Centerpt = Cpt , p ∈ [1, M ], t ∈ [1, 24]; Set center of last step CenterL = 0; while | CenterL − Center |> T hreashold do CenterL = Center Count = 0 G=0 //Calculate distances of each room to centers for i = 1; i ≤ M ; i + + do for j = 1;q j ≤ N ; j + + do P24 2 Dij = t=1 ((Cjt − Centerit ) ) end for end for //Put room into cluster with closest center for j = 1; j ≤ M ; j + + do if Dkj = min Dij , i ∈ [1, M ] then Gkj = 1 //roomj belongs to centerk Countk + + end if end for //Calculate the new centers for i = 1; i ≤ M ; i + + do for t = 1; t ≤ 24; PNt + + do Cjt ×Gij Centerit = j=1 Counti end for end for end while END

Firstly, as the energy profile shows a daily-based periodic behavior, the training is better to be based on a daily basis as well. More specifically, the training set T contains S elements, where each element is the energy demand profile of one whole day. T = {Tij |1 ≤ i ≤ S, 1 ≤ j ≤ 24}

Secondly, we observe that later days in the training set shall have larger impact on the prediction result. To introduce such knowledge into the training process, we assign each day with a daily weight σi , where σi > σi−1 > . . . > σ1 . Thirdly, we observe that there exist certain days with extreme abnormal behaviors. To avoid such undesired cases, we propose to filter out the abnormal data. Specifically, we compute the average energy utilization Q over the entire training set: Q=

(

PS

Due to different weather conditions, room settings and user behaviors, there exist uncertainties in user energy demands. As the value of energy demand is important for making correct energy scheduling and allocation decisions, one needs to develop an EMS that is able to dynamically capture and react upon these variations at runtime. Supervised learning [19] is one effective and practical technique for discovering relation, extracting data and self-improving. The goal of the supervised learning is to derive a mapping from x ∈ X to y ∈ Y such that the average mapping error is minimized, given the training sets that consist of input and output pairs. Here, X and Y denote the input features and measured outputs, respectively. In this work, we propose to adopt the Polynomial regression technique as to predict future energy consumption based on past energy profile data. Specifically, the input feature is time in our approach, while the output is the predicted amount of energy demanded. Based on clustered result, we can achieve a more scalable prediction work for each cluster instead of for each room. As in any supervised learning engine, the result depends largely on the selection of training set. In our method, we build the training set based on three observations.

Ti )

(6)

S

y = a0 + a1 x1 + a2 x2 + ... =

N X

ai x i

(7)

i=0

where ai are the coefficients to be trained. The minimization of prediction errors equals to arg min(

N U S X X X

(

2 an xn j − Tij ) Wi ),

S = 7, U = 24 (8)

i=1 j=1 n=0

where Wi = σi ρi , and in our approach, xj = j ∈ [1, U ]. By taking first order partial differentiation on ak for the above function and let it equal to zero, we get: S X

Wi

U X j=1

xn+k j

N X n=0

S=7

B. Supervised-learning based Prediction of Energy Load

i=1

Then, we define the upper bound as 23 Q and lower bound as 12 Q to recognize the abnormal situation. If the data of any training element exceeds these bounds, a special weaken factor ρi will be applied to reduce its weight in the training set. Based on above mentioned training set pruning techniques, we formalize the prediction process as a polynomial fitting problem:

i=1

we perform the clustering several times with different randomly generated centers to avoid biased cases. In addition, the number of clustering can be changed adaptively based on the error rate of clustering.

(5)

an =

S X

Wi

i=1

U X j=1

Tij xkj

(9)

U = 24

where k is from 1 to N . Rewrite the problem into matrix representation: Fa = b (10) where F is a N × N matrix while a and b are N × 1 vectors. By introducing LU factorization with pivoting technique to solve the equation, the coefficients a of the polynomial are obtained and thus we can utilize the fitting curve to predict the energy consumption behavior of next day. Note that the training set T moves along the time axis so that after one prediction, the data of the latest day will be shifted in and the data of the earliest day will be shifted out from T. Using this training window, the prediction engine adapts to more recent changes since latest knowledge is dynamically included with higher weight.

C. Modified Minority Game Playing To realize decentralized control, the minority-game-playing based method is utilized to make solar energy allocation decisions [10][9]. Since the game rules consider not only real-time demand for energy usage but also the historical resource allocation results, selfish customers cannot monopolize limited solar resources in the building. To formally illustrate the modified minority game, two factors are introduced. The preference factor decides the tendency for each player to choose the solar energy as supply for the next period of time.

4

Ek (t) , Pk (t) = PU Ek (t) t=1

U = 24

(11)

where Pk (t) denotes the pref erences at hour t for cluster k, Ek (t) is the predicted energy demand at time t. When a cluster is about to experience a high energy demand period, it will have high willingness for solar energy to reduce the cost of using power-grid energy. The history factor is used to balance the energy allocation.

generality, other kinds of noise with known covariance can also be handled by Kalman Filter. Note for the kalman Filter to handle vector data in our case, the corresponding scalar calculation is operated element-wisely. Given an initial estimate error covariance Pi (k − 1) generated randomly, the Kalman Filter theory [20] applies: Pi (k) = Ai Pi (k − 1) + Q

(18)

(12)

where i denotes the i-th hour’s case. Next step is to calculate Kalman Gain K: Pi (k) Ki (k) = (19) Pi (k) + R

where Sk represents the cost-saving for cluster k in the past, and N is the total number of clusters. The cost-saving function Sk is defined as

After Obtaining Kalman Gain Ki (k), the optimized result x ˆi (k) is calculated by:

Sk Hk (t) = 1 − PN

k=1

Sk =

t X

Sk

∆price(τ ) × Eksolar (τ )

τ =0

where ∆price(τ ) is the electricity price difference between main power grid and solar energy at time τ , and Eksolar (τ ) is the total amount of solar energy allocated for cluster k at time τ . Intuitively, the more solar energy one cluster has been allocated before, the less chance for it to receive solar energy in the future. The minority game is played as follows. At each round, each cluster computes its attractiveness based on preference and history factors using: Attrk (t) = αk × Hk (t) + (1 − αk ) × Pk (t)

(14)

where that αk is used to adjusting the weight of different factors for cluster k. Then, the cluster with highest attractiveness will get allocated with solar energy. After that, all historical data is updated by actual energy usage, and the game moves to the next control step.

D. Error Correction and Data Update Due to various factors like noises, there exist measurement errors in smart meters/sensors. As such, it is important to handle the uncertainties for better energy management. Kalman Filter, a widely applied technique in the data fusion domain, is utilized in our proposed UAMG-EMS with the prediction data as priori knowledge and the data collected from meter/sensor as observation correction. Specifically, the energy consumption profile data is a discrete sequence that can be described as: x(k) = Ax(k − 1) + Bu(k − 1) + L(k)

x ˆi (k) = x ˜i (k) + Ki (k)(zi (k) − x ˜i (k))

(13)

(15)

where x(k) is the hourly energy consumption vector of k-th day, A is the transformation matrix and L(k) is the process error which is the error introduced by the priori knowledge of prediction. Note that in our approach, we don’t have any input and thus u = 0. In our approach, the transformation matrix could be further simplified to ratio transformation: x ˜i (k) Ai = , i ∈ [1, U ], U = 24 (16) x ˆi (k − 1) where x ˜i (k) denotes the predicted value for the k-th day at the ith hour, and x ˆi (k − 1) denotes the (k − 1)-th day’s data at i-th hour provided after last filtering iteration. The energy meter/sensor is modeled as: z(k) = Hx(k) + V(k) (17) where z(k) is the energy consumption vector provided by meter/sensor, H is the observation system parameter matrix which is actually 1 because the meter/sensor is read out directly. In addition, V(k) here denotes the error brought by the meter/sensor, which is usually known as observation noise. As a reasonable simplification, we assume that both the process error and the meter/sensor noise meet normal probability distributions, such that the means are zero and covariances are Q and R respectively. We further assume that Q and R do not change along with time step k. Without losing

(20)

Finally, we update the value of Pi (k − 1) with Pi (k), which finishes one filter iteration. For clarification, the entire flow of the proposed UAMG-EMS is presented in Algorithm. 2.

Algorithm 2 UAMG-EMS Entire Process 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26:

BEGIN Perform clustering for N rooms into M clusters while day ≤ 30 do //Supervised learning prediction for Each cluster do Set last S days Training Set: T = {Tij |1 ≤ i ≤ S, 1 ≤ j ≤ 24} CalculateP regression curve: S PU arg min( i=1 j=1 (yij − Tij )2 Wi ) end for //Play minority game between clusters for Each hour t in day do for Each cluster k do Attrk (t) = αk × Hk (t) + (1 − αk ) × Wk (t) end for Allocate solar energy to cluster k if: Attrk (t) = max Attrp (t), p ∈ [1, M ] end for day + + Reading (day − 1)-th data z from meter/sensor //Perform Kalman filtering for (day − 1) for Each hour t in (day − 1) do for Each cluster k do x ˆt (day−1) = x ˜t (day−1)+Kt (day−1)(zt (day− 1) − x ˜t (day − 1)) end for Update x ˆt (day − 1) end for end while END

V. E XPERIMENT R ESULTS To verify our proposed energy management system, we perform simulations based on the data collected from real world testbed from [4][21]. Specifically, we consider the smart building consisted of 24 residential and commercial rooms, and each room is associated with energy load profile recorded per hour for one month (i.e., 30 days). Rooms of different types have different characteristics in load behavior, which could be observed from Fig. 2. Basically, we find that residential rooms reach their peak hour workloads in the evening while commercial rooms tend to consume more energy during daytime. The proposed UAMG-EMS is implemented by C++ and Matlab, and all presented results are computed on an Intel Core i5 with 2.6GHz clock frequency and 4GB of RAM.

5

One month total error for residential room

Polynomial regression for commercial rooms 3 Prediction curve Past seven days curve

1.2 Workload(kw/h)

Workload(kw/h)

Workload(kw/h)

0.8

2

1.5

0

5

10 15 Time(hour)

20

1

25

0

5

10 15 Time(hour)

20

Fig. 2: Supervised-learning by polynomial regression for predication of energy load profile

Value 15 3% 24 2 7

4 3.8271 9.8615

... ... ...

2.6

Observed Curve Predicted Curve True Curve Filtered Curve

0.5 0.4

5

10 15 Time(hour)

20

Workload(kw/h)

Workload(kw/h)

2.4

0.6

25

0.5

30

10

15

20 Time(day)

25

30

Allocation unbalance based on filtered data 220

210 200

Allocated to residential room Allocated to commercial room

215 210 205 200 195 190 185 180

Total unbalance: 169.04

180

10

15 20 Time(day)

25

30

175

Total unbalance: 107.607 5

10

15 20 Time(day)

25

30

Workload for commercial room

1

0.7

20 Time(day)

Fig. 5: Comparisons of solar energy allocation with error filtered and without error filtered, respectively

1.1

0.8

15

5

Divided into 2 clusters 1 2 3 8.2838 4.7144 3.8271 9.3377 10.363 9.8615

0.9

10

190

TABLE II: Center Movement in K-means Clustering

2 1.5 1

Allocation unbalance based on measured data 230 Allocated to residential room Allocated to commercial room 220 Workload(kw/h)

Parameter Regression polynomial order Gaussian noise scale Number of rooms Number of clusters Size of training set

Workload for residential room

0.6

2.5

Fig. 4: Workload profiles with accumulated one-month error filtered for residential and commercial rooms, respectively

TABLE I: UAMG-EMS Parameters

TimeStep Center1 Center2

0.8

0.2

25

Total filtered error = 19.8408 Total prediction error = 31.9031 Total noise = 25.5191

3

0.4

0.6

0.4

3.5 Total filtered error = 7.9409 Total prediction error = 12.7396 Total noise = 10.477

1

2.5 1

One month total error for commercial room

1.2

Workload(kw/h)

Prediction Curve Past Seven Days Curve

Workload(kw/h)

Polynomial regression for residential rooms 1.4

2.2 2 1.8 Observed Curve Predicted Curve True Curve Filtered Curve

1.6 1.4 1.2

5

10 15 Time(hour)

20

Fig. 3: Workload profiles with measurement error filtered for residential and commercial rooms, respectively

Fig. 2 shows the typical supervised learning-based load energy prediction result, where the energy profile of past seven days (i.e., training set) is used to predict the energy consumption for the next day. Similarly, Fig. 3 demonstrates the prediction result when measurement error is considered for energy load profiles, from which we can conclude that the 15-th order polynomial achieves a fairly good fitting. In Fig. 4, the total prediction error for one month, which is defined as the absolute difference between predicted and actual energy demand. Clearly, we observe that our prediction under stochastic noises is quite close to real value, with the same scale as the meter noise(i.g., 3% perturbation from true curve).

B. Error Correction Results To account for measurement errors on smart meters/sensors, we add a Gaussian white noise with 3% magnitude on the load profile from [21]. This is reasonable because usually the energy meter/sensor is influenced by various factors like weather, and usually the noise behaves like a normal distribution of N (0, σ 2 ). In addition, we fixed the order of polynomial used in supervised learning as 15, which is obtained through trial and error for the prediction error to be within certain user-specified bounds. Table. I summarizes all the parameter settings used in our experiments.

To account for measurement errors in smart meters/sensors, we need to update the data for latest day by performing a Kalman filtering process such that the accurate data could be recovered. Fig. 3 compares the prediction curve, the observation curve, the Kalman filtered curve and the curve for true values. Meanwhile, prediction error, noise and Kalman filtered data error are also demonstrated in Fig. 4. Clearly, after the Kalman filtering process, an average of 23% total noise perturbation can be reduced. As a result, it can significantly improve the EMS for more accurate energy resource allocation.

A. Clustering and Prediction Results

C. UAMG-EMS Result

The proposed UAMG-EMS starts with room clustering using the K-means technique as mentioned in section IV-A. Table. II shows the clustering results for each iteration, in which the number represents the abstract locations 1 of each cluster center (2-norm of center vector). Obviously, the center of each cluster converges quickly after only 3 K-means iterations, which means the clustering process is completed and all rooms are split into 2 main types. Note the number of centers can be decided at run time based on user specified error bounds as well.

As the baseline system with no consideration for energy profile uncertainties, we also implemented the work MG-EMS in [10] for comparison. Fig. 5 compares the unfairness of solar energy allocation for each cluster using these two EMSs. The unfairness is quantitatively defined as the total amount of unbalanced solar energy allocated to different clusters. In the figure, red curves and blue dotted curves represent solar energy allocated to residential rooms and commercial rooms, respectively. The smaller the mismatch of these two curves, the better the fair energy allocation is achieved. Compared to non-stochastic MG-EMS, a 37% reduction of unbalance in fair solar energy allocation is observed, which verifies the effectiveness of the proposed UAMG-EMS for handling energy profile uncertainties.

1 Since each location vector contains 24 dimensions, here we only show the 2-norm of the vector to represent the abstract locations of rooms and centers.

6

VI. C ONCLUSION In this paper, we have developed the uncertainty-aware minoritygame based energy management system (UAMG-EMS) for smart buildings. Specifically, the renewable energy allocation is handled by multiple agents represented for rooms or typical rooms. The agents can consider two types of uncertainties from energy load profiles. The user-behavior introduced energy load uncertainties are handled by supervised-learning based prediction; and the energy meter/sensor measurement introduced errors are resolved through Kalman filtering. In addition, we have also developed the classification technique to cluster rooms (or agents) with similar behaviors into typical rooms (or agents) such that the scale of the energy management system can be extended to deal with largescale smart buildings. Compared to conventional non-uncertainty MG-EMS, our UAMG-EMS shows about 23% reduction of noise influence merely based on noise-polluted data, and 37% reduction of unbalance in fair energy allocation.

R EFERENCES [1] N. Lu, T. Taylor, W. Jiang, J. Correia, L. Leung, and P. Wong, “The temperature sensitivity of the residential load and commercial building load,” in Power Energy Society General Meeting, 2009. PES ’09. IEEE, july 2009, pp. 1 –7. [2] J. Kleissl and Y. Agarwal, “Cyber-physical energy systems: focus on smart buildings,” in Proc. Design Automation Conf., 2010, pp. 749–754. [3] S. Chen and H. Gooi, “Capacitor planning of power systems with wind generators and pv arrays,” in TENCON IEEE Region 10 Conf., 2009, pp. 1–5. [4] Solar energy generation profiles, elizabeth city state university. [Online]. Available: http://rredc.nrel.gov/solar/new data/confrrm/ec [5] G. Stubbings, “The mean error of an electricity meter,” Electrical Engineers, Journal of the Institution of, vol. 59, no. 299, pp. 335 –338, march 1921. [6] K. Kok and G. Venekamp, “Market-based control in decentralized electrical power systems,” in Int. Workshop on Agent Technologies for Energy Systems, 2010. [7] T. Logenthiran, D. Srinivasan, A. Khambadkone, and H. Aung, “Multiagent system (mas) for short-term generation scheduling of a microgrid,” in Sustainable Energy Technologies (ICSET), 2010 IEEE International Conference on, dec. 2010, pp. 1 –6. [8] M. Pipattanasomporn, H. Feroze, and S. Rahman, “Multi-agent systems in a distributed smart grid: Design and implementation,” in Power Systems Conference and Exposition, 2009. PSCE ’09. IEEE/PES, march 2009, pp. 1 –8. [9] W. Wu, K. Muhd, H. Huang, H. Yu, and H. B. Gooi, “A real-time cyber-physical energy management system for smart houses,” in IEEE PES Innovative Smart Grid Technologies Asia, 2011. [10] C. Zhang, W. Wu, H. Huang, and H. Yu, “Fair energy resource allocation by minority game algorithm for smart buildings,” in to appear Design Automation and Testing in Europe, 2012. [11] M. Shafique, L. Bauer, W. Ahmed, and J. Henkel, “Minority-game-based resource allocation for run-time reconfigurable multi-core processors,” in Design, Automation Test in Europe Conference Exhibition (DATE), 2011, march 2011, pp. 1 –6. [12] K. Lam and H. Leung, “An adaptive strategy for resource allocation modeled as minority game,” in Self-Adaptive and Self-Organizing Systems, 2007. SASO ’07. First International Conference on, july 2007, pp. 193 –204. [13] H. Kutsuna, S. Tagashira, and S. Fujita, “A fair and efficient congestion control scheme based on minority game,” in Networks, 2006. ICON ’06. 14th IEEE International Conference on, vol. 1, sept. 2006, pp. 1 –6. [14] S. Hsieh, “Reduction of errors due to source and meter in the nonlinearity test,” in Test Conference, 1998. Proceedings., International, oct 1998, pp. 254 –257. [15] H. Xiong, J. Wu, and J. Chen, “K-means clustering versus validation measures: A data-distribution perspective,” Systems, Man, and Cybernetics, Part B: Cybernetics, IEEE Transactions on, vol. 39, no. 2, pp. 318 –331, april 2009. [16] T. Kanungo, D. Mount, N. Netanyahu, C. Piatko, R. Silverman, and A. Wu, “An efficient k-means clustering algorithm: analysis and implementation,” Pattern Analysis and Machine Intelligence, IEEE Transactions on, vol. 24, no. 7, pp. 881 –892, jul 2002. [17] L. Suresh, J. Simha, and R. Velur, “Seeding cluster centers of kmeans clustering through median projection,” in Complex, Intelligent and Software Intensive Systems (CISIS), 2010 International Conference on, feb. 2010, pp. 217 –222. [18] H. Oike, H. Wu, and T. Wada, “Adaptive selection of non-target cluster centers for k-means tracker,” in Pattern Recognition, 2008. ICPR 2008. 19th International Conference on, dec. 2008, pp. 1 –4. [19] O. Chapelle, B. Sch¨olkopf, and A. Zien, Semi-Supervised Learning. MIT press Cambridge, MA, 2006, vol. 2. [20] P. Hargrave, “Kalman filters: Introduction, applications and future developments,” in IEE Colloquium on Kalman Filters, feb 1989. [21] Load profiles for new hampshire electric co-op. [Online]. Available: http://www.nhec.com/rates electricchoice loadprofiles.php

Xingyu Cai received his B. S. degree of electrical engineering from Xi’an Jiaotong University, Xi’an, China in 2010. He is currently a Ph.D. student in School of Electrical and Electronic Engineering, Nanyang Technological University (NTU), Singapore. His research interests include cyber-physical energy management system modeling and verification methodology.

Chun Zhang received his B. S. and Ph.D. degree in Microelectronics department from Fudan University, Shanghai, China in 2005 and 2011, respectively. During 2010 and 2011, he was a visiting student to Electrical Engineering department at UCLA and Electrical and Computer Engineering department at University of Alberta. Since July 2011, he is a research fellow at school of Electrical and Electronic Engineering, Nanyang Technological University (NTU), Singapore. His primary research interests are 3D computing systems and designs at nano-tera scale, cyber-physical energy management systems, design automation and novel architectures of Field Programmable Gate Arrays (FPGAs).

Hao Yu (S’02, M’06) obtained his B.S. degree from Fudan University (Shanghai China) in 1999, and M.S./Ph. D degrees both from electrical engineering department at UCLA in 2007, with major of integrated circuit and embedded computing. He was a senior research staff at Berkeley Design Automation (BDA). Since October 2009, he is an assistant professor at school of electrical and electronic engineering, Nanyang Technological University (NTU), Singapore. His primary research interests are 3D computing system and designs at nano-tera scale. He has 58 peer-reviewed publications, best paper award in ACM Transactions on Design Automation of Electronic Systems (TODAES), best paper award nominations in DAC/ICCAD/ASP-DAC, and inventor award from semiconductor research cooperation (SRC). He is the associate editor and technical program committee member of several journals and conferences

Radhika Bhar was born in Calcutta, India in 1991. She appeared in the Indian School Certificate Examination in 2010 from La Martiniere for Girls, Calcutta and is currently a second year undergraduate student at school of Electrical and Electronic Engineering, Nanyang Technological University (NTU), Singapore. She was granted the SIA-NOL scholarship for her study in NTU and was also recognized in the Dean’s List, 2011. Her research interests include cyber physical energy management system for smart buildings and data centres. She is part of the URECA programme, acronym for Undergraduate Research Experience on Campus, which is a university-wide programme to cultivate a research culture among the most able undergraduates in NTU.

Hoay Beng Gooi (SM’95) received his B.S. degree from National Taiwan University, Taipei, Taiwan, in 1978, M.S. degree from the University of New Brunswick, Fredericton, NB, Canada in 1980, and Ph.D. degree from Ohio State University, Columbus, in 1983. From 1983 to 1985, he was an Assistant Professor with the Electrical Engineering Department, Lafayette College, Easton, PA. From 1985 to 1991, he was a Senior Engineer with Empros (now Siemens), Minneapolis, MN, where he was responsible for the design and testing coordination of domestic and international energy management system (EMS) projects. In 1991, he joined the School of Electrical and Electronic Engineering, Nanyang Technological University, Singapore, Singapore, as a Senior Lecturer, where he has been an Associate Professor since 1999. He was appointed as Deputy Head of Power Engineering Division in 2008. His current research focuses on microgrid EMS, electricity market, spinning reserve, energy efficiency, and renewable energy.

Uncertainty Aware Minority Game Based Energy ...

energy meters/sensors; and (ii) uncertain working behaviors from load side. Firstly, agents ... time control; (ii) management of renewable energy resources; and.

652KB Sizes 0 Downloads 208 Views

Recommend Documents

Fair Energy Resource Allocation by Minority Game ... - Semantic Scholar
resource from electrical power-grid and renewable energy resource from solar .... Solar PV panel [1] to harvest solar energy with dependence between the ...

Fair Energy Resource Allocation by Minority Game ...
resource from electrical power-grid and renewable energy resource from ... solar photovoltaic (PV) has been installed globally in 2010 [2][3]. Thus, there is an ...

An Energy Aware Tree based Routing - International Journal of ...
energy efficient cluster based routing scheme for zigbee WSN for proper utilization of network resources. Proposed work use ... Keywords: Zigbee Standard, IEEE 802.15.4 protocol, Wireless sensor network, Energy efficient routing, On-tree Self- prunin

Multicasting in Energy Aware Mobile Backbone Based ...
This work was supported by the National Science Foundation (NSF) Grant. No. ANI-0087148, by ...... big data packets is undesirable. The decoupling also ...

Global optimization of minority game by intelligent agents - Springer Link
room randomly at each round, it is found that the intel- ligent agents also ... agents selects the strategy with the highest virtual point. When he changes the ...

Minority Game: the Battle of Adaptation, Intelligence ... - Akihiro Eguchi
Abstract—Minority game is a simulation of a zero-sum game, which has a similar structure to that of a real world market like a currency exchange market.

Minority Game: the Battle of Adaptation, Intelligence ... - Akihiro Eguchi
Plotting of Team agents who use team strategy 2. To our surprise, the negative correlation between loyalty and score as in type 1 disloyalty is not true anymore. There is either a positive or negative correspondence between loyalty and score for memb

Energy-Aware Design of Multilayer Core Networks - Semantic Scholar
of power consumption in future networks. Today's network ... future work. II. RELATED WORK. We provide an overview of the works focusing on the green network design. While the term “design” may be used in dif- ferent contexts, the main ..... an I

Energy-Aware Coverage Control with Docking for ...
is modeled based upon our experience with the platform. We chose γ = 1, κ = 1 and γα = 10 ... Robotics and Automation (ICRA 10), May 2010, pp. 4982–4989.

Model Identification for Energy-Aware Management of Web Service ...
plex service-based information systems, as the impact of energy ... Autonomic management of service center infrastructure is receiving great interest by.

Battery modeling for energy-aware system design
Dec 9, 2003 - Most laptops, handheld PCs, and cell phones use rechargeable electrochemical batteries—typically, lithium-ion batteries—as their portable ...

ACOS: A Precise Energy-Aware Coverage Control ...
In this paper, we propose a precise and energy-aware coverage ... sensor networks is the coverage problem. ... evaluation and comparison. ..... In IEEE International Conference on Mobile Ad-hoc and Sensor Systems (MASS), 2004. 8.

Battery modeling for energy-aware system design - Computer
Dec 9, 2003 - Published by the IEEE Computer Society. Battery Modeling for Energy-Aware. System Design. Many features of modern portable elec- tronic devices—such as high-speed processors, colorful displays, opti- cal/magnetic storage drives, and w

Energy-Aware Path Selection in Mobile Wireless ...
addition, the assumptions of [5], [8], e.g., congestion-free .... Illustration of a path selection based on the angle θ around i, β represents the ..... Tutorials, vol. 7, no.

Energy-aware Memory Management through Database ... - Chang Bae
proaches. Application-level approach. Furthermore, we argue that an application-level would be better than a lower-level in the software layer. It is possible to infer .... Processor. Intel Xeon X7560 - 2.26GHz. 64 cores/4 chips/16 cores per chip. 4

Energy Aware Dynamic Voltage and Frequency ...
Department of Electrical and Computer Engineering. Binghamton ... system, measured by the deadline miss rate, heavily depends upon the stored energy and ...

Energy-Aware Distributed Tracking in Wireless Sensor Networks
At the fusion node a BLUE (Best Linear Unbiased Estimation) approach is used to combine ... instance, the lifetime of the wireless sensor network is improved ...... in a power constrained sensor network,” in Vehicular Technology Con- ference ...

DEARER: A Distance-and-Energy-Aware Routing with ... - IEEE Xplore
See http://www.ieee.org/publications_standards/publications/rights/index.html for more information. This article has been accepted for publication in a future ...

Battery modeling for energy-aware system design
Dec 9, 2003 - under way—for example, the advanced configura- tion and power interface ... Cooperative Research Centers' Center for Low .... Contact him.

ELS: Energy-Aware Some-for-Some Location Service ...
Thus, they have the advantage to scale to a larger number of nodes. ..... replicated and transmitted over an end−to−end wireless connection with an available ...

Localized Energy-Aware Broadcast Protocol for Wireless Networks ...
We consider broadcast protocols in wireless networks that have lim- ited energy and ..... minimum; if an edge (i,k)∈T×T raising the length range of beam can cover a .... and Engineering Foundation in Ministry of Science and Technology.

Energy-Aware Path Selection in Mobile Wireless Sensor Networks: A ...
Energy-Aware Path Selection in Mobile Wireless Sensor .... Next, we illustrate the credit-based approach: a node is ... R is considered as a virtual credit of.

A Load-balancing and Energy-aware Clustering ...
1 Introduction. Wireless ad hoc ... terhead and maintenance of cluster more reasonable. ..... [EB/OL], Available form http://crewman.uta.edu/~choi/energy.pdf. 10.