Queuing Models to Analyze Electric Vehicle Usage Patterns

Similar documents
Real-time Bus Tracking using CrowdSourcing

THE SMART GRID CHARGING EVS

Assignment # 6: Arena - Spotless Wash - Basic Model

On Using Storage and Genset for Mitigating Power Grid Failures

If a customer arrives and finds both servers busy, there is a 25% probability that he departs without entering the queue.

Meeting product specifications

Impact Analysis of Fast Charging to Voltage Profile in PEA Distribution System by Monte Carlo Simulation

PRODUCTION OF CONSTRUCTION OPEARTIONS: AN EXAMPLE ON READY MIX CONCRETE BATCH PLANT

Power Distribution Scheduling for Electric Vehicles in Wireless Power Transfer Systems

LOCAL VERSUS CENTRALIZED CHARGING STRATEGIES FOR ELECTRIC VEHICLES IN LOW VOLTAGE DISTRIBUTION SYSTEMS

EXTENDING PRT CAPABILITIES

Reliability of Hybrid Vehicle System

Modeling Strategies for Design and Control of Charging Stations

A Techno-Economic Analysis of BEVs with Fast Charging Infrastructure. Jeremy Neubauer Ahmad Pesaran

Trip Generation Study: Provo Assisted Living Facility Land Use Code: 254

Implementing Dynamic Retail Electricity Prices

Effect of DG Installation on Customer Load Shapes

INTEGRATED SCHEDULING OF DRAYAGE AND LONG-HAUL TRANSPORT

Department of Civil Engineering The University of British Columbia. Nicolas Saunier

Elements of Applied Stochastic Processes

Fuel Strategy (Exponential Decay)

NPCC Natural Gas Disruption Risk Assessment Background. Summer 2017

Online Learning and Optimization for Smart Power Grid

Online Learning and Optimization for Smart Power Grid

Electric Vehicle Battery Swapping Stations, Calculating Batteries and Chargers to Satisfy Demand

Using the NIST Tables for Accumulator Sizing James P. McAdams, PE

Abstract. Executive Summary. Emily Rogers Jean Wang ORF 467 Final Report-Middlesex County

Opportunistic Energy Sharing Between Power Grid and Electric Vehicles: A Game Theory-based Nonlinear Pricing Policy

Autonomous inverted helicopter flight via reinforcement learning

High Effective Availability Decentralized UPS HEAD-UPS (c) 3.0 High Effective Availability Decentralized UPS-HEAD-UPS(c)

Accurate Remaining Range Estimation for Electric Vehicles

Predicting Solutions to the Optimal Power Flow Problem

Using Trip Information for PHEV Fuel Consumption Minimization

Charging Electric Vehicles in the Hanover Region: Toolbased Scenario Analyses. Bachelorarbeit

Chapter 12. Formula EV3: a racing robot

Smart Meter Impact: Enabling Smart Metering System for Consumption Optimisation and Demand Management. By Gregers Reimann

AGENT-BASED MICRO-STORAGE MANAGEMENT FOR THE SMART GRID. POWER AGENT: Salman Kahrobaee, Rasheed Rajabzadeh, Jordan Wiebe

Understanding and managing the impacts of PEVs on the electric grid

Costco Gasoline Fuel Station Transportation Characteristics

March 18, Samira Monshi Seungwon Noh Wilfredo Rodezno Brian Skelly

HIGH VOLTAGE vs. LOW VOLTAGE: POTENTIAL IN MILITARY SYSTEMS

The Tanktwo String Battery for Electric Cars

Connecting vehicles to grid. Toshiyuki Yamamoto Nagoya University

Roundabout Modeling in CORSIM. Aaron Elias August 18 th, 2009

London calling (probably)

AGENT-BASED MODELING, SIMULATION, AND CONTROL SOME APPLICATIONS IN TRANSPORTATION

PUBLICATION NEW TRENDS IN ELEVATORING SOLUTIONS FOR MEDIUM TO MEDIUM-HIGH BUILDINGS TO IMPROVE FLEXIBILITY

The ABCD model How to more accurately predict and manage the energy transition

Shock tube based dynamic calibration of pressure sensors

EXECUTIVE SUMMARY. The following is an outline of the traffic analysis performed by Hales Engineering for the traffic conditions of this project.

