design and implementation of a high-fidelity ac metering network

47
Wireless Building Energy Monitoring and LoCal: an Intelligent Power Network Computer Science Department University of California - Berkeley Microsoft Research Asia Xiaofan Jiang ( 姜姜姜 ) In collaboration with David Culler, Randy Katz, Scott Shenker Stephen Dawson-Haggerty, Prabal Dutta, Minh Van Ly, Jay Taneja, Mike He, Evan Reutzel

Upload: akashag11111

Post on 30-Jun-2015

274 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Design and Implementation of a High-Fidelity AC Metering Network

Wireless Building Energy Monitoring

andLoCal: an Intelligent Power

Network

Computer Science DepartmentUniversity of California - Berkeley

Microsoft Research Asia

Xiaofan Jiang (姜小凡 )

In collaboration with David Culler, Randy Katz, Scott ShenkerStephen Dawson-Haggerty, Prabal Dutta, Minh Van Ly, Jay Taneja, Mike He,

Evan Reutzel

Page 3: Design and Implementation of a High-Fidelity AC Metering Network

3

Aggregate is Not Enough

What percent is plug-load

What percent is wasted by idle PCs at night?

What’s the effect of server load on energy?

What’s the effect of turning off A?

What caused the spike at 7:00AM?

Page 4: Design and Implementation of a High-Fidelity AC Metering Network

4

This would be nice…

Page 5: Design and Implementation of a High-Fidelity AC Metering Network

5

Architecture

ACme application Standard networking tools Python driver + DB + web

ACme network IPv6 wireless mesh Transparent connectivity

between nodes and applications

ACme node Plug-through Small form factor High fidelity energy

metering Control Simple API

Page 6: Design and Implementation of a High-Fidelity AC Metering Network

6

ACme Node

Page 7: Design and Implementation of a High-Fidelity AC Metering Network

7

Two Designs

ACme-A ACme-B

Page 8: Design and Implementation of a High-Fidelity AC Metering Network

8

ACme-A vs ACme-B

Resistor + direct rectification + energy metering chip

Real, reactive, apparent power (power factor)

Idle power 1W Low CPU utilization

Hall-Effect + step-down transformer + software

Apparent power Idle power 0.1W Medium CPU

utilization

ACme-A ACme-B

A tradeoff between fidelity and efficiency

Page 9: Design and Implementation of a High-Fidelity AC Metering Network

9

ACme Node API

ASCII shell component running on UDP port provides direct access to individual ACme node: Adjust sampling parameter Debug network connection Over-the-air reprogramming

Separate binary UDP port for data Periodic report to ip_addr at frequency rate

Node API function Purpose

read() -> (energy, power) Read current measurements

report(ip_addr, rate) -> Null Begin sending data

switch(state) -> Null Control the SSR

Page 10: Design and Implementation of a High-Fidelity AC Metering Network

10

ACme Network

IPv6 mesh routing Each ACme is an IP router Header compression

using 6loWPAN/IPv6 (open implementation -blip)

Modded Meraki/OpenMesh as “edge router”

Diagnostics using ping6/tracert6

ACme send per-minute digest / no in-network aggregation

internet

backhaul links edge routers Acme nodes

data repository app 1

app 2

Page 11: Design and Implementation of a High-Fidelity AC Metering Network

11

Network Performance

49 nodes in 5 floors

Single edge router

6 month to-date 802.11

interference (on channel 19)

Page 12: Design and Implementation of a High-Fidelity AC Metering Network

12

ACme Application

N-tier web application ACme is just like

any data feed Python daemon

listening on UDP port and feed to MySQL database

Web application queries DB and visualize

UDP Packets

Python Daemon

MySQL DB

ApacheACme Driver

6loWPAN

Page 13: Design and Implementation of a High-Fidelity AC Metering Network

13

Visualization http://acme.cs.berkeley.edu/

Page 14: Design and Implementation of a High-Fidelity AC Metering Network

14

Building Energy Monitoring

1. Understanding the load tree

2. Disaggregation Measurements Estimations

3. Re-aggregation Functional Spatial Individual

Page 15: Design and Implementation of a High-Fidelity AC Metering Network

15

Understanding the Load Tree

Page 16: Design and Implementation of a High-Fidelity AC Metering Network

16

Deployment

Edge router obtaining IPv6 address

Ad-hoc deployment Un-planned

Online “registration” using ID and KEY Meta data collection Security

Online for 6 month and counting

10 million rows

Page 17: Design and Implementation of a High-Fidelity AC Metering Network

17

Deployment

Page 18: Design and Implementation of a High-Fidelity AC Metering Network

18

Raw Data

Page 19: Design and Implementation of a High-Fidelity AC Metering Network

19

Additivity using Time Correlated Data

Page 20: Design and Implementation of a High-Fidelity AC Metering Network

20

Multi-Resolution

Page 21: Design and Implementation of a High-Fidelity AC Metering Network

21

Appliance Signature

Page 22: Design and Implementation of a High-Fidelity AC Metering Network

22

Functional Re-aggregation

Page 23: Design and Implementation of a High-Fidelity AC Metering Network

