Peak Shaving and Price Saving Algorithms for self-generation David Craigie _______________________________________________________ Supervised by: Prof.

Slides:



Advertisements
Similar presentations
Testing Linear Pricing Algorithms for use in Ascending Combinatorial Auctions (A5) Giro Cavallo David Johnson Emrah Kostem.
Advertisements

Introduction to Sensitivity Analysis Graphical Sensitivity Analysis
By: John T. Wenders Ama Agyeiwaa Ferkah Eco 435. INTRODUCTION  The traditional theory of peak-load pricing argues that peak period users should bear.
Transportation Problem (TP) and Assignment Problem (AP)
Chapter 6 Linear Programming: The Simplex Method
Applications of Stochastic Programming in the Energy Industry Chonawee Supatgiat Research Group Enron Corp. INFORMS Houston Chapter Meeting August 2, 2001.
Solutions to California’s Energy Crisis: Real-Time Pricing by Frank Wolak Chairman, Market Surveillance Committee March 17, 2001.
Dynamic lot sizing and tool management in automated manufacturing systems M. Selim Aktürk, Siraceddin Önen presented by Zümbül Bulut.
Optimization Linear Programming and Simplex Method
1 Linear Programming Using the software that comes with the book.
1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
LINEAR PROGRAMMING: THE GRAPHICAL METHOD
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
Linear Programming.
1 1 Slide LINEAR PROGRAMMING: THE GRAPHICAL METHOD n Linear Programming Problem n Properties of LPs n LP Solutions n Graphical Solution n Introduction.
Introduction to Quantitative Business Methods (Do I REALLY Have to Know This Stuff?)
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Kerimcan OzcanMNGT 379 Operations Research1 LP: Sensitivity Analysis and Interpretation of Solution Chapter 3.
LINEAR PROGRAMMING SIMPLEX METHOD.
Polyhedral Risk Measures Vadym Omelchenko, Institute of Information Theory and Automation, Academy of Sciences of the Czech Republic.
Roman Keeney AGEC  In many situations, economic equations are not linear  We are usually relying on the fact that a linear equation.
Classifying optimization problems By the independent variables: –Integer optimization --- integer variables –Continuous optimization – real variables By.
Prof. H.-J. Lüthi WS Budapest , 1 Hedging strategy and operational flexibility in the electricity market Characteristics of the electricity.
Linear Programming Topics General optimization model LP model and assumptions Manufacturing example Characteristics of solutions Sensitivity analysis Excel.
An Online Auction Framework for Dynamic Resource Provisioning in Cloud Computing Weijie Shi*, Linquan Zhang +, Chuan Wu*, Zongpeng Li +, Francis C.M. Lau*
Managerial Decision Making and Problem Solving
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming: The Simplex Method Chapter 5.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Distributed Demand Scheduling Method to Reduce Energy Cost in Smart Grid Humanitarian Technology Conference (R10-HTC), 2013 IEEE Region 10 Akiyuki Imamura,
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
Linear Programming: Sensitivity Analysis and Interpretation of Solution Pertemuan 5 Matakuliah: K0442-Metode Kuantitatif Tahun: 2009.
DISTRIBUTION AND NETWORK MODELS (1/2)
Optimization of Continuous Models
Professional software packages such as The WinQSB and LINDO provide the following LP information: Information about the objective function: –its optimal.
Chapter 6 Simplex-Based Sensitivity Analysis and Duality
Advanced Operations Research Models Instructor: Dr. A. Seifi Teaching Assistant: Golbarg Kazemi 1.
 Minimization Problem  First Approach  Introduce the basis variable  To solve minimization problem we simple reverse the rule that is we select the.
1 1 Slide © 2005 Thomson/South-Western Linear Programming: The Simplex Method n An Overview of the Simplex Method n Standard Form n Tableau Form n Setting.
Chapter 4 Linear Programming: The Simplex Method
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2005 Thomson/South-Western Simplex-Based Sensitivity Analysis and Duality n Sensitivity Analysis with the Simplex Tableau n Duality.
Chapter 1 Introduction n Introduction: Problem Solving and Decision Making n Quantitative Analysis and Decision Making n Quantitative Analysis n Model.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
1 Network Models Transportation Problem (TP) Distributing any commodity from any group of supply centers, called sources, to any group of receiving.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Log Truck Scheduling Problem
IT Applications for Decision Making. Operations Research Initiated in England during the world war II Make scientifically based decisions regarding the.
Stochastic Optimization
CS 3343: Analysis of Algorithms Lecture 19: Introduction to Greedy Algorithms.
Linear Programming and Applications
Linear Programming Models: Graphical and Computer Methods 7 To accompany Quantitative Analysis for Management, Twelfth Edition, by Render, Stair, Hanna.
 This will explain how consumers allocate their income over many goods.  This looks at individual’s decision making when faced with limited income and.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
