Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power...

96
1 Ph.D. Defense: Resource Allocation Optimization in the Smart Grid and High-performance Computing Tim Hansen Department of Electrical and Computer Engineering Colorado State University Fort Collins, Colorado, USA outline introduction to resource allocation resource allocation in Smart Grid resource allocation in high-performance computing conclusions and future directions May 8, 2015 1

Transcript of Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power...

Page 1: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

1

Ph.D. Defense: Resource Allocation Optimization

in the Smart Grid and High-performance Computing

Tim Hansen

Department of Electrical and Computer Engineering

Colorado State University

Fort Collins, Colorado, USA

outline

introduction to resource allocation

resource allocation in Smart Grid

resource allocation in high-performance computing

conclusions and future directions

May 8, 2015 1

Page 2: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Introduction to Resource Allocation

resource allocation: assignment of limited resources to

perform useful work

optimal resource allocation problems,

in general, are NP-Complete

in high-performance computing (HPC):

allocate HPC resources

to parallel applications

in electric power systems:

allocate generation resources

to energy consumers

2

Page 3: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Outline – Resource Allocation in Smart Grid

introduction to resource allocation

resource allocation in Smart Grid

background and motivation

non-myopic home energy management system

aggregator-based residential demand response

demand response visualization

co-simulation framework

resource allocation in high-performance computing

conclusions and future directions

3

Page 4: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Traditional Bulk Power System

4

Page 5: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Traditional Bulk Power System

5

Page 6: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Traditional Bulk Power System

6

Page 7: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Traditional Bulk Power System

7

Page 8: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Traditional Bulk Power System

transmission

level

8

Page 9: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Traditional Bulk Power System

transmission

level

distribution

level

9

Page 10: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Bulk Power Market

owners of generators bid into the bulk power market

as demand increases, more expensive

generators are needed to meet the demand

10

Page 11: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Bulk Power Market

owners of generators bid into the bulk power market

as demand increases, more expensive

generators are needed to meet the demand

demand

11

Page 12: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Bulk Power Market

owners of generators bid into the bulk power market

as demand increases, more expensive

generators are needed to meet the demand

demand

12

Page 13: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Bulk Power Market

owners of generators bid into the bulk power market

as demand increases, more expensive

generators are needed to meet the demand

demand

price

13

Page 14: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Bulk Power Market

owners of generators bid into the bulk power market

as demand increases, more expensive

generators are needed to meet the demand

demand

price

14

Page 15: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Bulk Power Market

owners of generators bid into the bulk power market

as demand increases, more expensive

generators are needed to meet the demand

demand

price

15

Page 16: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Bulk Power Market

owners of generators bid into the bulk power market

as demand increases, more expensive

generators are needed to meet the demand

demand

price

16

Page 17: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Example Variation of Price

17

Page 18: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Demand Response

demand response:

peak demand reduction by shifting or shedding loads in

response to system or economic conditions

18

Page 19: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Demand Response

load shifting:

electric energy consumed by a load (e.g., electric vehicle

charging) is moved from one time (e.g., peak) to another

total energy consumed is approximately the same

demand response:

peak demand reduction by shifting or shedding loads in

response to system or economic conditions

19

Page 20: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Demand Response

load shifting:

electric energy consumed by a load (e.g., electric vehicle

charging) is moved from one time (e.g., peak) to another

total energy consumed is approximately the same

demand response:

peak demand reduction by shifting or shedding loads in

response to system or economic conditions

20

Page 21: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Demand Response

load shifting:

electric energy consumed by a load (e.g., electric vehicle

charging) is moved from one time (e.g., peak) to another

total energy consumed is approximately the same

demand response:

peak demand reduction by shifting or shedding loads in

response to system or economic conditions

21

Page 22: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Demand Response

load shifting:

electric energy consumed by a load (e.g., electric vehicle

charging) is moved from one time (e.g., peak) to another

total energy consumed is approximately the same

demand response:

peak demand reduction by shifting or shedding loads in

response to system or economic conditions

22

Page 23: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Demand Response

load shedding:

electric energy consumed by a load is

permanently removed from the system

total energy consumed is reduced

demand response:

peak demand reduction by shifting or shedding loads in

