SlideShare a Scribd company logo
Short-term forecasting
of Italian gas demand
EmanueleFabbiani
Andrea Marziali
Giuseppe De Nicolao
Energy Finance Italia 4,
Milan, 4-5 February 2019
Context: actors2
➢ A2A needs accurate models for Italian
gas demand
➢ University of Pavia has a strong
expertise on time series forecasting
Context: motivation3
Pipe reservation
Energy companies need to reserve
pipe capacity in advance. Accurate
demand models can prevent
inefficiency in reservations.
Network balance
The Transmission System Operator
(TSO) applies financial penalties in
case of network unbalance.
Accurate demand forecasting
decreases risk of unbalance.
Price forecasting
Demand is one of the main inputs to
gas price models, which are key to
design working schedules for power
plants and other strategic business
decisions
Context: Italian gas demand4
0
10
20
30
40
50
60
70
80
2015 2016 2017
Demand[BSCM]
Residential Industrial Thermoelectic
Source: SNAM Rete Gas, http://pianodecennale.snamretegas.it/it/domanda-offerta-di-gas-in-italia/domanda-di-gas-naturale.html
Problem statement5
Given:
▪ Daily Italian residential, industrial and thermoelectric demand from 2007 to 2018
▪ Forecasts of average daily temperature for Northern Italy from 2007 to 2018
▪ Actual average daily temperature for Northern Italy from 2015 to 2017
Perform:
▪ Day-ahead prediction of residential, industrial and thermoelectric gas demand
▪ Day-ahead prediction of Italian gas demand
Literature review6
Reviews:
▪ Božidar Soldo, Forecasting natural gas consumption, 2012
▪ Dario Šebalj, Josip Mesarić, and Davor Dujak, Predicting natural gas consumption – a literature
review, 2017
Country-wide forecasting:
▪ Lixing Zhu, MS Li, QH Wu, and L Jiang, Short-term natural gas demand prediction based on support
vector regression with false neighbours filtered, 2015
▪ Joannis P Panapakidis and Athanasios S Dagoumas, Day-ahead natural gas demand forecasting
based on the combination of wavelet transform and anfis/genetic algorithm/neural network model,
2017
Focus on Italy:
▪ Lorenzo Baldacci, Matteo Golfarelli, Davide Lombardi and Franco Sami, Natural gas consumption
forecasting for anomaly detection, 2016
Literature review7
Missing:
▪ Country-wide forecasting focusing on Italian demand
▪ Study of the features of Italian residential, industrial and thermoelectric demands
Approach8
Exploratory
analysis
STEP 1
Feature
engineering
STEP 2
Modelling
STEP 3
Validation
STEP 4
Exploratory analysis
Residential demand9
Italian daily residential gas demand (RGD).
Exploratory analysis
Residential demand10
Italian daily residential gas demand (RGD). Time series are shifted to align weekdays: weekly periodicity is particularly visible in summer.
The yearly seasonal variation is mostly explained by heating requirements. In the inset, two weeks of July’s demand data are zoomed
Exploratory analysis
Residential demand11
Periodogram of Italian daily residential gas demand (RGD). Left panel: periods from 0 to 8 days; right panel: periods from 0 to 500 days. The yearly periodicity is highlighted by
peaks at 365.25 days, while the weekly one by the smaller spike at a period of 7 days. Other notable values are caused by harmonics
Similar day12
Exploratory analysis
Residential demand13
Scatter plots between residential gas demand (RGD) and potential features to be used for its prediction. It is possible to note that RGD at times t-1, t-7 and sim(t) is highly
correlated with RGD at time t. Moreover, RGD(t-1)-RGD(sim(t-1)) appears to be a good proxy of RGD(t) – RGD(sim(t))
Exploratory analysis
Residential demand14
Relation between Italian daily residential gas demand (RGD) and temperature. Left panel: scatter plot of daily RGD vs average daily temperature. Right panel: scatter plot of
daily RGD vs HDD. Inset: HDD as a function of the temperature. The relation between HDD and RGD is approximately linear
Exploratory analysis
Residential demand15
Time series of residential gas demand (RGD) and Heating Day Degrees (HDD) in 2017. The instantaneous correlation between the two series is apparent
Exploratory analysis
Industrial demand16
Italian daily industrial gas demand (IGD). The decrease in average value in 2009 is an effect of the economic crisis started in 2008, while negative peaks are Christmas, Easter
and summer holidays
Exploratory analysis
Industrial demand17
Periodogram of Italian daily industrial gas demand (IGD). Left panel: periods from 0 to 8 days; right panel: periods from 0 to 500 days. Notably, the peak ascribable to weekly
periodicity is here higher than the one produced by yearly seasonality
Exploratory analysis
Industrial demand18
Relation between Italian daily industrial gas demand (IGD) and temperature. Left panel: scatter plot of daily IGD vs average daily temperature. Right panel: scatter plot of daily
IGD vs HDD. The relation between IGD and temperature looks linear in the whole range of values, thus the introduction of HDD does not increase the correlation
Exploratory analysis
Thermoelectric demand19
Italian daily thermoelectric gas demand (TGD). The decreasing trend from 2010 to 2014 is explained by the rise of renewable power sources, which slowed down since 2015
Exploratory analysis
Thermoelectric demand20
Periodogram of Italian daily thermoelectric gas demand (TGD). Left panel: periods from 0 to 8 days; right panel: periods from 0 to 500 days. Due to several exogenous factors
which affect TGD (like power price and gas price), yearly periodicity is less important than in IGD and RGD
Exploratory analysis
Industrial demand21
Relation between Italian daily thermoelectric gas demand (TGD) and temperature. Left panel: scatter plot of daily TGD vs average daily temperature. Right panel: scatter plot of
daily TGD vs Heating and Cooling Day Degrees (HCDD), defined as HCDD = |temperature -16°C|. The influence of temperature on TGD is similar to the one on power demand
Exploratory analysis
Final features22
Modelling
Basic models:
▪ Regularized linear models: lasso, ridge, elastic net
▪ Non-linear models: Torus model, support vector regression, random forest, fully-connected neural
networks
▪ Non-parametric models: Gaussian process, nearest neighbours
Ensemble models
▪ Simple average
▪ Weighted average
▪ Average on an optimized subset of basic forecasts
▪ Support vector regression
23
Experiments24
TRAIN VALIDATION TEST
1 year1 yearall data previous to validation
▪ Five one-year-long test sets, from 2014 to 2018, to assess out-of-sample performance
▪ To each test set is associated a validation set, covering the previous year, to train ensemble models
▪ All the data previous to the start of the validation set are included in train set of basic models
▪ Standalone basic models (i.e. basic models not used for ensembling) are trained on the union of
train and validation sets
TRAIN TESTBasic models
Ensemble models
Results25
Averages of the yearly MAE on residential, industrial, thermoelectric and global Italian gas demand in Millions of Standard Cubic Meters.
Results26
MAE on residential gas demand over different test sets, in Millions of Standard Cubic Meters.
Results27
MAE on industrial gas demand over different test sets, in Millions of Standard Cubic Meters.
Results28
MAE on thermoelectric gas demand over different test sets, in Millions of Standard Cubic Meters.
Results
Residential demand29
Residuals of selected models on residential demand forecast on test set 2017. Nearest neighbor (KNN) is consistently the worst performer, ridge regression is unable to
correctly model periodicity in summer, while neural network (ANN), Gaussian Process (GP) and Torus model achieve comparable performance
Results
Residential demand30
MAE of selected models on residential demand, by month. Nearest neighbor (KNN) is consistently the worst performer, neural network (ANN) achieves the best results during
the winter, when the influence of temperature is crucial, while Gaussian Process and Thorus achieve lower MAE during the summer, when seasonality is more evident
Comparison with
state-of-the-art31
9.57 MSCM
MAE achieved by SNAM, Italian transmission
system operator
5.16 MSCM
MAE achieved by our best ensemble model
A comparison with SNAM, the Italian transmission system operator, is possible only for the overall Italian
gas demand, intended as sum of residential, industrial and thermoelectric components
Comparison was performed on 2017, the last year where SNAM forecasts are completely available.
Achievements
▪ Presented peculiar features of Italian residential, industrial and
thermoelectric demand
▪ Investigated the relation of the three series with temperature
▪ Provided reproducible models to accurately forecast gas demand
▪ Introduced ensemble models and assessed their performance
▪ Achieved an overall lower MAE with respect to SNAM, Italian transmission
system operator
32
Future developments
▪ Investigate relation between components of Italian gas demand
▪ Introduce more advanced models (e.g. LSTM networks)
▪ Introduce ad-hoc models for Easter
33
Acknowledgements34
”
Thank you!
35

