• Aucun résultat trouvé

Artificial Intelligence and Energy

N/A
N/A
Protected

Academic year: 2021

Partager "Artificial Intelligence and Energy"

Copied!
38
0
0

Texte intégral

(1)

Artificial Intelligence

& Energy

Bertrand Cornélusse,

Raphaël Fonteneau

(2)

The Smartgrids team is part of the Montefiore

Research Unit of the ULg, contains around 15

researchers and is headed by Pr. Damien Ernst

(3)

Our vision of Artificial Intelligence

(4)

Roadmap

Artificial

intelligence

Optimization

Machine

learning

Reinforcement

learning

4

(5)

Roadmap

Machine

learning

(6)

Machine learning is about extracting {patterns,

knowledge, information} from data

Cluster images SIRI Cortona OK Google Convert voice signal into sentences Make on-line recommandations Recognize patterns in images Interpret sentences Google photos 6

(7)

Machine learning studies and builds algorithms

that learn from and make predictions on data

Supervised Learning in a nutshell:

Imagine you have a set of data

{(x1, y1), (x2, y2), …, (xn, yn)}

represented by black points on the figure.

To be able to estimate the value of an output y for any input x, You “train” a Machine Learning algorithm using these data. You obtain the blue line.

The quality of the estimate depends on data quality/quantity: with more points, e.g. the black circles, you would for instance get the red curve.

7

x y

(8)

Recent advances in machine learning

Machine learning algorithms have recently shown impressive results, in particular when input data are images: this has led to the identification of a subfield of Machine Learning called Deep Learning.

The term “deep” refers to the fact that those learning architectures, mainly

Artificial Neural Networks, are made of several layers.

Zoom on a neuron

(9)

Deep neural network architectures

Source: http://www.ais.uni-bonn.de/deep_learning/images/Convolutional_NN.jpg

(10)

Wait… ANN are not new, right?

ANN date back to the sixties. Training ANN was not an easy task until recently. Recent progress is twofold: • Smart(er) training approaches • GPU calculus 10

(11)

Optimization

Artificial

intelligence

Roadmap

Machine

learning

Reinforcement

learning

11

(12)

From supervised learning to reinforcement learning

Supervised learning techniques (in particular

(deep) convolutional networks) may be used as a block in a more complex structure, in particular in Dynamic Programming (DP) or Model Predictive Control (MPC) schemes.

This connects to reinforcement learning, an area of machine learning originally inspired by behaviorist psychology, concerned with how software agents ought to take actions in an environment so as to maximize some notion of cumulative reward.

Deep reinforcement learning combines deep

learning with reinforcement learning (and, consequently, in DP / MPC schemes). 12 Agent Environment Action Reward

(13)

Playing Atari with deep reinforcement learning

13

At Google Deepmind At ULg

Human-level control through deep reinforcement learning. Nature, 2015.

Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A. Rusu, Joel Veness, Marc G. Bellemare, Alex Graves, Martin Riedmiller, Andreas K. Fidjeland, Georg Ostrovski, Stig Petersen Charles Beattie, Amir Sadik, Ioannis Antonoglou, Helen King, Dharshan Kumaran, Daan Wierstra, Shane Legg & Demis Hassabis

(14)

Breaking news

Recent breakthroughs in the field of AI for the game of GO have been done by Google Deepmind.

These results have been obtained by combining Deep Convolutional Networks with Monte Carlo Tree Search techniques. The resulting agent, AlphaGo, achieved 99.8% winning rate against other GO AI, and defeated the European Go champion by 5 games to 0. 14 Mastering the game of Go with deep neural networks and tree search. Nature, 2016. David Silver, Aja Huang, Chris J. Maddison, Arthur Guez, Laurent Sifre, George van den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, Sander Dieleman, Dominik Grewe, John Nham, Nal Kalchbrenner, Ilya Sutskever, Timothy Lillicrap, Madeleine Leach, Koray Kavukcuoglu, Thore Graepel & Demis Hassabis

(15)

Want to know more?

Google is launching a new deep learning course (in collaboration with Udacity):
 https://www.udacity.com/course/deep-learning--ud730
 You may also be interested in NVidia Deep Learning course:
 https://developer.nvidia.com/deep-learning-courses
 Or even Stanford Mooc about Machine Learning:
 https://www.coursera.org/learn/machine-learning 
 
 15

(16)

Optimization

Artificial

intelligence

Roadmap

Machine

learning

Reinforcement

learning

16

(17)

Optimization: decide the values that some variables can take,