St. Edward’s University
Chap 10. Sensitivity Analysis
Water Resources Planning and Management Daene McKinney
BIA 674 – Supply Chain Analytics
6.5 Stochastic Prog. and Benders’ decomposition
Chapter 4 Linear Programming: The Simplex Method
Chapter 3 The Simplex Method and Sensitivity Analysis
Duality Theory and Sensitivity Analysis
Linear Programming SIMPLEX METHOD.
Chapter 5 Transportation, Assignment, and Transshipment Problems
6.5 Stochastic Prog. and Benders’ decomposition
Linear Programming.
EE/Econ 458 Introduction to Linear Programming
Presentation transcript:

Peak Shaving and Price Saving Algorithms for self-generation David Craigie _______________________________________________________ Supervised by: Prof. Andy PhilpottDr Golbon Zakeri

Today Demand side management Contracting & Self-Generation The Peak Shaving Problem The Peak Shaving Algorithm Example using UoA demand data The stochastic problem Conclusions Future Work Questions 1/25

Demand Side Management Conservation Load Shifting Contracting Self-Generation 2/25

Contracting & Self-Generation CFDs don’t alter optimal self-generation strategy: Charge (in period t) = where d t = demand realised in period t p t = spot market price in period t d c = swap volume p c = strike price (based on Mercury Energy’s Swap Contracts) 3/25

The Peak Shaving Problem The deterministic peak shaving problem can be stated: Given a load profile, price profile and a capacity of generation, find the optimal allocation of a limited quantity of generator fuel with a sunk cost in order to minimize the cost of electricity consumption. Or: Allow for an unlimited amount of fuel but at a given unit cost. However, the algorithm is the same in either case, only the stopping criterion changes. 4/25

The Peak Shaving Problem Objective: where: d i = demand in period i[MWh] p i = spot market price in period i [$/MWh] s i = fuel used in period i[L] e = generator efficiency [MWh/L] c = maximum demand charge [$/MWh] N = number of periods md = average of m highest load realisations during N[MWh] By setting e = 1 and removing constant terms: 5/25

The Peak Shaving Problem Constraints: (i)Total fuel allocation cannot exceed available quantity: (ii)Fuel allocation in any period cannot exceed generator capacity: (iii)The maximum demand quantity must be equal to the greatest sum of m demands after generation: where M i is the set giving the i th way of choosing m periods from a possible N. 6/25

The Peak Shaving Algorithm The combinatorial number of maximum demand constraints makes the Peak Shaving Problem intractable for the RSM. However, we can use a greedy algorithm that will give the same solution as the RSM but without the computational cost. At every iteration the algorithm will choose a period to allocate fuel to that will give the maximum savings. It will cease allocation to that period when either capacity of the generator is reached, fuel supply is exhausted or savings need to be recalculated. 7/25

Peak Shaving Example Suppose we will be charged for the average of the highest 2 load realizations in the following five period demand profile, at a rate of $30/MWh: p 1 =72 p 2 =68 p 3 =60 p 4 =65 p 5 =85 [$/MWh] Initial Cost = + 15(12+11) = $3,317 8/25

Peak Shaving Example Suppose we have 16MWh worth of fuel, but the capacity in any one period is 4MWh. We seek the allocation of fuel among the 5 periods that will obtain the greatest savings: Iteration 1 Decision: Allocate 4MWh to period 5 (12MWh remaining) 9/25 PeriodLoadPriceMDSavingRangeAlloc. 1672N N Y Y N 40

Peak Shaving Example Iteration 2 Decision: Allocate 1MWh to period 4 (11MWh remaining) Current Load Profile: 10/25 PeriodLoadPriceMDSavingRangeAlloc. 1672N N Y Y N004