More Related Content

Similar to Short-term forecasting of italian gas demand with machine learning models

Poyry - How will intermittency change Europe’s gas markets? - Point of View
Poyry - How will intermittency change Europe’s gas markets? - Point of ViewPoyry - How will intermittency change Europe’s gas markets? - Point of View
Poyry - How will intermittency change Europe’s gas markets? - Point of View
Pöyry
 
Energy power shift 09_2016
Energy power shift 09_2016 Energy power shift 09_2016
Energy power shift 09_2016
Vasilis Rallis
 
energies-15-03021-v2.pdf
energies-15-03021-v2.pdfenergies-15-03021-v2.pdf
energies-15-03021-v2.pdf
SALIM86012
 
Times Spain: an analytical tool for energy policy assessment in Spain
Times Spain: an analytical tool for energy policy assessment in SpainTimes Spain: an analytical tool for energy policy assessment in Spain
Times Spain: an analytical tool for energy policy assessment in Spain
IEA-ETSAP
 
House Energy Audit Report
House Energy Audit ReportHouse Energy Audit Report
House Energy Audit Report
Asadullah Malik
 
Introducing GEO-TIMES: A new open source global TIMES model
Introducing GEO-TIMES: A new open source global TIMES modelIntroducing GEO-TIMES: A new open source global TIMES model
Introducing GEO-TIMES: A new open source global TIMES model
IEA-ETSAP
 