Pembina Emerson Border Crossing Interim Measures Microsimulation

Civil Engineering and Environmental, Gadjah Mada University TRIP ASSIGNMENT. Introduction to Transportation Planning

EV EVERYWHERE OR EV ANYTIME? CO-LOCATING MULTIPLE DC FAST CHARGERS IMPROVES BOTH OPERATOR COST AND ACCESS RELIABILITY

The purpose of this lab is to explore the timing and termination of a phase for the cross street approach of an isolated intersection.

The Enabling Role of ICT for Fully Electric Vehicles

BMW GROUP DIALOGUE. HANGZHOU 2017 TAKE AWAYS.

ETSU Solar Array. Suggestions for a potential solar array on campus. Scott Finney

Project 2: Traffic and Queuing (updated 28 Feb 2006)

University of New Hampshire: FSAE ECE Progress Report

Velocity Optimization of Pure Electric Vehicles with Traffic Dynamics Consideration

Software for Data-Driven Battery Engineering. Battery Intelligence. AEC 2018 New York, NY. Eli Leland Co-Founder & Chief Product Officer 4/2/2018

The potential for local energy storage in distribution network Summary Report

Growing Charging Station Networks with Trajectory Data Analytics

Island Smart Grid Model in Hawaii Incorporating EVs

Professor Dr. Gholamreza Nakhaeizadeh. Professor Dr. Gholamreza Nakhaeizadeh

Throughput. Redefines the gas station with automatic refueling

Capacity Expansion. Operations Research. Anthony Papavasiliou 1 / 24

Funding Scenario Descriptions & Performance

1. INTRODUCTION 3 2. COST COMPONENTS 17

Machine Design Optimization Based on Finite Element Analysis using

Graduate Symposium. Group D

Craig Scheffler, P.E., PTOE HNTB North Carolina, P.C. HNTB Project File: Subject

HUIZHI XIE (JOINTLY WITH HONGFEI LI AND YASUO AMEMIYA)

Data envelopment analysis with missing values: an approach using neural network

E-Mobility in the City of Klagenfurt on Lake Wörthersee CEMOBIL project. Julia Zientek Austrian Mobility Research, FGM-AMOR Graz

Support for the revision of the CO 2 Regulation for light duty vehicles

Route-Based Energy Management for PHEVs: A Simulation Framework for Large-Scale Evaluation

Index. Calculator, 56, 64, 69, 135, 353 Calendars, 348, 356, 357, 364, 371, 381 Card game, NEL Index

Designing for Reliability and Robustness with MATLAB

SUBJECT AREA(S): Amperage, Voltage, Electricity, Power, Energy Storage, Battery Charging

Parks and Transportation System Development Charge Methodology

Operations Research & Advanced Analytics 2015 INFORMS Conference on Business Analytics & Operations Research

National Grid New Energy Solutions (NES)

Key facts and analysis on driving and charge patterns Dr. Cristina Corchero, IREC Barcelona, November 18, 2013

Enhanced Road Assessment (ERA) Frequently Asked Questions

Electrification drivers, challenges and lessons to be learned from electrification of public transport

Electric Energy and Power Consumption by Light-Duty Plug-In Electric Vehicles

Optimal Placement of EV Charging Station Considering the Road Traffic Volume and EV Running Distance

CITY OF EDMONTON COMMERCIAL VEHICLE MODEL UPDATE USING A ROADSIDE TRUCK SURVEY

SIMULATION STUDY ON CNG STATION DISTRIBUTIONS IN INTERCITY NETWORK USING ARENA SOFTWARE

MOTOR SAMPLE PROBLEM #1 Low-Slip Drive Belts

Locomotive Allocation for Toll NZ

Extracting Tire Model Parameters From Test Data

EPSRC-JLR Workshop 9th December 2014 TOWARDS AUTONOMY SMART AND CONNECTED CONTROL

FLYING CAR NANODEGREE SYLLABUS

Deliverables. Genetic Algorithms- Basics. Characteristics of GAs. Switch Board Example. Genetic Operators. Schemata

ADASE 2. Road to Vehicle Communications via DSRC : the AIDA system

DESIGN OF SIMULATION TECHNIQUES FOR DATA PREDICTION IN PUBLIC TRANSPORTATION GREGORIUS VIKO & FRISKA NATALIA FERDINAND