under a set of contraints, so as to maximize an objective.

A long tradition of numerical solutions and theoretical analysis.

Given assumptions on models, one can eventually get guarantees

about solutions.

How is optimization connected to machine learning?

Learning problems can be casted as optimization problems

How is machine learning connected to optimization?

Machine learning actually solves some (or part of) optimization

problems (e.g: RL, or tuning of an algo, or proxy to an algo)

Machine learning is tightly coupled to optimization

(18)

Machine learning is tightly coupled to optimization

An illustration of the simplex

algorithm. The simplex

algorithm was invented by G.

Dantzig. It dates back to the

second world war.

This can be used to solve

many practical optimization

problems.

(19)

set NUTRIENT ordered; set FOOD ordered;

param cost {FOOD} >= 0;

param minNutrient {NUTRIENT} >= 0;

param maxNutrient {i in NUTRIENT} >= minNutrient[i]; param amount {NUTRIENT,FOOD} >= 0;

# Variables

var Buy {j in FOOD} integer;

# Objective

minimize Total_Cost: sum {j in FOOD} cost[j] * Buy[j];

(or minimize nutrient_amount {i in NUTRIENT}: sum {j in FOOD} amount[i,j] * Buy[j];) # Constraints

subject to Diet {i in NUTRIENT}:

minNutrient[i] <= sum {j in FOOD} amount[i,j] * Buy[j] <= maxNutrient[i];

Optimization relies on an analytical model ...

Example: Building the lunch menu, a first application of AI for energy ;)

(20)

set NUTRIENT ordered; set FOOD ordered; param cost {FOOD} >= 0;

param minNutrient {NUTRIENT} >= 0;

param maxNutrient {i in NUTRIENT} >= minNutrient[i]; param amount {NUTRIENT,FOOD} >= 0;

# Variables

var Buy {j in FOOD} integer;

# Objective

minimize Total_Cost: sum {j in FOOD} cost[j] * Buy[j];

(or minimize nutrient_amount {i in NUTRIENT}: sum {j in FOOD} amount[i,j] * Buy[j];)

# Constraints

subject to Diet {i in NUTRIENT}:

minNutrient[i] <= sum {j in FOOD} amount[i,j] * Buy[j] <= maxNutrient[i];

Optimization relies on an analytical model ...

Example: Building the lunch menu, a first application of AI for energy ;)

+ Data

Your lunch menu

(21)

Optimization relies on an analytical model, machine learning may

not

+ + + 21

(22)

Optimization and Machine learning have different aims

In the optimization world, a method targets one problem class,

or even an instance of a problem, and a theory is obsessed by

optimality (can I prove it mathematically?) and efficiency (can I

compute it efficiently?)

Machine learning is focused on statistical significance (reaching

a trade off between overfitting and “misrepresentation”),

replicability to other problems with few adaptation, and

interpretability of results

(23)

Roadmap

Artificial

intelligence

Optimization

Machine

learning

Reinforcement

learning

23

(24)

Energetic applications

(25)

World energy consumption outlook around 2010

Fossil fuels Nuclear Renewables

Biomass heat Solar hotwater Geothermal heat Hydropower Ethanol Biodiesel Biomass electricity Wind power Geothermal electricity Solar PV power Solar CSP Ocean power Sources: IEA 25

(26)

Optimization has plenty of applications in the Energy industry

Electrical power systems:

• Production planning: unit commitment

• Managing grid constraints: optimal power flow

Oil and gas industry:

• Where to dig? In which sequence?


Logistics and transportation:

• Vehicle Routing Problems


Industrial processes:

• Reduction or displacement of energy consumption

26

(27)

Example: Day-ahead electricity prices in

Europe are determined by Euphemia

EUPHEMIA is the market coupling algorithm for European Power exchanges, implemented and developed in-house by N-SIDE, a spin-off of UCL and ULg

Used daily by Power Exchanges to fix pan-EU day-ahead electricity prices in 19 EU countries.

Computing market prices & volumes by: • coupling national markets

• maximizing total economical welfare • optimizing network capacity utilization

• modeling complex economical constraints

Extension to whole Europe in progress

http://energy.n-side.com/day-ahead/

(28)

Evolution of the energy system

Global Grid(s) versus Microgrids

Prof. Damien Ernst - University of Liège

ELIA Stakeholders days

(29)

From decentralization…

(30)

From decentralization to centralization

(31)

From decentralization to centralization, and back

(32)

Why are we now talking about AI,

and not just about optimization?

We are now trying to optimize more and more locally, because