Energy and environmental impacts of biomass use in the residential Sector: a ...
Energy and environmental impacts of biomass use in the residential Sector: a ...Energy and environmental impacts of biomass use in the residential Sector: a ...
Energy and environmental impacts of biomass use in the residential Sector: a ...
IEA-ETSAP
 
Potential Energy Savings from the Increased Application of Heating Controls i...
Potential Energy Savings from the Increased Application of Heating Controls i...Potential Energy Savings from the Increased Application of Heating Controls i...
Potential Energy Savings from the Increased Application of Heating Controls i...
Leonardo ENERGY
 
The Danish Energy Technology Data Catalogue
The Danish Energy Technology Data CatalogueThe Danish Energy Technology Data Catalogue
The Danish Energy Technology Data Catalogue
IEA-ETSAP
 
Outlook for Natural Gas Supply and Demand for 2015-2016 Winter
Outlook for Natural Gas Supply and Demand for 2015-2016 WinterOutlook for Natural Gas Supply and Demand for 2015-2016 Winter
Outlook for Natural Gas Supply and Demand for 2015-2016 Winter
Marcellus Drilling News
 
BP Statistical Review World Energy 2019: Full report
BP Statistical Review World Energy 2019: Full reportBP Statistical Review World Energy 2019: Full report
BP Statistical Review World Energy 2019: Full report
Energy for One World
 
Recent energy efficiency trends in the EU
Recent energy efficiency trends in the EURecent energy efficiency trends in the EU
Recent energy efficiency trends in the EU
Leonardo ENERGY
 