IBM SmartGrid Vision and Projects

Expected Energy Not Served (EENS) Study for Vancouver Island Transmission Reinforcement Project (Part I: Reliability Improvements due to VITR)

Transcription:

Queuing Models to Analyze Electric Vehicle Usage Patterns Ken Lau Data Scientist Alberta Gaming and Liquor Commission

About Me Completed Master s in Statistics at University of British Columbia (2015) Currently work at Alberta s Gaming and Liquor Commission (AGLC) Personal Website: kenlau177.github.io

Outline 1. Examples of data science work at AGLC 2. Queuing Models to Analyze Electric Vehicle Usage Patterns: Data Exploratory Analysis Model Results

AGLC Background Regulates Liquor aglc.ca Regulates Gaming Charitable Gaming: Bingo, casinos, raffles, and pull tickets Electronic Gaming and Lotteries: Slot machines, VLTs, ticket lotteries, and electronic bingo

From You to the Community 15% Charitable Group Slot machine net sales 15% Casino Facility Operator 70% Alberta Lottery Fund (After Expenses)

1. Examples of Data Science Work at AGLC Predicting the impact of new games on slots on player s experience. Do people like this game? http://slotsnmore.com/zeus-slots/ Should we purchase more of these games? Amount of Play http://www.freeiconspng.com/images/graph-with-arrow-icon

Optimizing Slot Placements in Network Which site should I put this slot at? A lot of factors to consider: Number of slots at site Game mix at site Amount of play at site Many more.. https://en.wikipedia.org/wiki/alberta

Predicting the impact of casino floor changes or re-organization Activities: Moves Swaps Addons Removals Conversions Casino Floor Estimated Increase in game play? https://www.pinterest.com/pin/378091331198152887/

Work Breakdown and Methods Lots of exploratory data analysis Lots of data cleaning Standard statistical/machine learning methods: Linear regression Random Forest Time Series (ARIMA) Mixed Effects Models Most used programs: R, SQL, Javascript, Python.

2. Stats Project on Queuing Models to Analyze Electric Vehicle Usage Patterns https://www.bchydro.com/powersmart/electric-vehicles.html http://www.upsbatterycenter.com/blog/electric-vehiclecharging-options/

Background On Project Statistical consulting project for STAT 550 at UBC Techniques of Statistical Consulting Most projects are done in groups of 2-3 Motivation: UBC have been promoting the use of Electric Vehicles (EV) to reduce green house gas emissions.

Task When to expand current infrastructure in higher traffic. https://www.youtube.com/watch?v=slrbnhswava Show Demo

Data and Challenges At the time, 10 stations and 14 Electric Vehicles that were tracked What if we have 20, 30, 50+ cars?

Data after some cleaning Station Car ID Start Charge Time 1 1314 2015-02-15 10:00:00 1 2940 2015-02-15 12:30:00 2 5612 2015-02-15 9:30:00 End Charge Time 2015-02-15 11:30:00 2015-02-15 12:45:00 2015-02-15 10:00:00 Average Power Use AC kw Peak Power Use AC kw.. 4 16 5 8 3 12 Lots of other columns in the raw data for other analysis

When to expand current infrastructure in case of queuing. Solve this by: Calculating the probability a car has to wait before charging. Calculating the wait time. How? M/M/c Queuing Model Stochastic process {X(t), t >= 0} Continuous time Markov chains

How to use M/M/c? Rate in which cars arrive How long it takes to charge M/M/c Queuing Model Probability a car has to wait before charging. Wait time in queue.

Explore Rate in which cars arrive ~ 8 months Most Traffic: 1:30pm - 4pm

Looking at only the times with highest traffic from 1:30pm - 4pm ------ Looks like a Poisson Distribution (Important for the model, but is okay to ignore if you don t know what it is) Arrival

Rate of Arrival Number of cars arrive ~ Poisson(lambda) lambda = Average number of cars arriving per hour Can be estimated by calculating the average number of arrivals divided by 2.5 hours (time from 1:30pm - 4pm) lambda = 1.17 cars per hour

Cars Arrive ~ Poisson(1.17 cars/hour)

