Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman...

29
Modeling the Distribution Utility as an Agent in the Wholesale Market Modeling the Distribution Utility as an Modeling the Distribution Utility as an Agent in the Wholesale Market Agent in the Wholesale Market Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004

Transcript of Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman...

Page 1: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

Modeling the Distribution Utility as an Agent in the Wholesale Market

Modeling the Distribution Utility as an Modeling the Distribution Utility as an Agent in the Wholesale MarketAgent in the Wholesale Market

Joseph M. RoopEihab Fathelrahman

Pacific Northwest National LaboratoryIAEE/USAEE Meeting, July 2004

Page 2: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

2

OverviewOverviewOverview

Reflects two strategies for modeling agents as part of the grid

The power engineering approachThe network modeling approach

Initial modeling was of customers within a distribution utility or load serving entity (LSE)Current extension is to create LSE agents that bid for power in a wholesale marketCredits: Steve, Ross, Henry, Dave, Janet, Joe and Dean

Page 3: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

3

OutlineOutlineOutline

After a “big picture” view of the system, will explain the difference in approachesThen the similarities in economic behavior of the agents in the two systemsResults of simulation of the two systemsThe mechanism for creating the LSE agent is then explained for each of the different approachesStatus of these two current modeling approaches concludes the presentation

Page 4: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

4

The Big PictureThe Big PictureThe Big PictureGenerators (Genco)

Bid into the spot market with PX orBid ancillary services into ISO orSchedule power delivery with ISO

Power Exchange (PX)Non-profit entity provide energy markets (Day-Ahead-Hourly, and Spot)

Independent System Operator (ISO)Maintain secure and reliable power supply Submit balanced schedules Provide settlements and info to PXCoordinate DAH, and spot balancing

Load Serving Entity (LSE)Demand aggregator for retail loadsPurchase and market power to retail consumersWork with SC or PX

Customers (C) : End-users of energy who want to participate in the market

Source Adopted from Gibson, Gerlad. Intelligent Software Agents for Control and scheduling of distributed generation. 1999

Page 5: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

5

Differences in ApproachesDifferences in ApproachesDifferences in Approaches

Power Engineering ApproachModel thermal loads for major appliancesModel other loads statisticallyModeling is done at the household level because this is the least price responsiveCurrently neither commercial nor industrial sectors

Network Modeling ApproachModels all loads statisticallyIncludes all three sectorsIncludes behavioral characteristics as a way of balancing loads

Page 6: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

6

Agent LogicAgent LogicAgent Logic

In both approaches, the logic is the same for residential customersA bill is received each month; this triggers a response, depending on whether or not the bill is within expectations; the outcome may change the current contractCustomers start with fixed rate contracts; can move to Time of Use (TOU) or real-time contractsPrice sensitivity assures that power use is lowered during peak price periods

Page 7: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

7

Three Basic Contract TypesThree Basic Contract TypesThree Basic Contract Types

Fixed Rate (FR) is a guaranteed fixed price that is announced well in advance and applies to all units of consumptions.Time-Of-Use (TOU): rate schedules are published where prices differentiate between off-peak, shoulder, and on-peak time-of-day price.Real Time Price (RTP): Consumers have the opportunity to see electricity prices that vary from hour to hour, reflecting wholesale market price variation.Under any contract we do not expect the customer to make active decisions based on price

Page 8: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

Model StructureModel StructureModel Structure

Page 9: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

9

Fixed TOD DailyContractOffers

TODContractAccepted

Power Price

Load Behavior

Customer/Utility Interaction

Page 10: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

10

Define Customer Contract Decision Process

income

demographics

sensitivity

FixedTODDaily

load history

contract offerings

TOD

contract preference

riskrationality

inertia

price history

Page 11: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

11

Diagram of Decision LogicMonthly Household Contract Selection

Diagram of Decision LogicDiagram of Decision LogicMonthly Household Contract SelectionMonthly Household Contract Selection

φ = Actual bill - bill if used the same power but had the other contract in place

= propensity trigger value

ψ ≡ 0.3

Page 12: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

12

Model ParametersModel Parametersn = customer number

t = time in hours

