control and optimization in smart-grids · 2018-05-03 · pi: rabie nait-abdallah,...

62
CONTROL AND OPTIMIZATION IN SMART-GRIDS Fredy Ruiz Ph.D. Pontificia Universidad Javeriana, Colombia Visiting Profesor - Politecnico di Torino [email protected] May, 2018

Upload: others

Post on 25-Jun-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

CONTROL AND OPTIMIZATION IN SMART-GRIDS

Fredy Ruiz Ph.D.

Pontificia Universidad Javeriana, Colombia

Visiting Profesor - Politecnico di Torino

[email protected]

May, 2018

Page 2: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Introduction - Myself

Fredy Ruiz

Born in Facatativá (Colombia)

BSc. Electronics Engineering, Pontificia Universidad Javeriana, 1997-2002.

MSc. Electronics Engineering, Pontificia Universidad Javeriana, 2004-2005.

PhD. Computer and Control Engineering, Politecnico di Torino, 2006-2009.

F. Ruiz - Control and Optimization in Smart-Grids Politecnico di Torino

23/05/2018

Page 3: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

CEPIT – Reseach groupon Control and PowerElectronics 3 Associate professors

(PhD)

3 Assistant Professors(MSc)

12 PhD Students

15 MSc Students

1 Development Engineer

F. Ruiz - Control and Optimization in Smart-Grids Politecnico di Torino

33/05/2018

Page 4: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Dielectric Barrier Discharge Applications

Desing, Modeling and control of power sources for DBD systems.

UV production

Water/Air disinfection

Cooperation with LAPLACE Lab. (Toulouse, Francia)

Budget ~ € 100.000

PI: Prof. Rafael Díez, [email protected]

Current sources

Current inverter

F. Ruiz - Control and Optimization in Smart-Grids Politecnico di Torino

43/05/2018

Page 5: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Energy Management System based on Storage Technologies

To Develop Hardware and Control solutions for the effective integration of PV sources to the grid, employing battery storage. Multilevel inverters Battery modeling and management, SOC and SOH estimation Scheduling and control of charge-discharge profiles Frequency and voltaje regulation services

Budget ~ € 83.000

PI: Diego Patiño, [email protected]

Wide-bandgap semiconductors

F. Ruiz - Control and Optimization in Smart-Grids Politecnico di Torino

53/05/2018

Page 6: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Sustainable Strategies for the Use of Electrical Energy Resources for Low-income Population

To develop isolated PV-powered systems for rural schools, Custom Power Electronics

Embedded generation and demand forecast

MPC based Energy Management System

Budget ~ € 1.200.000 (3 partners)

CO-PI: Fredy Ruiz, [email protected]

MPPT DC/DC

DC/AC

20 baterías 12 V, 40 Ah

Carga 630 Wp

160 V 240 V 240 V 120 VRMS

F. Ruiz - Control and Optimization in Smart-Grids Politecnico di Torino

63/05/2018

Page 7: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Recombinant Protein Production Optimization in Pichia Pastoris, based on in silico models

To increase protein production by re-design of growth conditions in biorreactor. Gray-box models, data-driven.

Growth profiles obtaind by Optimal control formulation

MPC real-time control

Budget ~ € 24.000 (Cooperation with Institute for the Study of Inborn Errors of Metabolism, PUJ).

PI: Fredy Ruiz, [email protected]

790 800 810 820 830 840 850 860 870

5

10

15

20

25

30

35

40

45

TIEMPO (minutos)

IMPLEMENTACION DEL CONTROLADOR UDC3500

F. Ruiz - Control and Optimization in Smart-Grids Politecnico di Torino

73/05/2018

Page 8: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Universal Access to Electricity

To develop strategies (Energy and Demand-Response services) to improve the costof renewables-based energy provision in isolated rural zones. Micro-grid sizing considering demand response

Demand response contract design

Direct load control

Budget ~ € 70.000 (Cooperation with Industrial Engineering - PUJ)

PI: Rabie Nait-Abdallah, [email protected]. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino83/05/2018