renewable energy sources are distributed, data is ubiquitous

and computation power as well.

However, the ratio “gain / (time to spend for gathering the data

and solving the problem)” is way smaller than for large

centralized projects.

AI offers the possibility to automate the data gathering,

modeling and optimization stages. For instance, learn from the

habits of users of a house, propose some car pooling options,

correlate all this with calendar events.

(33)

Rethinking the operation of distribution systems

Active network management.

Smart modulation of generation sources, loads and storages so as to operate safely the electrical network without having to rely on significant investments in infrastructure.

GREDOR project.

Redesigning in an integrated way the whole decision chain used for managing distribution networks in order to perform active network management optimally (i.e., maximisation of social welfare).

www.gredor.be

(34)

Empowering consumers and distributed generation

Microgrids are modern, localized, small-scale

grids, contrary to the traditional, centralized electricity grid (macrogrid).

Some microgrids can operate disconnected from the centralized grid and operate autonomously, strengthen grid resilience and help mitigate grid disturbances.

Optimizing the sizing and the operation of a microgrid requires both optimization and AI techniques.

(35)

35

Smart lighting

Smart homes

Smart mobility

Smart Cities

Smart sensors

Wireless communication

(36)

Urban Agriculture

(37)

So, why using a PV panel as a goban?

(38)

References

How to discount deep reinforcement learning: towards new dynamic strategies. V. François-Lavet, R. Fonteneau, D. Ernst. Deep Reinforcement Learning Workshop, NIPS 2015. http://arxiv.org/abs/1512.02011 Benchmarking for bayesian reinforcement learning. M. Castronovo, D. Ernst, A. Couëtoux, R. Fonteneau, http://arxiv.org/pdf/ 1509.04064.pdf Imitative Learning for Online Planning in Microgrids. S. Aittahar, V. François-Lavet, S. Lodeweyckx, D. Ernst, R. Fonteneau. Data Analytics for Renewable Energy Integration, Volume 9518 of the series Lecture Notes in Computer Science pp 1-15, 2015. The global grid. S. Chatzivasileiadis, D. Ernst, G. Andersson. Renewable Energy, Volume 57, September 2013, Pages 372–383. Global Grid(s) versus Microgrids. Ernst, D. http://hdl.handle.net/2268/188217 The GREDOR project. Redesigning the decision chain for managing distribution networks. Ernst, D. http://hdl.handle.net/2268/188487 Active network management for electrical distribution systems: problem formulation and benchmark. Gemine, Q., Ernst, D., & Cornélusse, B. (2014). arXiv preprint arXiv:1405.2806. DSIMA: A testbed for the quantitative analysis of interaction models within distribution networks. Mathieu, S., Louveaux, Q., Ernst, D., & Cornélusse, B. (2016). Sustainable Energy, Grids and Networks, 5, 78-93. Active Management of Low-Voltage Networks for Mitigating Overvoltages Due to Photovoltaic Units. Olivier, F., Aristidou, P., Ernst, D., Van Cutsem, T. IEEE Transactions on Smart Grid, 2016. Supervised learning of intra-daily recourse strategies for generation management under uncertainties. Cornélusse, B., Vignal, G., Defourny, B., & Wehenkel, L. (2009, June). In PowerTech, 2009 IEEE Bucharest (pp. 1-8). IEEE. 38

Références

Documents relatifs

Classical tools for the analysis of structured data are, for example, Online Analytical Processing (OLAP), querying and reporting [24] and will mainly be used in

The OSACA architecture allows the assembly of the machine tool control using a user interface, without the need to review the whole software (Altintas, et al., 1996).. To reach this

Features learned by a convo- lutional neural network (CNN), bottleneck features from existing models and manually extracted features from the spectrograms comprised the three

A Bird’s Eye View on Requirements Engineering and Machine learning, the 25th Asia-Pacific Software Engineering Conference 2018 (APSEC 2018), December 4-7, Nara, Japan.. Feldt

Any set of models created by machine learning algorithms represents information inherited in the underlying training data and can therefore be considered a knowledge base.. In

And this is where machine learning can be useful, offering a series of techniques to define a sample of informal leaders similar to the Bureau nominees without having to explicitly

• VISUALIZE (generally in 2D) the distribution of data with a topology-preserving “projection” (2 points close in input space should be projected on close cells on the SOM).

Statistical Machine-Learning: framework + supervised ML, Pr Fabien MOUTARDE, Center for Robotics, MINES ParisTech, PSL, Nov.2018 1..