Energy Models and Scenarios - predicting Germany's electricity production sys...
Energy Models and Scenarios - predicting Germany's electricity production sys...Energy Models and Scenarios - predicting Germany's electricity production sys...
Energy Models and Scenarios - predicting Germany's electricity production sys...
Justice Okoroma
 
ENEA Hybrid modelling: linking energy systems models with economic models
ENEA Hybrid modelling: linking energy systems models with economic modelsENEA Hybrid modelling: linking energy systems models with economic models
ENEA Hybrid modelling: linking energy systems models with economic models
IEA-ETSAP
 
Load Shifting Assessment of Residential Heat Pump System in Japan
Load Shifting Assessment of Residential Heat Pump System in JapanLoad Shifting Assessment of Residential Heat Pump System in Japan
Load Shifting Assessment of Residential Heat Pump System in Japan
IEREK Press
 
Load Shifting Assessment of Residential Heat Pump System in Japan
Load Shifting Assessment of Residential Heat Pump System in JapanLoad Shifting Assessment of Residential Heat Pump System in Japan
Load Shifting Assessment of Residential Heat Pump System in Japan
IEREK Press
 
ICEEE Poster_YoannGuinard
ICEEE Poster_YoannGuinardICEEE Poster_YoannGuinard
ICEEE Poster_YoannGuinardYoann Guinard
 
eni_Rossi Gianmarco - Energy Management System for the Optimization of the Up...
eni_Rossi Gianmarco - Energy Management System for the Optimization of the Up...eni_Rossi Gianmarco - Energy Management System for the Optimization of the Up...
eni_Rossi Gianmarco - Energy Management System for the Optimization of the Up...Gianmarco Rossi
 
Executive summary for HVAC report "Warming and Cooling - double whammy for th...
Executive summary for HVAC report "Warming and Cooling - double whammy for th...Executive summary for HVAC report "Warming and Cooling - double whammy for th...
Executive summary for HVAC report "Warming and Cooling - double whammy for th...
Simon Thompson
 

Similar to Short-term forecasting of italian gas demand with machine learning models (20)

Poyry - How will intermittency change Europe’s gas markets? - Point of View
Poyry - How will intermittency change Europe’s gas markets? - Point of ViewPoyry - How will intermittency change Europe’s gas markets? - Point of View
Poyry - How will intermittency change Europe’s gas markets? - Point of View
 
Energy power shift 09_2016
Energy power shift 09_2016 Energy power shift 09_2016
Energy power shift 09_2016
 
energies-15-03021-v2.pdf
energies-15-03021-v2.pdfenergies-15-03021-v2.pdf
energies-15-03021-v2.pdf
 
Times Spain: an analytical tool for energy policy assessment in Spain
Times Spain: an analytical tool for energy policy assessment in SpainTimes Spain: an analytical tool for energy policy assessment in Spain
Times Spain: an analytical tool for energy policy assessment in Spain
 
House Energy Audit Report
House Energy Audit ReportHouse Energy Audit Report
House Energy Audit Report
 
Introducing GEO-TIMES: A new open source global TIMES model
Introducing GEO-TIMES: A new open source global TIMES modelIntroducing GEO-TIMES: A new open source global TIMES model
Introducing GEO-TIMES: A new open source global TIMES model
 
Energy and environmental impacts of biomass use in the residential Sector: a ...
Energy and environmental impacts of biomass use in the residential Sector: a ...Energy and environmental impacts of biomass use in the residential Sector: a ...
Energy and environmental impacts of biomass use in the residential Sector: a ...
 
Potential Energy Savings from the Increased Application of Heating Controls i...
Potential Energy Savings from the Increased Application of Heating Controls i...Potential Energy Savings from the Increased Application of Heating Controls i...
Potential Energy Savings from the Increased Application of Heating Controls i...
 