Peak Shaving Example Iteration 3 *Saving for {2,4} = 1/2 x ( ) + 1/2 x 15 Decision: Allocate 2MWh to period 3 (9MWh remaining) 11/25 PeriodLoadPriceMDSavingRangeAlloc. 1672N N Y N N004 {2,4} 74*3

Peak Shaving Example Iteration 4 *Saving for {2,3,4} = 1/3 x ( ) + 2/3 x 15 In general the savings from an n-period MD set tie are: 1/n x (p 1 + p 2 + … + p n ) + (n-1/n) x c Thus the best tie to consider will be the highest priced n periods where n maximizes the above expression Decision: Allocate 2MWh to periods 2,3 and 4 (3MWh remaining) 12/25 PeriodLoadPriceMDSavingRangeAlloc. 1672N N N N N004 {2,4} 742 {2,3,4} 74.33*2

Peak Shaving Example Iteration 5 Decision: Allocate 1MWh to periods 2 and 4 (1MWh remaining) Iteration 6 Decision: Allocate 1MWh to period 1 - STOP PeriodLoadPriceMDSavingRangeAlloc. 1672N N N N N004 {2,4} /25 PeriodLoadPriceMDSavingRangeAlloc. 1672N N Y N N004

Peak Shaving Example Before: Cost = $3,317 After: Cost = $2,081 14/25

UoA Example Using demand data from 18 Symonds St (Engineering Building) for the month of August (1488 periods) and price data from OTA reference node. Using a 100kW generator at 3.6kWh/L with 14000L of fuel. Maximum demand charge of $8/kWh multiplied by the average of the 10 highest load realisations. Before: $36,164After: $32,102 Cost = $2,081 15/25

Dual Simplex Approach We can solve a relaxed version of the LP by removing all the maximum demand constraints. This solution will (most likely) be infeasible in the original problem, but we know at least one of the constraints it violates, so we can add that constraint and resolve using the Dual Simplex Algorithm. We continue to add constraints until they cease to change the solution. By doing this we will obtain all the binding constraints from the optimal solution of the original problem. Depending on how many of the maximum demand constraints are binding in the optimal solution of the original LP, this may be a faster approach. Cost = $2,081 16/25

Dual Simplex Approach Iteration 1: Iteration 2: Iteration 3: etc… Cost = $2,081 17/25

Stochastic Problem Scenario tree for prices (3 periods only)… Cost = $2,081 18/25 S 1 S 21 S 22 S 31 S 32

Stochastic Problem N = 3, m = 2. Complete Stochastic LP formulation: Cost = $2,081 19/25

Stochastic Problem Use Dual Simplex approach: Iteration 1: Iteration 2: etc… Cost = $2,081 20/25

Stochastic Problem Dynamic Programming Approach: Cost = $2,081 21/25

Stochastic Problem Dynamic Programming Approach: This approach works when the size of the maximum demand set is 1 (as in the recursion above) or close to 1. However when m=10, we need to store 10 demands and consequently the state space “explodes” (curse of dimensionality). To overcome this problem, we might consider storing the 1 st and 10 th highest demands and interpolating between these. Cost = $2,081 22/25

Conclusions Under normal market conditions, self generation using diesel generators is not economical. However, if fuel is needed as a backup supply and is approaching expiration there is an optimal way to use it. Formulated as an LP the Peak Shaving problem is intractable for the RSM. A relatively simply greedy algorithm exists that will determine the optimal allocation. Alternatively, a dual simplex approach can be employed. The stochastic problem is significantly larger and requires a large number of constraints if formulated using an SLP or an enormous state space if formulated as a DP. 23/25

Future Work Is the stochastic problem more sensitive to demand or price uncertainty? Are we better to use the SLP and trim the scenario tree, or the DP and interpolate the state space? Is back-up generation really worth it? Given that peak shaving can reduce the cost of this security of supply, how risk averse does one need to be for back-up generation to be a sensible strategy. The level of contracting does not alter the optimal self generation plan but the converse is not necessarily true. Does the added security of back-up generation alter the optimal contract – spot mix. Other demand side questions: –Would a liquid hedge market enable large consumers to more effectively manage price risk and at less cost? –Can better contracts be negotiated by consumers acting as a group? –What about demand side bids? –Every little bit counts: Are there optimal conservation strategies? How valuable are they? 24/25

Thank You For Listening. Questions? 25/25