Page 9: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Introduction

• There is a strong pressure to reduce the use of fossil

fuels for energy supply:

• Electricity

• Transportation

• Heating

• …

F. Ruiz - Control and Optimization in Smart-Grids Politecnico di Torino

93/05/2018

Page 10: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Introduction

• This implies a shift to electrification of many

services and improved eficiency in processes:

F. Ruiz - Control and Optimization in Smart-Grids Politecnico di Torino

103/05/2018

Page 11: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

CO2 emissions from fuel combustion (MtCO2)

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino11

0

5.000

10.000

15.000

20.000

25.000

30.000

35.000

1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016

World CO2 Emissions

Page 12: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

CO2 emissions from fuel combustion (MtCO2)

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino12

28%

18%

12%

8%

7%

7%

6%

5%

4%4%

1%China

North America

Europe

Asia

Russia - CIS

India

Middle-East

Latin America

Africa

Japan

Pacific

Page 13: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Generation shift

Renewable energies offer a sustainable energy source

Solar

Wind

Tidal

….

F. Ruiz - Control and Optimization in Smart-Grids Politecnico di Torino

133/05/2018

Page 14: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Generation Shift

However, most renewable sources are not controllable:

Subject to random variations of weather

Daily trends

Seasonal drifts

F. Ruiz - Control and Optimization in Smart-Grids Politecnico di Torino

143/05/2018

Page 15: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

World Energy Requirements (Mtoe*)

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino15

0

2.000

4.000

6.000

8.000

10.000

12.000

14.000

16.000 * 1Mtoe=11.63 TWh

Page 16: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

World Electricity Demand (TWh)

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino16

0

5.000

10.000

15.000

20.000

25.000

Fact: Around 13% of world energy demand is spent as electricity!

Page 17: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Share of renewables in electricity production (%)

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino17

0,00

5,00

10,00

15,00

20,00

25,00

30,00

¿How much electricity is produced by renewable sources?

Page 18: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Share of wind and solar in electricity production (%)

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino18

0,00

1,00

2,00

3,00

4,00

5,00

6,00

Page 19: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Shift to 100% renewables

• There is an explosion of solar and wind installations.

• Prices of solar generation have gone down:

• US$ 250 / MWh in 2008

• US$ 50 / MWh in 2017

• Lower than traditional sources:

• Coal: US$ 60-140 / MWh

• Nuclear: US$ 110-180 / MWh

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino19

Page 20: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Energy cost for 2017*

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino20

* https://www.lazard.com/perspective/levelized-cost-of-energy-2017/

Page 21: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Why don’t we just switch to 100% renewables?

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino21

Page 22: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

What area is required to supply all the worldenergy requiremets with photovoltaic resources?

http://www.solardirect.com/outdoor-lighting/solar/street/area-light/solar-insolation-map.html

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino22

Page 23: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Supplying electricity demand with PV

• Demand in 2016 was

21.190 TWh

• Daily, that is

58 TWh

• In Italy, that energy must be generated in about

3 – 4 hours.

• Required peak power capacity is

16.6 TW

• Using standard solar panels with

Peak power = 225 W

Panel area = 1.65 m2

• The amount of panels required is

NP=7.350e6

• With a net area requirement of:

Area = 121.300 km2

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino23

Is this area too much?????

Page 24: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Supplying electricity demand with PV

• Assuming a land efficiency of 70%, the gross required area is

173.200 km2

• It’s about 60% of Italy land surface

• It’s less than 0.12% of world land surface

• Area can be reduced by half assuming high insolation regions

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino24

Page 25: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Supplying world energy demand with PV

• For the total world energy needs

• Assuming 5 equivalent hours of insolation

• The required area is about:

1million km2

• It’s 11% of Sahara desert

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino25

Page 26: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

What makes electric energydifferent from othercommodities?

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino26

Page 27: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

How is energy produced, transported, consumed?

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino27

Page 28: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Electricity can not be stored for latter use!!!!At least not like oil, food,…..

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino28

Page 29: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Power systems

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino29