= recency = willingness to let the contract remain unchanged

= propensity to switch contracts for customer n in period t

= dollar savings threshold for wanting to make a change

= acceleration of willingness to change if reward is high

= fitness = [ Actual bill - Expected bill ]

The Modified Fitness Measure is computed as

where fn(t) = fitness measure

ρ ∈ 0,1

pn t()∈ 0,1

pn t+1( )= 1−ρ( )t pn t()− Fn ε,∆f( )

Fn ε,∆f( )=0 if ∆f ≤ δfn t( ) if ∆f > δ

ε δ( )∈ 0,1

fn t()=bill − δ

Expected bill

2

δ

∆f

such that p↓ likelihood to change↑

Page 13: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

13

The Hybrid Petri Net ApproachThe Hybrid Petri Net ApproachThe Hybrid Petri Net ApproachInfrastructure is modeled as a network-of-networks (places and transitions)Network captures place (nodes), transitions (rules governing token movement including direction) and timeExecution of transition can be conditionally or probabilistically dependent on other variablesNetwork is subject to conservation laws (equivalent to Kirchhoff’s laws of current & voltage)

t1loop1 loop2

loop3

t2 t4

t3t5

p1

p5

p2

p4

p3

Page 14: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

14

TF1A

Ground(Reference place

for power)

Utility(Reference place

for revenues)

PF1 PF2 PF3 PF5PF4 PF6

P1

6 Feeders

TF1B TF2A TF2B TF3A TF3B TF4A TF4B TF5A TF5B TF6A TF6B

PI3

TI3A TI3B

PI2

TI2A TI2B

PI1

TI1A TI1B

3 Industries

TP0I3A TP0I3BTP0I2A TP0I2BTP0I1A TP0I1B

P0

1000 HouseholdsTHnF1A,B and THnÕF2A,Bfor n=1,...,675 and nÕ=676,...,1000

100 Commercial BusinessesTCmF2A,B and TCmÕF3A,B

for m=1,...,10 and mÕ=11,...,100

675 Houses

90 Businesses

PHnF1for n=1,...,675

PHnF2 and PCmF2 for nÕ=676,...,1000

and for m=1,...10

PCmF3for mÕ=11,...100

TP0HnA,Bfor n=1,...,1000

TP0CmA,Bfor m=1,...,100

TP1 TP0Single Family Mixed Use Business Large Industry

325 Houses &10 Businesses

Network for Contract ChoiceNetwork for Contract ChoiceNetwork for Contract Choice

Page 15: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

Model ResultsModel ResultsModel Results

Page 16: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

16

Contract Selection Percentages for Experiments – Power EngineeringContract Selection Percentages for Contract Selection Percentages for Experiments Experiments –– Power EngineeringPower Engineering

Page 17: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

17

Balance between FR and TOUBalance between FR and TOUBalance between FR and TOU

Page 18: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

18

Lower Bulk Electricity PriceLower Bulk Electricity PriceLower Bulk Electricity Price

Page 19: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

19

Contract Selection Percentages, Petri Net Approach

Contract Selection Percentages, Petri Net Contract Selection Percentages, Petri Net Approach Approach

Time History of TOU Selection

0.00

10.00

20.00

30.00

40.00

50.00

60.00

70.00

80.00

90.00

100.00

1 181 361 541 721 901

Time (days of summer & winter seasons)

Pe

rce

nta

ge

of

TO

U C

usto

me

rs

Expt 1 [0.2,0.1,25,25]

Expt 2 [0.9, 0.1,25,25]

Expt 3 [0.2,0.9,25,25]

Expt 4 [0.9,0.9,25,25]

Expt 5 [0.2,0.1,20,20]

Expt 6 [0.9,0.1,20,20]

Expt 7 [0.2,0.9,20,20]

Expt 8 [0.9,0.9,20,20]

Expt 9 [0.2,0.1,10,20]

Expt 10 [0.2,0.1,20,10]

Expt 11 [0.2,0.1,10,10]

Expt 12 [0.9,0.1,10,10]

Expt 13 [0.2,0.9,10,10]

Expt 14 [0.9,0.9,10,10]

Expt 15 [0.2,0.1,1,10]