response to system or economic conditions

23

Page 24: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Demand Response

load shedding:

electric energy consumed by a load is

permanently removed from the system

total energy consumed is reduced

demand response:

peak demand reduction by shifting or shedding loads in

response to system or economic conditions

24

Page 25: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Demand Response

load shedding:

electric energy consumed by a load is

permanently removed from the system

total energy consumed is reduced

demand response:

peak demand reduction by shifting or shedding loads in

response to system or economic conditions

25

Page 26: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Demand Response

demand response:

peak demand reduction by shifting or shedding loads in

response to system or economic conditions

26

Page 27: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Demand Response

demand response:

peak demand reduction by shifting or shedding loads in

response to system or economic conditions

sample demand response (DR) programs:

direct load control (DLC)

air conditioner

electric water heater

time-varying pricing (indirect)

real-time pricing (RTP)

time-of-use pricing (ToU)

27

Page 28: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Demand Response

demand response:

peak demand reduction by shifting or shedding loads in

response to system or economic conditions

sample demand response (DR) programs:

direct load control (DLC)

air conditioner

electric water heater

time-varying pricing (indirect)

real-time pricing (RTP)

time-of-use pricing (ToU)

28

aggregator-based

demand response

Page 29: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Demand Response

demand response:

peak demand reduction by shifting or shedding loads in

response to system or economic conditions

sample demand response (DR) programs:

direct load control (DLC)

air conditioner

electric water heater

time-varying pricing (indirect)

real-time pricing (RTP)

time-of-use pricing (ToU)

29

aggregator-based

demand response

home energy

management system

Page 30: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Outline – Home Energy Management

introduction to resource allocation

resource allocation in Smart Grid

background and motivation

non-myopic home energy management system

aggregator-based residential demand response

demand response visualization

co-simulation framework

resource allocation in high-performance computing

conclusions and future directions

30

Under Preparation, Timothy M. Hansen et al., “A Partially Observable

Markov Decision Process Approach to Customer Home Energy

Management Systems,” IEEE Transactions on Smart Grid.

Page 31: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

HEMS Research Overview

residential home energy management system (HEMS)

goal: determine when to use energy within the household

to minimize the electricity bill

difficulties:

uncertainty in the time-varying price of electricity

as a customer, the benefit of changing energy use must

exceed the inconvenience caused

31

Page 32: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

System Model Overview

single residential household simulation

household is in a real-time pricing market for electricity

dynamically “arriving” appliances that need to be used

goal: determine when to run each appliance

to minimize the total cost of electricity

32

Page 33: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Real-time Pricing Model

modeled after ComEd real-time pricing (RTP) in Chicago

price of electricity changes every hour

provided a forecast for the next day at 4:30 p.m.

actual price of electricity is known at the start of the hour

33

Page 34: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Appliance Model

appliances arrive into the system given a desired usage

pattern – models appliance energy usage of a household

use queueing theory

34

de

sire

d u

sa

ge

pa

tte

rn (

W)

Page 35: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Appliance Queue Model

model the arrival of appliances as an Mt/G/∞ queue

arrive with Markovian probability, varying with time

appliance run-times are generally distributed

household modeled as an infinite capacity compute server

at time 𝑡 let:

𝜆(𝑡) be the arrival rate of the appliances

𝑙(𝑡) be the desired load

𝐷 be a random variable describing appliance run-times

𝐿 be a random variable describing appliance loads

𝜆 𝑡 =𝑙(𝑡 + 𝔼 𝐷 )

𝔼 𝐿 𝔼 𝐷

35

Page 36: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Example Generated Usage Pattern

appliance arrivals averaged over 500 trials

36

Page 37: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Problem Statement

given:

a time-varying RTP modeled after ComEd

dynamically starting appliances that statistically

follow the provided usage pattern

each appliance has a known:

power rating

duration

start time deadline

constraints:

appliances must be started before their start time deadline

goal:

minimize the total cost of electricity of using all appliances

37

Page 38: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Comparison Methods

immediate

start each appliance at their usage start time (status quo)

minimum forecast cost

schedule appliances to run at the lowest forecast cost

POMDP

Gaussian estimation

autoregressive estimation

