Forecasting demand in the National Electricity Market October 2017 - - PowerPoint PPT Presentation

forecasting demand in the national electricity market
SMART_READER_LITE
LIVE PREVIEW

Forecasting demand in the National Electricity Market October 2017 - - PowerPoint PPT Presentation

Forecasting demand in the National Electricity Market October 2017 Agenda Trends in the National Electricity Market A review of AEMOs forecasting methods Long short-term memory (LSTM) neural networks Demand forecasting with


slide-1
SLIDE 1

Forecasting demand in the National Electricity Market

October 2017

slide-2
SLIDE 2

Agenda

slide-3
SLIDE 3
  • Trends in the National Electricity Market
  • A review of AEMO’s forecasting methods
  • Long short-term memory (LSTM) neural networks
  • Demand forecasting with LSTMs
  • Final considerations
slide-4
SLIDE 4

Trends in the National Electricity Market

slide-5
SLIDE 5

Forecasting demand for electricity

  • AEMO publishes forecasts for demand from as short as 5 minute intervals to long term horizons of 20

years.

  • Long term forecasts of demand provide a basis for efficient network planning and for business

investment decisions

  • Short term forecasts of demand could help participants in the wholesale energy market make

strategic bids or manage production to minimise risk / maximise profits.

Scheduled 30min forecast and spot price for NSW AEMO Long term forecast for strong, weak and neutral economic and consumer outlooks

Source: AEMO website Source: AEMO 2017 Energy Forecasting Insights

slide-6
SLIDE 6

Long term forecast performance and implications

  • In recent years, AEMO has made forecasts suggesting demand will continue to rise, which

contributed to over-investment in network infrastructure.

  • Meanwhile demand has continued to fall as rooftop solar adoption rises, appliances become

more energy efficient and the manufacturing industry declines.

Actual vs Forecast NEM demand Growth in Australian energy consumption 1961 to 2012

Source: AEMO data Source: BREE (2013)

slide-7
SLIDE 7

Long term forecast performance and implications

  • The result has been a continued in prices as a result of high network costs spread over a

smaller consumption base.

  • These recent changes to the dynamics of the energy market has rendered traditional

forecasting techniques irrelevant and inaccurate, creating considerable future uncertainty

Trends in electricity costs and consumption Electricity price index compared with CPI

Source: Grattan (2013) Source: ABS (2013)

slide-8
SLIDE 8

Short term forecast performance and implications

  • In the shorter term, the network needs to be capable of coping with peak demand. Failure to

do so can result in blackouts, which can destroy businesses and loss of life in extreme cases.

  • Peak demand (which has also fallen) is typically driven by extreme weather events, triggering

high air-conditioner (heaters in Tasmania) use at the same time as industry needs.

Source: AEMO

slide-9
SLIDE 9

An review of AEMO’s forecasting methods

slide-10
SLIDE 10

Econometric methods for long term forecasting

  • AEMO has traditionally taken a top-down approach to developing long-term forecasts for key

energy market measures (operational demand modelled using regression techniques; max and min demand are generated through weather simulations).

  • These models are driven by factors such as economic activity, weather, income (as an indicator for

air conditioner / heater usage) and electricity prices.

  • Since 2014, they have shifted towards adopting a more bottom-up approach by including more

granular data feeds (appliances, meters) beyond traditional grid measure such as bulk transmission data

  • These models are segmented into residential and business with separate forecasts produced for

shorter and longer term horizons

slide-11
SLIDE 11

Neural networks for short term forecasting

  • For their short term forecast of demand (5 minute), AEMO uses a neural network which was

developed in 2014 (leveraging a 1997 model)

  • It was chosen over other time series models (linear, moving average and spectral) for its

ability relatively simply to incorporate nonlinear functional relationships

  • The model uses the difference in the natural log of lags 5 time periods before, and 5 time

periods a week ago

Schematic diagram of load prediction neural network

Source: AEMO

Predicted (X) vs Actual (Y) % change in demand for NSW

Source: AEMO