Two difficulties
Two difficultiesTwo difficulties
Two difficulties
 
The Danish Energy Technology Data Catalogue
The Danish Energy Technology Data CatalogueThe Danish Energy Technology Data Catalogue
The Danish Energy Technology Data Catalogue
 
Outlook for Natural Gas Supply and Demand for 2015-2016 Winter
Outlook for Natural Gas Supply and Demand for 2015-2016 WinterOutlook for Natural Gas Supply and Demand for 2015-2016 Winter
Outlook for Natural Gas Supply and Demand for 2015-2016 Winter
 
BP Statistical Review World Energy 2019: Full report
BP Statistical Review World Energy 2019: Full reportBP Statistical Review World Energy 2019: Full report
BP Statistical Review World Energy 2019: Full report
 
Recent energy efficiency trends in the EU
Recent energy efficiency trends in the EURecent energy efficiency trends in the EU
Recent energy efficiency trends in the EU
 
Energy Models and Scenarios - predicting Germany's electricity production sys...
Energy Models and Scenarios - predicting Germany's electricity production sys...Energy Models and Scenarios - predicting Germany's electricity production sys...
Energy Models and Scenarios - predicting Germany's electricity production sys...
 
ENEA Hybrid modelling: linking energy systems models with economic models
ENEA Hybrid modelling: linking energy systems models with economic modelsENEA Hybrid modelling: linking energy systems models with economic models
ENEA Hybrid modelling: linking energy systems models with economic models
 
Load Shifting Assessment of Residential Heat Pump System in Japan
Load Shifting Assessment of Residential Heat Pump System in JapanLoad Shifting Assessment of Residential Heat Pump System in Japan
Load Shifting Assessment of Residential Heat Pump System in Japan
 
Load Shifting Assessment of Residential Heat Pump System in Japan
Load Shifting Assessment of Residential Heat Pump System in JapanLoad Shifting Assessment of Residential Heat Pump System in Japan
Load Shifting Assessment of Residential Heat Pump System in Japan
 
ICEEE Poster_YoannGuinard
ICEEE Poster_YoannGuinardICEEE Poster_YoannGuinard
ICEEE Poster_YoannGuinard
 
eni_Rossi Gianmarco - Energy Management System for the Optimization of the Up...
eni_Rossi Gianmarco - Energy Management System for the Optimization of the Up...eni_Rossi Gianmarco - Energy Management System for the Optimization of the Up...
eni_Rossi Gianmarco - Energy Management System for the Optimization of the Up...
 
Executive summary for HVAC report "Warming and Cooling - double whammy for th...
Executive summary for HVAC report "Warming and Cooling - double whammy for th...Executive summary for HVAC report "Warming and Cooling - double whammy for th...
Executive summary for HVAC report "Warming and Cooling - double whammy for th...
 

Recently uploaded

AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
itech2017
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
Kamal Acharya
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 

Recently uploaded (20)

AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 