lower bound

exact minimum cost of running all appliances

38

Page 39: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Markov Decision Process (MDP)

MDP: decision making framework where

outcomes have uncertainty

goal: find a policy that maps actions to

states to maximize reward

39

Page 40: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Partially Observable Markov Decision Process

what if we do not know the underlying state?

MDP → partially observable MDP (POMDP)

instead of states, you have belief states

a probabilistic estimate of the underlying state

40

Page 41: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

POMDP Optimization – Q-value Approximation

goal: maximize total reward over a long time horizon

non-myopic, trade-off between immediate and total reward

use Q-value approximation with Bellman’s equation

for state 𝑥 and taken actions 𝑎 let:

𝑄(𝑥, 𝑎 ) be the total expected reward

𝑅(𝑥, 𝑎 ) be the immediate reward

𝑥′ be the next state

𝑉(𝑥) be the optimal reward value following initial state 𝑥

find the policy (action to state mapping) to maximize 𝑄(𝑥, 𝑎 )

𝑄 𝑥, 𝑎 = 𝑅 𝑥, 𝑎 + 𝐸 𝑉 𝑥′ |𝑥, 𝑎

immediate reward future reward

41

Page 42: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

POMDP State

the underlying state is represented by:

the current appliances ready to start (observable)

the real-time price (unobservable)

use a measurement method and filter to determine

the belief state of the real-time price

two measurement methods:

Gaussian noise

autoregressive time-series model (GARCH)

use a particle filter to determine

conditional probability of the state

sequential Monte Carlo sampling method

42

Page 43: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

POMDP State

the underlying state is represented by:

the current appliances ready to start (observable)

the real-time price (unobservable)

43

Page 44: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

POMDP State

the underlying state is represented by:

the current appliances ready to start (observable)

the real-time price (unobservable)

44

measurement

Page 45: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

POMDP State

the underlying state is represented by:

the current appliances ready to start (observable)

the real-time price (unobservable)

45

measurement measurement

filter

Page 46: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

POMDP State

the underlying state is represented by:

the current appliances ready to start (observable)

the real-time price (unobservable)

46

measurement measurement

filter

action selector

Page 47: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

AR Process

autoregressive (AR) process

output depends linearly on previous values

at time 𝑡, let:

𝑥𝑡 be the output of the AR process

𝑐 be a constant

𝑥𝑡−𝑖 be the 𝑖𝑡ℎ previous output

𝛾𝑖 be the coefficient corresponding to 𝑥𝑡−𝑖

𝑚 be the number of modeled coefficients

𝜖𝑡 be the error (usually Gaussian noise)

𝑥𝑡 = 𝑐 + 𝛾𝑖𝑥𝑡−𝑖

𝑚

𝑖=1

+ 𝜖𝑡

47

Page 48: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

GARCH Process

generalized autoregressive conditional heteroskedastic

(GARCH) process

used to model process error (e.g., AR process)

at time 𝑡, let:

𝜖𝑡 be the error

𝜎𝑡 be the standard deviation

𝑧𝑡 be a Gaussian random variable with mean 0, standard

deviation of 1

𝜖𝑡 = 𝜎𝑡𝑧𝑡

heteroskedastic: the variance of the error (i.e., 𝜎𝑡2)

varies over time

48

Page 49: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

GARCH – Heteroskedasticity

at time 𝑡, let:

𝑘 be a constant

𝜎𝑡−𝑖2 be the 𝑖𝑡ℎ previous standard deviation

𝑝𝑖 be the coefficient corresponding to 𝜎𝑡−𝑖2

GARCH terms

𝑃 be the number of GARCH terms

𝜖𝑡−𝑗2 be the 𝑗𝑡ℎ previous square-error

𝑞𝑗 be the coefficient corresponding to 𝜖𝑡−𝑗2

ARCH terms

𝑄 be the number of ARCH terms

𝜎𝑡2 = 𝑘 + 𝑝𝑖𝜎𝑡−𝑖

2

𝑃

𝑖=1

+ 𝑞𝑗𝜖𝑡−𝑗2

𝑄

𝑗=1

49

Page 50: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

AR + GARCH Model for POMDP

recall AR process:

𝑥𝑡 = 𝑐 + 𝛾𝑖𝑥𝑡−𝑖

𝑚

𝑖=1

+ 𝜖𝑡

recall GARCH process:

𝜖𝑡 = 𝜎𝑡𝑧𝑡

for POMDP, (number of coefficients from literature):

𝑚 = 504

𝜖𝑡 is a GARCH process

𝑃 = 1, 𝑄 = 3

50

Page 51: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Action Selector – Rollout

recall:

𝑄 𝑥, 𝑎 = 𝑅 𝑥, 𝑎 + 𝐸 𝑉 𝑥′ |𝑥, 𝑎

𝑎 = {𝑛𝑜𝑤, 𝑙𝑎𝑡𝑒𝑟}

𝑅 𝑥, 𝑎 – cost of using appliance now

𝐸 𝑉 𝑥′ |𝑥, 𝑎 – expected cost of waiting

determined with a particle filter and the

AR + GARCH process

51

immediate reward future reward

Page 52: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Example Result – January 2011

50 trials of a one-month long simulation of January 2011

each trial is compared to the lower bound

52

Page 53: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Change in Energy Usage

53

Page 54: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Contributions

design of a non-myopic HEMS using a

sequential decision making technique (POMDP)

creation of a new appliance energy usage pattern

based on queueing theory

comparison of the POMDP HEMS against the lower bound

using month-long simulation studies

54

Page 55: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Outline – Aggregator-based Demand Response

introduction to resource allocation

resource allocation in Smart Grid

background and motivation

non-myopic home energy management system

aggregator-based residential demand response

demand response visualization

co-simulation framework

resource allocation in high-performance computing

conclusions and future directions

55

Timothy M. Hansen et al., “Heuristic Optimization for an Aggregator-based

Resource Allocation in the Smart Grid,” IEEE Transactions on Smart Grid,

10 pages, accepted 2015, to appear. DOI: 10.1109/TSG.2015.2399359.

Page 56: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Recall: Demand Response

demand response:

peak demand reduction by shifting or shedding loads in

response to system or economic conditions

sample demand response (DR) programs:

direct load control (DLC)

residential assets

time-varying pricing (indirect)

real-time pricing (RTP)

time-of-use pricing (ToU)

56

aggregator-based

demand response

Page 57: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Cyber-physical Social System (CPSS)

57

transmission

level

distribution

level

aggregator

DR

Page 58: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Aggregator-based Residential Demand Response

for-profit aggregator entity

offers all customers time-varying

price for participating in DR

customer incentive

price (CIP)

competitive rate

customer

owns a set of DR assets

schedulable smart

appliances

pays CIP for allowing

aggregator use of DR assets

generally cheaper than utility price

58

Page 59: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Assumptions

price is exogenous

at the load levels one aggregator changes,

bulk price changes marginally

retail electricity market is fully deregulated

allows customer to choose supplier

control and communication infrastructure

exchange of information and control of DR assets

customer willingness to participate

59

Page 60: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Smart Grid Resource Allocation

Smart Grid Resource Allocation (SGRA)

from the point-of-view of the aggregator

given

set of customers

information about customer loads

constraints

customer constraints

availability of loads to be rescheduled

incentive pricing requirements

system

objective

aggregator find customer incentive pricing and

schedule of loads to maximize aggregator profit

60

Page 61: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Simulation Setup

5,555 customers

each customer has a threshold for determining

whether the CIP offers enough discount

each customer defines a time period to which

each load can be rescheduled

56,498 schedulable loads

probabilistically generated to simulate

use of an average household

pricing data

bulk power spot market price from PJM

utility price from ComEd

genetic algorithm used as optimization method

61

Page 62: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Results – Demand Response Load Shifting

peak reduction of

2.66MW (12.6%)

aggregator profit

$947.90

total customer savings

$794.93

62

Page 63: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Customer Incentive Pricing

63

Page 64: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Contributions

alternative customer pricing structure

customer incentive pricing

heuristic optimization framework

mathematical models for the customer

and aggregator entities

large-scale test simulation consisting of

5,555 customers and ~56,000 schedulable loads

used real pricing data from ComEd and PJM

showed that aggregator optimizing for economic reasons:

benefits participating customers

benefits aggregator

benefits non-participating customers

system peak reduced as a common good

64

Page 65: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Outline – Demand Response Visualization

introduction to resource allocation

resource allocation in Smart Grid

background and motivation

non-myopic home energy management system

aggregator-based residential demand response

demand response visualization

co-simulation framework

resource allocation in high-performance computing

conclusions and future directions

65

Timothy M. Hansen et al., “A Visualization Aid for Demand Response

Studies in the Smart Grid,” The Electricity Journal, vol. 28, no. 3,

pp. 100-111, Apr. 2015. 10.1016/j.tej.2015.03.008

Page 66: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Power Systems Visualization

as new power systems technologies become more pervasive,

the amount of data available increases dramatically

abundance of data makes it difficult to:

assess power system states in a fast, user-friendly manner

find key information

application of visualization methods provide unique insight

and information to users

goal: design new visualization methods

for evaluating demand response programs

66

Page 67: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

System Model

use the system model and results

from the aggregator-based DR work

aggregator profit, 𝑃, is composed of three pieces:

𝑁 – income received by aggregator for selling negative load

to spot market at times load rescheduled from

𝑆 – income received by aggregator for selling electricity

to customer at times load scheduled to

𝐵 – cost paid by the aggregator for buying electricity

from spot market at times load scheduled to

𝑃 = 𝑁 + 𝑆 − 𝐵

67

Page 68: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Visualization Method Overview

DR actions normally visualized as 2D load curves

three new methods for

DR visualization:

heat map representation

3D load curve

spatially distributed DR

68

Page 69: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Heat Map Representation

color at a point (x,y) indicates the load moved from

time x to time y (magnitude given by associated color bar)

69

Page 70: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

3D Load Curve Representation

at each surface point (x,y,z), the magnitude z represents

the load moved from time x to time y

70

Page 71: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Spatially Distributed GIS Representation

mapped a distribution system spatially onto Fort Collins

spread aggregator customers across system

71

Page 72: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Profit Heat Map

shows the difference

in profit between the

forecast and actual

real-time price

recall:

N – income,

rescheduled from

B – cost,

scheduled to

72

Page 73: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Contributions

design of two new temporal visualization techniques

for DR that answer:

did the DR plan work effectively?

when did the DR entity make a profit or loss?

how does differences in the real-time price

affect profit margin?

creation of a spatial visualization technique for DR that answers

where in the distribution system did the DR affect load

discussion of how the methods can be used to analyze the

effectiveness of DR optimization techniques

73

Page 74: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Outline – Co-simulation Framework

introduction to resource allocation

resource allocation in Smart Grid

background and motivation

non-myopic home energy management system

aggregator-based residential demand response

demand response visualization

co-simulation framework

resource allocation in high-performance computing

conclusions and future directions

74

Timothy M. Hansen et al., “Bus.py: A GridLAB-D Communication Interface

for Smart Distribution Grid Simulations,” IEEE Power and Energy Society

General Meeting 2015, 5 pages, accepted 2015, to appear.

Page 75: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Co-simulation in Power Systems

co-simulation: multiple individual tools, each specializing

in a specific domain, interact while running simultaneously

75

Page 76: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Bus.py

introduce bus.py – a transmission-level bus simulator and

communication interface

76

Page 77: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Bus.py

introduce bus.py – a transmission-level bus simulator and

communication interface

enables co-simulation between:

77

Page 78: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Bus.py

introduce bus.py – a transmission-level bus simulator and

communication interface

enables co-simulation between:

78

Page 79: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

System Model

aggregator controls the individual loads within a household

each house is represented on a GridLAB-D distribution feeder

GridLAB-D – a PNNL distribution system simulator

79

Page 80: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Peak Load Reduction

reduction in peak load of 19.2 kVA (total available at peak time)

80

Page 81: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Cost Minimization in Time-of-Use Pricing

change in schedulable load when minimizing cost in

a time-of-use market

81

Page 82: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Contributions

design of bus.py, a software transmission bus interface for

use in Smart Grid co-simulation studies

demonstration of bus.py interfacing with GridLAB-D

simulating a small set of customers on a