slide-12
SLIDE 12
  • A December 2016 report prepared for the Australian Energy Market Commission by the

University of Wollongong found that the neural network model was severely limited in capability:

The model does not cope with contextual situations such as volatility, price responses

  • r spikes in demand

Advances in machine learning techniques since its development could provide a better alternative (current implementation is based off a 20 year old neural network)

  • The report looks to experience in Germany where a neural network has been used for a 15

minute dispatch forecast

Weather was found to be a useful inclusion for regional forecasts

Inclusion of smart meter data also improved predictive accuracy

Seasonality played a significant role in prediction accuracy (more so than climate)

  • The strongest recommendation is to use a ensemble technique made up of a self-organising

map (unsupervised learning) with a recurrent neural network to reduce the residual error of the SOM

Neural networks for short term forecasting

slide-13
SLIDE 13

Long Short-Term Memory Neural Networks

slide-14
SLIDE 14
  • RNNs are neural networks with loops, which

distinguishes them from other neural network designs

  • RNNs can be thought of as chain of the same

network passing information to the next link.

  • This chained structure lends itself to many

sequence based applications, such as:

○ Speech recognition (Google Translate, Amazon’s Alexa, Siri), ○ Text generation, ○ Handwritten text recognition and generation, and ○ Image captioning

Recurrent neural networks (RNNs)

slide-15
SLIDE 15

Long Short-Term Memory (LSTM) networks

“Clouds are in the predict[sky]” “The car arrived and waited outside. After ten minutes the driver turned

  • ff its predict[engine]”
  • LSTMs specifically address this issue of long term dependencies by changing the structure of

its repeating layers to include a stream of information to flow through the chain.

  • They also contain contextual long-term or short-term memory cells, that allow them to make

predictions on historical context, in addition to recency.

  • A series of gate structures help the network to learn when to remember information, and when

to forget.

  • One of the shortcomings of RNNs is their inability to connect relevant information to the

point when it’s needed as the gap between these two points grows.

slide-16
SLIDE 16

LSTMs using python, Tensorflow and Keras

  • Tensorflow was released in early 2017 by Google as an open source machine learning library

that can be used to build neural networks

  • Released in 2015, Keras is higher level neural networks package for python
  • It makes the assembly of neural networks easier, by creating a simplified interface for

interacting with Tensorflow (and various other libraries)

slide-17
SLIDE 17

Demand forecasting with LSTMs

slide-18
SLIDE 18

Developing a LSTM for forecasting demand

  • A LSTM neural network model has been trialled using historical demand and temperature data

○ Historical demand by NEM region (5 min observations aggregated to 30 min for NSW) ○ Air temperature by weather station (30 min observations @ Bankstown Airport)

  • The data will be prepared as a series of sequences in multiple dimensions

○ Using the 2016 calendar year for model development, create sequences of 3 weeks ○ Normalisation of variables will be done within windows

  • The neural network will have two hidden layers made up of 25 and 10 neurons respectively

○ Use 10 epochs (iterations) for this proof of concept

  • The output layer will predict a single value

○ A window shifted along the sequence to predict subsequent values

slide-19
SLIDE 19

Temperature and Energy Demand

  • The relationship between air temperature and energy demand is well understood.

Source: AEMO

slide-20
SLIDE 20
  • Demand is at its lowest when air temperature is mild (between 17 and 21 ℃) and rises when

temperatures rise and fall.

Temperature and Energy Demand

Source: AEMO

slide-21
SLIDE 21
  • Behaviours of the population are also evident when demand and temperature are

segmented by time of day

Temperature and Energy Demand

Source: AEMO

slide-22
SLIDE 22

Types of time series prediction

  • The sequences below describe the different methods of time series prediction considered
slide-23
SLIDE 23

Outputs from univariate modelling

  • MSE for each epoch suggests additional training is required

○ Perhaps driven by dropout taking place in training set and not the validation set

slide-24
SLIDE 24

Outputs from univariate modelling

  • Historical demand was used to predict sequence windows of the next day (48 30min

periods)

  • Root Mean-Squared Error (RMSE): 1330.37