From www.terna.it

Page 30: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Power Balance

Generation and load must always be balanced.

Otherwise there is high risk of failure:

• Frequency drift

• Generators go off-line

• Cascade effect

• Black Out!!

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino30

Page 31: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

System Operation

• Traditionally, balance of power systems has been performed by Generation, assuming random variation in Load.

F. Ruiz - Control and Optimization in Smart-Grids Politecnico di Torino

313/05/2018

Page 32: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Power Balance

• With the introduction of renewables, the model has not changed.

F. Ruiz - Control and Optimization in Smart-Grids Politecnico di Torino

323/05/2018

Page 33: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Power Balance

• With the introduction of renewables, the model has not changed.

F. Ruiz - Control and Optimization in Smart-Grids Politecnico di Torino

333/05/2018

Page 34: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Demand Response

New paradigm: Consumers are an active part of system operation!!!

F. Ruiz - Control and Optimization in Smart-Grids Politecnico di Torino

343/05/2018

Page 35: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Course Context

DR - Ancillary services

Flexible LoadsDirect Load

ControlIncentive-based

Load Control

Smart-Grids with high share of renewable generation

Imbalance between load and generation

Non-Controllable sources

F. Ruiz - Control and Optimization in Smart-Grids Politecnico di Torino

353/05/2018

Page 36: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Traditional grid

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino36

Unidirectional Power flows

Taken from “Final Report on the August 14, 2003 Blackout in the United States and Canada" Dated April 2004”

Page 37: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Smart-Grid

Multi-directional flows of Power and information.

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino37

Page 38: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Enabling technologies

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino38

• Smart-meters

• PMU

• Smart appliances

• Flexible loads

• Power electronics

• Storage: Batteries fly-wheels, …

Page 39: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Course topics

• Session 1: Introduction to Power systems• Context and motivation

• Power flow analysis

• Economic dispatch

• Session 2: Renewable sources• Stochastic models of variable sources

• Dispatching random sources

• Session 3: Energy dispatch• Risk-limiting dispatch

• Matlab session

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino39

Page 40: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Course topics

• Session 4: Incentive-based demand response• Modeling demand • Peak time rebates• Contract design for demand response

• Session 5: Flexible loads• Modeling flexibility• Load dispatch• Case study: Electric vehicles

• Session 6: Micro-grids• Lean energy concept• Joint generation and load dispatch

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino40

Page 41: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Power Flows Analisys

• Electric grids are very complex

• 3-phase systems

• Connected by transmission lines

• Usually more than 100 generators

• More than 1.000 nodes

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino41

Page 42: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Power Flows Analisys

How do we schedule generators to deliver power correctly supplying 100% of demand?

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino42

Page 43: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Power Flow Analysis

• Flows are defined by Kirchoff’s laws

• Steady-state assumption

• Constant frequency

• Phasorial models

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino43

Page 44: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Power Flows Analisys

Electric grids are represented bysingle-bus diagrams:

Nodes: Bus with votage VB

Links: Transsmission lines withgiven admittance yT

Generators: inject power PG to nodes

Loads: drain power PL from nodes

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino44

Generator Load

Load

Tx line

Tx lineTx line

Bus Bus

Bus

Page 45: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

• Flows are defined by Kirchoff’s laws• 𝑃𝑖𝑗 = 𝑉𝑖 |𝑉𝑗| 𝐺𝑖𝑗 cos 𝜃𝑖 − 𝜃𝑗 + 𝐵𝑖𝑗sin(𝜃𝑖 − 𝜃𝑗)

• 𝑄𝑖𝑗 = 𝑉𝑖 |𝑉𝑗| 𝐺𝑖𝑗 sin 𝜃𝑖 − 𝜃𝑗 − 𝐵𝑖𝑗cos(𝜃𝑖 − 𝜃𝑗)

Where• 𝑌𝑖𝑗 = 𝐺𝑖𝑗 + 𝑗𝐵𝑖𝑗• 𝐺𝑖𝑗 Tx line Conductance