How long it takes cars to charge Though looks more like a gamma distribution (It s okay if you don t understand Exponential/Gamma) in minutes

Gamma Distribution Fits much Better Gamma (shape=5, scale=1/(5mu))

How long it takes cars to charge For the queuing model, we assume exponential distribution. Charge Duration ~ Exponential(mu) mu = Average charging duration mu = 136 minutes (2.27 hours)

Charging Duration ~ Exponential(2.27 hours)

Requires: M/M/c Queuing Model Rate in which cars arrive Poisson(lambda=1.17) How long cars charge Exponential(mu=2.27) c = Number of stations = 10 Extra detail: M/M because the inter-arrival and service distributions are memoryless c refers to the number of stations

M/M/c Queuing Model Technical Probability a car enters queue upon arrival = Average wait time in the queue = https://en.wikipedia.org/wiki/m/m/c_queue Code implemented in R: https://github.com/kenlau177/electric-vehicle-app/blob/master/queuing-modeller.r

Rate Cars Arrive Cars Arrive ~ Poisson(1.17 cars/hour) Rate Cars Charge Charging Duration ~ Exp(2.27 hr) M/M/c : Model Probability a car enters queue upon arrival = 0.045% Average wait time in the queue = 0.0084 minutes Decide whether to expand stations or not

What if there were more cars? Recall, currently only 14 cars. Giving us an Arrival ~ Poisson(1.17 cars/hour) Consider the same but independent process with 14 cars. Also gives us Arrival ~ Poisson(1.17 cars/hour) If we add two independent Poisson random variables, we get another Poisson

What do we get? 14 cars Cars Arrive ~ Poisson(1.17 cars/hour) Cars Arrive ~ Poisson(2.34 cars/hour) Cars Arrive ~ Poisson(1.17 cars/hour) 14 cars So, doubling the number of cars doubles the arrival rate In reality, it s unlikely the processes are independent The arrival rate should be smaller

Additional Cars Arrival Rate (cars/hour) 0 1.17 5 1.58 10 2 15 2.42 20 2.83 25 3.24 30 3.66 35 4.08

Results Current System = 14 Cars Total Cars = 14 + 18 Cars Additional Cars

Hours Average Wait Time About 5 minutes Additional Cars

Recall we made a strong assumption on the Charging Distribution We should use a Gamma distribution instead Gamma (shape=5, scale=1/(5mu))

To solve this, use Monte Carlo Simulations In the Queuing Model Use simulation methods when dealing with complex problems Trade-offs include simulation errors and computation time Simulate this in Python Test the correctness by comparing with the theoretical estimates of the M/M/c model.

Monte Carlo Simulation of Average Wait Time under Exponential Charging Time Monte Carlo Simulation Error

Exponential(mu) Now Model the Charging Distribution as Gamma Instead Gamma (shape=5, scale=1/(5mu))

Comparing Probability Car needs to Wait Arrival Rate (cars/hour) Additional Cars Probability Wait Exponential Charging Probability Wait Gamma Charging 1.17 0 0.000460 0.000425 1.58 5 0.00419 0.00404 2 10 0.02 0.0190 2.42 15 0.0624 0.0593 2.83 20 0.145 0.138 3.24 25 0.28 0.267 3.66 30 0.481 0.466 4.08 35 0.749 0.736 Exponential Gamma

Comparing Average Wait Time Arrival Rate Additional Cars Average Wait Time Exponential Charging Average Wait Time Gamma 1.17 0 0.000142 0.000112 1.58 5 0.00148 0.00115 2 10 0.00832 0.00621 2.42 15 0.0314 0.0223 2.83 20 0.0919 0.062 3.24 25 0.240 0.156 3.66 30 0.646 0.405 4.08 35 2.30 1.39

Task: Conclusion A model to predict when to expand the current infrastructure Data: Cars arrival and charging time Exploratory Analysis: Isolate busiest time Arrival time seen as Poisson Charging time seen as Exponential or Gamma

Conclusion Continued Describe the M/M/c model: Calculate probability cars enter queue Calculate average wait time Impact of additional cars on arrival rate Results: Probability of enter queue ~0 with 14 cars Probability become 0.1 with another 18 cars Wait time 5 minutes at 20 additional cars Describe simulation method if use gamma distribution instead.

Thanks For Not Falling Asleep!