Short-term forecasting of italian gas demand with machine learning models

  • 1. Short-term forecasting of Italian gas demand EmanueleFabbiani Andrea Marziali Giuseppe De Nicolao Energy Finance Italia 4, Milan, 4-5 February 2019
  • 2. Context: actors2 ➢ A2A needs accurate models for Italian gas demand ➢ University of Pavia has a strong expertise on time series forecasting
  • 3. Context: motivation3 Pipe reservation Energy companies need to reserve pipe capacity in advance. Accurate demand models can prevent inefficiency in reservations. Network balance The Transmission System Operator (TSO) applies financial penalties in case of network unbalance. Accurate demand forecasting decreases risk of unbalance. Price forecasting Demand is one of the main inputs to gas price models, which are key to design working schedules for power plants and other strategic business decisions
  • 4. Context: Italian gas demand4 0 10 20 30 40 50 60 70 80 2015 2016 2017 Demand[BSCM] Residential Industrial Thermoelectic Source: SNAM Rete Gas, http://pianodecennale.snamretegas.it/it/domanda-offerta-di-gas-in-italia/domanda-di-gas-naturale.html
  • 5. Problem statement5 Given: ▪ Daily Italian residential, industrial and thermoelectric demand from 2007 to 2018 ▪ Forecasts of average daily temperature for Northern Italy from 2007 to 2018 ▪ Actual average daily temperature for Northern Italy from 2015 to 2017 Perform: ▪ Day-ahead prediction of residential, industrial and thermoelectric gas demand ▪ Day-ahead prediction of Italian gas demand
  • 6. Literature review6 Reviews: ▪ Božidar Soldo, Forecasting natural gas consumption, 2012 ▪ Dario Šebalj, Josip Mesarić, and Davor Dujak, Predicting natural gas consumption – a literature review, 2017 Country-wide forecasting: ▪ Lixing Zhu, MS Li, QH Wu, and L Jiang, Short-term natural gas demand prediction based on support vector regression with false neighbours filtered, 2015 ▪ Joannis P Panapakidis and Athanasios S Dagoumas, Day-ahead natural gas demand forecasting based on the combination of wavelet transform and anfis/genetic algorithm/neural network model, 2017 Focus on Italy: ▪ Lorenzo Baldacci, Matteo Golfarelli, Davide Lombardi and Franco Sami, Natural gas consumption forecasting for anomaly detection, 2016
  • 7. Literature review7 Missing: ▪ Country-wide forecasting focusing on Italian demand ▪ Study of the features of Italian residential, industrial and thermoelectric demands
  • 9. Exploratory analysis Residential demand9 Italian daily residential gas demand (RGD).
  • 10. Exploratory analysis Residential demand10 Italian daily residential gas demand (RGD). Time series are shifted to align weekdays: weekly periodicity is particularly visible in summer. The yearly seasonal variation is mostly explained by heating requirements. In the inset, two weeks of July’s demand data are zoomed
  • 11. Exploratory analysis Residential demand11 Periodogram of Italian daily residential gas demand (RGD). Left panel: periods from 0 to 8 days; right panel: periods from 0 to 500 days. The yearly periodicity is highlighted by peaks at 365.25 days, while the weekly one by the smaller spike at a period of 7 days. Other notable values are caused by harmonics
  • 13. Exploratory analysis Residential demand13 Scatter plots between residential gas demand (RGD) and potential features to be used for its prediction. It is possible to note that RGD at times t-1, t-7 and sim(t) is highly correlated with RGD at time t. Moreover, RGD(t-1)-RGD(sim(t-1)) appears to be a good proxy of RGD(t) – RGD(sim(t))
  • 14. Exploratory analysis Residential demand14 Relation between Italian daily residential gas demand (RGD) and temperature. Left panel: scatter plot of daily RGD vs average daily temperature. Right panel: scatter plot of daily RGD vs HDD. Inset: HDD as a function of the temperature. The relation between HDD and RGD is approximately linear
  • 15. Exploratory analysis Residential demand15 Time series of residential gas demand (RGD) and Heating Day Degrees (HDD) in 2017. The instantaneous correlation between the two series is apparent
  • 16. Exploratory analysis Industrial demand16 Italian daily industrial gas demand (IGD). The decrease in average value in 2009 is an effect of the economic crisis started in 2008, while negative peaks are Christmas, Easter and summer holidays
  • 17. Exploratory analysis Industrial demand17 Periodogram of Italian daily industrial gas demand (IGD). Left panel: periods from 0 to 8 days; right panel: periods from 0 to 500 days. Notably, the peak ascribable to weekly periodicity is here higher than the one produced by yearly seasonality
  • 18. Exploratory analysis Industrial demand18 Relation between Italian daily industrial gas demand (IGD) and temperature. Left panel: scatter plot of daily IGD vs average daily temperature. Right panel: scatter plot of daily IGD vs HDD. The relation between IGD and temperature looks linear in the whole range of values, thus the introduction of HDD does not increase the correlation
  • 19. Exploratory analysis Thermoelectric demand19 Italian daily thermoelectric gas demand (TGD). The decreasing trend from 2010 to 2014 is explained by the rise of renewable power sources, which slowed down since 2015
  • 20. Exploratory analysis Thermoelectric demand20 Periodogram of Italian daily thermoelectric gas demand (TGD). Left panel: periods from 0 to 8 days; right panel: periods from 0 to 500 days. Due to several exogenous factors which affect TGD (like power price and gas price), yearly periodicity is less important than in IGD and RGD
  • 21. Exploratory analysis Industrial demand21 Relation between Italian daily thermoelectric gas demand (TGD) and temperature. Left panel: scatter plot of daily TGD vs average daily temperature. Right panel: scatter plot of daily TGD vs Heating and Cooling Day Degrees (HCDD), defined as HCDD = |temperature -16°C|. The influence of temperature on TGD is similar to the one on power demand
  • 23. Modelling Basic models: ▪ Regularized linear models: lasso, ridge, elastic net ▪ Non-linear models: Torus model, support vector regression, random forest, fully-connected neural networks ▪ Non-parametric models: Gaussian process, nearest neighbours Ensemble models ▪ Simple average ▪ Weighted average ▪ Average on an optimized subset of basic forecasts ▪ Support vector regression 23
  • 24. Experiments24 TRAIN VALIDATION TEST 1 year1 yearall data previous to validation ▪ Five one-year-long test sets, from 2014 to 2018, to assess out-of-sample performance ▪ To each test set is associated a validation set, covering the previous year, to train ensemble models ▪ All the data previous to the start of the validation set are included in train set of basic models ▪ Standalone basic models (i.e. basic models not used for ensembling) are trained on the union of train and validation sets TRAIN TESTBasic models Ensemble models
  • 25. Results25 Averages of the yearly MAE on residential, industrial, thermoelectric and global Italian gas demand in Millions of Standard Cubic Meters.
  • 26. Results26 MAE on residential gas demand over different test sets, in Millions of Standard Cubic Meters.
  • 27. Results27 MAE on industrial gas demand over different test sets, in Millions of Standard Cubic Meters.
  • 28. Results28 MAE on thermoelectric gas demand over different test sets, in Millions of Standard Cubic Meters.
  • 29. Results Residential demand29 Residuals of selected models on residential demand forecast on test set 2017. Nearest neighbor (KNN) is consistently the worst performer, ridge regression is unable to correctly model periodicity in summer, while neural network (ANN), Gaussian Process (GP) and Torus model achieve comparable performance
  • 30. Results Residential demand30 MAE of selected models on residential demand, by month. Nearest neighbor (KNN) is consistently the worst performer, neural network (ANN) achieves the best results during the winter, when the influence of temperature is crucial, while Gaussian Process and Thorus achieve lower MAE during the summer, when seasonality is more evident
  • 31. Comparison with state-of-the-art31 9.57 MSCM MAE achieved by SNAM, Italian transmission system operator 5.16 MSCM MAE achieved by our best ensemble model A comparison with SNAM, the Italian transmission system operator, is possible only for the overall Italian gas demand, intended as sum of residential, industrial and thermoelectric components Comparison was performed on 2017, the last year where SNAM forecasts are completely available.
  • 32. Achievements ▪ Presented peculiar features of Italian residential, industrial and thermoelectric demand ▪ Investigated the relation of the three series with temperature ▪ Provided reproducible models to accurately forecast gas demand ▪ Introduced ensemble models and assessed their performance ▪ Achieved an overall lower MAE with respect to SNAM, Italian transmission system operator 32
  • 33. Future developments ▪ Investigate relation between components of Italian gas demand ▪ Introduce more advanced models (e.g. LSTM networks) ▪ Introduce ad-hoc models for Easter 33