slide-25
SLIDE 25

Outputs from multivariate modelling

  • Historical demand and air temperature was used to predict sequence windows of the

next day (48 30min periods)

  • RMSE: 1057.36
slide-26
SLIDE 26

Summary of model performance

  • The table below compares performance (using RMSE) of univariate and multivariate

models with respect to the different types of predictions made Prediction Type Univariate Model Multivariate Model

Single step ( next 30 minute, for 3 months) 291 279 Full test set (3 months) 1674 1647 Multiple sequences (24 hours, for 3 months) 1330 1057

slide-27
SLIDE 27

Next steps

  • Optimise the parameters and structure of the LSTM
  • Reframe the model to natively predict desired periods into the future (diagram below)

○ Currently the model predicts one, then shifts its window of prediction incrementally forward

  • Collect AEMO forecast data
  • Compare LSTM forecast and AEMO forecast with actuals

○ Benchmark performance with error measure

  • Consider collecting additional measures (such as smart meter data)
  • Consider developing an ensemble of machine learning techniques
slide-28
SLIDE 28

Final considerations

slide-29
SLIDE 29

Final points for consideration

  • Neural networks typically require a lot of data and a take longer to train compared to

traditional time series modelling techniques

Efficient model development may require considerable CPU or GPU computing resources

  • Interpretability is not a strength - typically traded off in return for better performance
slide-30
SLIDE 30

Appendices and references

slide-31
SLIDE 31

The NEM, AEMO and the spot market

  • Since electricity is not easily stored, the National Electricity Market is a wholesale market

where power supply (generators) and demand (retailers) are matched in real time through a centrally coordinated dispatch process.

  • The Australian Energy Market Operator (AEMO) considers the bids offered to supply the

network with electricity, before deciding which generators will be deployed to deliver that supply, using lowest price as a priority.

  • Alongside the physical supply of electricity (the grid), there is a financial market where

market participants enter into hedging contracts to manage price volatility risk.

slide-32
SLIDE 32

Further information about the NEM

  • The National Electricity Market (NEM) supplies

approximately 200 terawatt hours to businesses and residences each year

  • The network spans approx. 5,000 km along

Australia’s eastern and south-eastern coast with

  • approx. 40,000km of transmission lines and cables.
  • The network is divided into 5 price regions - QLD,

NSW, SA, VIC and TAS

slide-33
SLIDE 33

From generation to consumption

slide-34
SLIDE 34

Trends in energy demand

slide-35
SLIDE 35

AEMO model for residential consumption

slide-36
SLIDE 36

Outputs from univariate modelling

  • Historical demand was used to predict the next 30 minutes

○ Prediction highly correlated with previous immediate lag, small but consistent error

  • RMSE: 291.08
slide-37
SLIDE 37

Outputs from multivariate modelling

  • Historical demand and temperature was used to predict the next 30 minutes

○ Prediction highly correlated with previous immediate lag, small but consistent error

  • RMSE: 279.45
slide-38
SLIDE 38

Outputs from univariate modelling

  • Historical demand was used to predict the remaining training sequence

○ Prediction errors continue to compound to a stasis

  • RMSE:
slide-39
SLIDE 39

Outputs from multivariate modelling

  • Historical demand and temperature was used to predict the remaining

training sequence

○ Prediction errors continue to compound to a stasis, but better than univariate model model

  • RMSE: 1647.21
slide-40
SLIDE 40

References

https://www.aemo.com.au/-/media/Files/PDF/National-Electricity-Market-Fact-Sheet.pdf https://theconversation.com/inaccurate-energy-forecasts-are-costing-us-the-earth-heres-why-42808 https://grattan.edu.au/wp-content/uploads/2014/03/804-shock-to-the-system.pdf http://colah.github.io/posts/2015-08-Understanding-LSTMs/ http://datathings.com/blog/post/lstm/ http://www.aemc.gov.au/getattachment/924537dd-1f48-4550-a134-78b3b7d3ba70/University-of-Wollongong,-Evaluation-of-Neural-Net.aspx