• 𝐵𝑖𝑗 Tx line Susceptance

• What unknowns do we have?

1 MW 0,7MW

0,3 MW

V1 V2

V3

Power Flow Analysis

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino45

-> Active power-> Reactive power

Page 46: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Power Flow Analysis

Even with these simplification it is a complex model!!

In addition:• 𝑉𝑖 ≈ 𝑉𝑗 ≈ 1

• 𝐺𝑖𝑗 ≈ 0

• cos 𝜃𝑖 − 𝜃𝑗 ≈1

• sin 𝜃𝑖 − 𝜃𝑗 ≈ 𝜃𝑖 − 𝜃𝑗

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino46

1 MW 0,7MW

0,3 MW

V1 V2

V3

Page 47: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

• Flows are defined by Kirchoff’s laws• 𝑃𝑖𝑗 = 𝐵𝑖𝑗 𝜃𝑖 − 𝜃𝑗• 𝑄𝑖𝑗 = −𝐵𝑖𝑗

Where• 𝑄𝑖𝑗 constant

• 𝑃𝑖𝑗 given by linear equation

•What unknowns do we have?

1 MW 0,7MW

0,3 MW

V1 V2

V3

Power Flow Analysis

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino47

DC power flow model!

Page 48: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Power Flow Analysis

Flows are defined by Kirchoff’s laws

𝑃1𝑃2𝑃3

=

𝐵11 + 𝐵12 + 𝐵13 −𝐵12 −𝐵13−𝐵21 𝐵21 + 𝐵22 + 𝐵23 −𝐵23−𝐵13 −𝐵32 𝐵31 + 𝐵32 + 𝐵33

𝜃1𝜃2𝜃3

In general, this matrix is singular!!!

What really matters is the phase difference 𝜃𝑖 − 𝜃𝑗

Slack bus: 𝜃1 = 0

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino48

Page 49: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Power Flow Analysis

Result:

• Varying phase it is possible to modify power flows

Constraints in flows:

• Tx lines have a limited capacity

• When programming production, limits on power flows must be taken into account:

𝑃𝑖𝑗 ≤ 𝑃𝑖𝑗𝑀𝑎𝑥

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino49

1 MW 0,7MW

0,3 MW

V1 V2

V3

Page 50: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Power Flow Analysis

Result:

• Varying phase it is possible to modify power flows

Constraints in flows:

• Tx lines have a limited capacity

• When programming production limits on power flows must be taken into account:

𝑃𝑖𝑗 ≤ 𝑃𝑖𝑗𝑀𝑎𝑥

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino50

1 MW 0,7MW

0,3 MW

V1 V2

V3

0,566

0,433 -0,1333

Page 51: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

System Operation

• Energy production is managed by a System Operator (SO)

• Its aims are to guarantee:• energy balance in the grid• Reliable operation• Fault tolerance

• In un-regulated systems these objectives are achieved in open markets

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino51

Page 52: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

System Operation

• At least two markets exist in any grid:• Day-ahead market: planned production given demand

forecast• Real-time market: energy balance market to correct

imbalances caused by unpredicted load variations, failures, …

• Other possible markets are:• Reserves • Frequency regulation• Demand Response• …

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino52

Page 53: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Day-ahead Market

• Given a demand forecast Dk

• And a set of generators G1, G2, G3, …, GN

• What is the lowest cost generation program that supplies the demand?

This is the economic dispatch problem!

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino53

Page 54: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Economic Dispatch

Each generator has an operational cost that varies withtechnology:

• Thermal plants usually have quadratic costs𝐶(𝑝𝑗) = 𝑎1𝑗 + 𝑎2𝑗𝑝𝑗 + 𝑎3𝑗𝑝𝑗

2

• Hydroelectric plats usually have linear costs𝐶(𝑝𝑗) = 𝑎1𝑗 + 𝑎2𝑗𝑝𝑗

• Solar or wind plants usually have fixed costs only𝐶(𝑝𝑗) = 𝑎1𝑗

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino54