distribution feeder and an aggregator entity

82

Page 83: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Outline – Resource Allocation in HPC

introduction to resource allocation

resource allocation in Smart Grid

resource allocation in high-performance computing

combined dual-stage resource allocation

conclusions and future directions

83

Timothy M. Hansen, Florina M. Ciorba et al., “Heuristics for Robust

Allocation of Resources to Parallel Applications with Uncertain Execution

Times in Heterogeneous Systems with Uncertain Availability,” in 2014

International Conference on Parallel and Distributed Computing, pp. 536-

541, July 2014, received the best paper award.

Florina M. Ciorba, Timothy M. Hansen et al., “A Combined Dual-Stage

Framework for Robust Scheduling of Scientific Applications in

Heterogeneous Environments with Uncertain Availability,” in 21st

Heterogeneity in Computing Workshop, pp. 187-200, May 2012.

Page 84: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Overview

84

Page 85: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Motivation

obtain the most performance from a system

given a batch of parallel scientific applications

i.e., maximize the investment in the computing infrastructure

computing systems today are often heterogeneous in nature

scheduling becomes more difficult with:

uncertain application execution times

e.g., varies based on input data

uncertain processor slowdown

e.g., system jitter, sharing of resources

85

Page 86: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Optimization Methods

processor balance

random (PB-R)

smart (PB-S)

robustness floor

min-min (RF Min-Min)

min-max (RF Min-Max)

duplex (RF Duplex)

upper bound on robustness

86

Page 87: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Typical Result

32 applications, 4 processor types, high system slowdown

87

(hig

her

is b

etter)

each scenario was run over 48 trials

between trials, the application

characteristics changed

i.e., parallel speedup and

execution time

robustn

ess

Page 88: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Performance Trend – Number of Processor Types

normalized robustness = (upper bound – robustness)/upper bound

a value of zero is better (i.e., equal to upper bound)

32 applications, low system slowdown

88

(low

er

is b

ett

er)

no

rmaliz

ed r

obustn

ess RF Duplex used

for these results

# of proc. types

Page 89: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Contributions

design of a model for moldable parallel applications

with stochastic execution times running in a

heterogeneous computing environment

design of a new robustness metric that

models the effect of two uncertainties

design and analysis of three novel iterative-greedy heuristics

that mitigate the effects of the two uncertainties

89

Page 90: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Outline – Conclusions

introduction to resource allocation

resource allocation in Smart Grid

resource allocation in high-performance computing

conclusions and future directions

90

Page 91: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Conclusions: Resource Allocation in Two Domains

resource allocation in Smart Grid

system-view with aggregator-based demand response

individual house view with POMDP HEMS

resource allocation in HPC

dual-stage scheduling of applications to HPC systems

the demand response methods were

shown to reduce peak demand

reduction in peak demand can:

reduce the cost of electricity

reduce the output of dirty diesel peaking generators

defer building new transmission lines

91

Page 92: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Future Directions

combine the system and end-user approaches for a unique

multi-level multi-scale end-to-end DR simulation

leverage the use of HPC

study market responses (as opposed to assuming an

exogenous price)

92

Page 93: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Future Directions

combine the system and end-user approaches for a unique

multi-level multi-scale end-to-end DR simulation

leverage the use of HPC

study market responses (as opposed to assuming an

exogenous price)

93

Page 94: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Future Directions

combine the system and end-user approaches for a unique

multi-level multi-scale end-to-end DR simulation

leverage the use of HPC

study market responses (as opposed to assuming an

exogenous price)

model more end-user assets

94

Page 95: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Future Directions

combine the system and end-user approaches for a unique

multi-level multi-scale end-to-end DR simulation

leverage the use of HPC

study market responses (as opposed to assuming an

exogenous price)

model more end-user assets

study sustainability through the use of long-term simulations

new metrics such as reduction in

capacity factor of dirty generators

95

Page 96: Ph.D. Defense: Resource Allocation Optimization in the ...€¦ · 3 . Traditional Bulk Power System 4 . Traditional Bulk Power System 5 . Traditional Bulk Power System 6 . Traditional

Questions and Discussion

collaborators:

CV available: www.engr.colostate.edu/~hansentm

96