23

Correlate with Meta-data

Page 24: Design and Implementation of a High-Fidelity AC Metering Network

24

Spatial Re-aggregation

Page 25: Design and Implementation of a High-Fidelity AC Metering Network

25

Individual Re-aggregation

Page 26: Design and Implementation of a High-Fidelity AC Metering Network

26

Improvements in Energy Usage

Page 27: Design and Implementation of a High-Fidelity AC Metering Network

27

Reducing Desktop Idle Power

Page 28: Design and Implementation of a High-Fidelity AC Metering Network

28

ACme Discussion

Measurement fidelity vs coverage Non-intrusive Load Monitoring (NILM) IP node level API vs application layer

gateway Easy of deployment is key DB design Multiple input channel / power strip

Page 29: Design and Implementation of a High-Fidelity AC Metering Network

29

What if the Energy Infrastructure were Designed like the Internet?

Energy: the limited resource of the 21st Century

Needed: Information Age approach to the Machine Age infrastructure

Match load & supply through continuous observation and adjustment

Enhanced reliability and resilience through intelligence at the edges Dumb grid, smart loads and supplies

Packetized Energy: discrete units of energy locally generated, stored, and forwarded to where it is needed; enabling a market for energy exchange

* Several slides borrowed from Randy Katz

Page 31: Design and Implementation of a High-Fidelity AC Metering Network

Energy Network Architecture Information exchanged whenever energy

is transferred Loads are “Aware” and sculptable

Forecast demand, adjust according to availability / price, self-moderate

Supplies negotiate with loads Storage, local generation, demand

response are intrinsic

31

Page 33: Design and Implementation of a High-Fidelity AC Metering Network

33

Intelligent Power Switch

(IPS)

Energy Network

PowerComm Interface

EnergyStorage

PowerGeneration

Host Load

energy flows

information flows

Intelligent Power Switch

PowerComm Interface: Network + Power connector Scale Down, Scale Out

Page 35: Design and Implementation of a High-Fidelity AC Metering Network

LoCal System Architecture

Transmission

Distribution Market

Supply IPS

Supply IPS

Load IPS

Load IPS

Load IPSSupply

IPS

Load / DG

Generation

Physical Layer Information Layer

LoCal Simulator

Page 36: Design and Implementation of a High-Fidelity AC Metering Network

LoCal Simulator37

Market

Supply IPS

Load IPS

Supply IPS

Supply IPS

Load IPS

Load IPS

Load IPS

Load IPS

Page 37: Design and Implementation of a High-Fidelity AC Metering Network

Load IPS Generated using measured data from the ACme sensor deployment in Soda Hall

ACme data provides 6 months of continuous load data for individual appliances with 1 minute resolution

A Load IPS consists of a mixture of appliance types that might be found in a typical home (actual appliance chosen at random for each type)

Page 38: Design and Implementation of a High-Fidelity AC Metering Network

Load IPS Responsibilities

Predict Next Hour Energy Needs

Last

Hou

r D

ata

Pre

vio

us

Day

Data

Page 39: Design and Implementation of a High-Fidelity AC Metering Network

Load IPS Responsibilities

Determine Power Package to Purchase Incremental Cost of Base Power vs. Variable

Power

Set and solve for

Finally, we obtain the probabilistically optimal Base Power purchase amount

cVBVBBuuBu CPCCPttCPtC )()(

0

BP

C )())(Pr( BBu PcdfPtLt

t

Page 40: Design and Implementation of a High-Fidelity AC Metering Network

Supplier IPS Responsibilities

Determine Power Package to Offer Cost of providing Base Power Cost of providing Variable Power Expected Capacity Factor for Variable Power Price of each power product

Market determined in competitive markets

))()(max( VVVVVVBBB PpPCFCpPCpC

Trends determined

by plant type, individual per plant

as well

Page 41: Design and Implementation of a High-Fidelity AC Metering Network

LoCal Simulator

Page 42: Design and Implementation of a High-Fidelity AC Metering Network

LoCal Simulator

Page 43: Design and Implementation of a High-Fidelity AC Metering Network

LoCal Simulator Results

Highly Variable Load Large DC Component

Page 44: Design and Implementation of a High-Fidelity AC Metering Network

LoCal Simulator Results

Low Variability Load (no coffeemaker)

Variable Power Contracts Exhausted

Page 45: Design and Implementation of a High-Fidelity AC Metering Network

LoCal Simulator Results

Aggregate Market Contract Visualization

Page 46: Design and Implementation of a High-Fidelity AC Metering Network

LoCal Simulator

Si

mul

ation

Ti

me

M

ark

et

Supply IPS

Load IPS createOffer

addPowerSource getCDF getPowerList

allocateLoad powerDema

nd getContracts

runSim

accountPower updateContr

act getContracts getContracts

accountMoney

accountMoney

Page 47: Design and Implementation of a High-Fidelity AC Metering Network

48

Thank You

ACme web site: http://acme.cs.berkeley.edu LoCal web site: http://local.cs.berkeley.edu Contact: [email protected] /

[email protected]