Expt 16 [0.2,0.1,10,1]

Expt 17 [0.2,0.1,1,1]

Expt 18 [0.9,0.1,1,1]

Expt 19 [0.2,0.9,1,1]

Expt 20 [0.9,0.9,1,1]

Page 20: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

20

More Petri Net ResultsMore Petri Net ResultsMore Petri Net Results

TOU Time History Selection - Self Referencing Only vs. Compared to "Normal" Customer

0.00

10.00

20.00

30.00

40.00

50.00

60.00

70.00

80.00

90.00

100.00

1 181 361 541 721 901

Time (days of summer & winter seasons)

Pe

rce

nta

ge

of

TO

U C

usto

me

rs Expt 15a [0.2,0.1,1,10]

Expt 17a [0.2,0.1,1,1]

Expt 18a [0.9,0.1,1,1]

Expt 19a [0.2,0.9,1,1]

Expt 20a [0.9,0.9,1,1]

Expt 15

Expt 17

Expt 18

Expt 19

Expt 20

Page 21: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

Creating the LSE AgentCreating the LSE AgentCreating the LSE Agent

Page 22: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

22

Objectives of LSE AgentObjectives of LSE AgentObjectives of LSE Agent

Provide service to customersCover costs – power, O&M, return on equityKey performance metric that regulates reward is how well the LSE provides power to customers at “least cost”This metric requires that LSE learn how customers will respond to price signals that it createsAnticipate the influence of weatherUse this information in the bidding for wholesale power

Page 23: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

23

Component InteractionsComponent InteractionsComponent Interactions

Load Serving Entity

Distribution Feeder

Power System Simulator

RetailWholesale

Wholesale Markets(e.g., Day ahead)

Distribution System

Operator

Home/Building

Consumer

Transmission System

Operator

demand/supply

operational parameters

operational parameters

energy schedules

energy schedules

contract

operational parametersdemand/supply

energy schedules

energy schedules

Generation Merchant

energy schedules

Page 24: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

24

Component/Agent Based Simulation Vision

Component/Agent Based Component/Agent Based Simulation Vision Simulation Vision

Integration Infrastructure

I/F

I/F

Adapter

DistributionFeeder

DistributionFeeder

DistributionFeeder

I/F

I/FI/F

AdapterAdapter

Adapter

I/F

WholesaleMarket

Adapter

I/F

GenerationMerchant

Adapter

Load ServingEntity

Adapter

Power System Simulator

(DTS/OTS)

I/F

TransmissionServiceProvider

Adapter

I/F

ReliabilityAuthority

Adapter

I/F

BalancingAuthority

Adapter

Page 25: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

25

LSE as an Agent – Petri Net ApproachLSE as an Agent LSE as an Agent –– Petri Net ApproachPetri Net Approach

Components are the same as with Power Engineering approachKey difference is that the behavioral rules that balanced loads are now errors that the LSE uses to learn how to better function in the wholesale marketTo succeed, the LSE has to cover costs, learn how price responsive customers are, and use this information to be effective in the wholesale marketA key objective is to provide power at “least cost”to customers

Page 26: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

StatusStatusStatus

Page 27: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

27

PrototypePrototypePrototype

Message Oriented Middleware

I/F

Adapter

I/F

DistributionFeeder

Adapter

I/F

PurchasingSelling Entity

Adapter

Power System Simulator

Network Data

load statePowerflow Process

Manager

demand

voltage

demand

$

simtimesimtime

Page 28: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

28

Petri Net ApproachPetri Net ApproachPetri Net Approach

Dean is back on board and will begin programming the code to simulate the multiple LSE, multiple generator interaction in a wholesale marketSince our focus is on the LSE, GenCos will simply bid their marginal cost into the market, LSEs will develop a strategy based on customer behavior, costs, etc.Will use a year’s run as basis for estimation of loads and price responseWe expect results by the end of the year.

Page 29: Modeling the Distribution Utility as an Agent in the ... · Joseph M. Roop Eihab Fathelrahman Pacific Northwest National Laboratory IAEE/USAEE Meeting, July 2004. 2 OverviewOverview

29

Questions?