Page 55: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Economic Dispatch

min 𝐽 =

𝑘=1

𝐾

𝑗=1

𝑁

𝐶(𝑝𝑗𝑘)

Subject to

𝑗=1

𝑁

𝑝𝑗𝑘 = 𝐷𝑘 ∀𝑘

𝑝𝑗𝑚𝑖𝑛 ≤ 𝑝𝑗𝑘 ≤ 𝑝𝑗

𝑚𝑎𝑥

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino55

Sum of generation costs

Energy Balance

Operational constraints

Page 56: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Economic Dispatch

• What information does the SO requires from each generator?

• How should the SO pay generators?• Pay as bid: discriminatory price.

• Uniform price: single clearing price.

• VCG: Social value.

• Can generators benefit from false cost information?• Gaming issues!!!

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino56

Page 57: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Economic Dispatch

min 𝐽 =

𝑘=1

𝐾

𝑗=1

𝑁

𝐶(𝑝𝑗𝑘)

Subject to

𝑗=1

𝑁

𝑝𝑗𝑘 = 𝐷𝑘 ∀𝑘

𝑝𝑗𝑚𝑖𝑛 ≤ 𝑝𝑗𝑘 ≤ 𝑝𝑗

𝑚𝑎𝑥

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino57

How can we include topology constraints?

Page 58: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Economic Dispatch

min 𝐽 =

𝑘=1

𝐾

𝑗=1

𝑁

𝐶(𝑝𝑗𝑘)

Subject to

𝑗=1

𝑁

𝑝𝑗𝑘 = 𝐷𝑘 ∀𝑘

𝑝𝑗𝑚𝑖𝑛 ≤ 𝑝𝑗𝑘 ≤ 𝑝𝑗

𝑚𝑎𝑥

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino58

Plants can not be switched ON-OFF at any rate, how can we include that constraint?

Page 59: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Economic Dispatch

min 𝐽 =

𝑘=1

𝐾

𝑗=1

𝑁

𝐶(𝑝𝑗𝑘)

Subject to

𝑗=1

𝑁

𝑝𝑗𝑘 = 𝐷𝑘 ∀𝑘

𝑝𝑗𝑚𝑖𝑛 ≤ 𝑝𝑗𝑘 ≤ 𝑝𝑗

𝑚𝑎𝑥

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino59

How do we decide which plants to turn on?

Page 60: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Economic Dispatch

min 𝐽 =

𝑘=1

𝐾

𝑗=1

𝑁

𝐶(𝑝𝑗𝑘)

Subject to

𝑗=1

𝑁

𝑝𝑗𝑘 = 𝐷𝑘 ∀𝑘

𝑝𝑗𝑚𝑖𝑛 ≤ 𝑝𝑗𝑘 ≤ 𝑝𝑗

𝑚𝑎𝑥

• Can we use the same approach to dispatch renewable sources?

• Can we fix pj ?

Give possible solutions…

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino60

Page 61: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Conclusions

• A transition to 100% renewable energy is feasible BUT:

• Solar and wind are not controllable sources

• Existing energy dispatch methods can not directly be extended to renewables

• Distributed generation causes multi-directional flows

• Demand can be used as a balancing resource

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino61

Page 62: CONTROL AND OPTIMIZATION IN SMART-GRIDS · 2018-05-03 · PI: Rabie Nait-Abdallah, rnait-abdallah@javeriana.edu.co F. Ruiz - Control and Optimization in Smart-Grids Politecnico di

Bibliography

[1] Kirschen D., Strbac, G., 2005, Fundamentals of Power System Economics, John Wiley & Sons, 296 pages, ISBN 978-0470845721.

[2] Morales González, JM, Conejo, AJ, Madsen, H, Pinson, P & Zugno, M 2014, Integrating Renewables in Electricity Markets: Operational Problems. Springer. International Series in Operations Research and Management Science, vol. 205, DOI: 10.1007/978-1-4614-9411-9.

3/05/2018F. Ruiz - Control and Optimization in Smart-Grids

Politecnico di Torino62