cyber-physical energy systems - github pages...principles of modeling for cps –fall 2018 madhur...

64
Cyber-Physical Energy Systems LECTURE 3 PRINCIPLES OF MODELING FOR CYBER-PHYSICAL SYSTEMS INSTRUCTOR: MADHUR BEHL Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 1

Upload: others

Post on 20-Jan-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Cyber-Physical Energy SystemsLECTURE 3

PRINCIPLES OF MODELING FOR CYBER-PHYSICAL SYSTEMS

INSTRUCTOR: MADHUR BEHL

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 1

Tea Time In Britain

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 2

Peaks occur during major sporting events

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 3

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 4

Price Volatility: Summer peak

20th, July 2015

Nominal price: $25/MWh Peak Price: $800/MWh

32x!

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 5

Price volatility is the new normalPJM (ISO) Locational Marginal Prices (LMPs) example

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 6

Peak Demand is Expensive!

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 7

Peak Demand is Expensive!

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 8

Peak Demand is Expensive!

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 9

Total electricity generation capacity in U.S. 1190 GW

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 10

Total electricity generation capacity in U.S. 1190 GW

1 Large Hadron ColliderPeak demand

200 MW

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 11

Total electricity generation capacity in U.S. 1190 GW

1 Large Hadron Collider

Peak demand

200 MW

5,950LHCs

Running at the same time

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 12

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 13

10,000,000 simultaneous superchargers at peak capacity

“All kilowatts are not created equally”

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 14

Demand Response

Reliable

Clean

Cost-Effective

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 15

Imagine getting paid for doing nothing

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 16

Imagine getting paid for doing nothing

NIGERIAN

MAIL SCAM

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 17

Imagine getting paid, or otherwise compensated, for not using electricity during peak hours!

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 18

A Demand Response EventEl

ectr

icity

Load

(GW

)

Peak anticipateddue to forecast

Electricity Load Increases

Demand ResponseDispatch

DR Curtailment

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 19

Demand Response – Looks familiar

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 20

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 21

Q) If you don’t know what's going to happen when you change a set-point. How do you even know the change is worth making ?

Q) What is the best change that you can make right now ?

Model-based predictive control (MPC)

What kind of models ?

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 22

The control problem in buildings

Integrated control of:

• Heating

• Cooling

• Ventilation

• Lighting

• Blinds

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 23

Model Predictive Control (MPC)

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 24

Generation, Transmission, Distribution: Supply-side

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 25

Modeling the grid dynamics ?

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 26

Modeling the grid dynamics ? Not in this course.

IEEE 39 New England Power Grid Model

• 39 transmission buses• 10 generators

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 27

Electricity consumption Buildings: Demand-side

Commercial, Industrial & Institutional (C/I/I) Resedential

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 28

Why Buildings ?

Portion of global energy use

Portion of electricity consumption in the United States

Portion of global total CO2 emissions

40%70%1/3

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 29

Electricity use due to cooling,

lighting and ventilation62% Portion of natural gas use dedicated to space heating 86%

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 30

How are building models obtained today ?

White Box

1/Ugw

1/Ugi

1/Ugo

Cgo

Cgi

Tgo

Tg

Tgi

Tz

Q.rad,e

1/Uei1/Uew1/Ueo

Ceo Cei

Ta

Teo Tei

Q.sol,e

Q.solt/2

1/Uci

1/Ucw

1/UcoCci

Cci

Ta

Q.sol,c

Q.rad,c

Ta

Q.conv + Q.

sens

1/Uii 1/Uiw 1/Uio

Cii Cio

Tci

Tco

1/Uwin Tii Tio

Q.solt/2

Q.rad,g

[ExternalWalls]

Ti

[Ceiling]

[Floor]

[InternalWalls]

[Windows]

Grey Box

Black Box

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 31

How are building models obtained today ?

White Box

Grey Box

Black Box

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 32

White-Box Modeling

Hire building modeling experts

Set parametersFloor by floorZone by zoneWall by wall

Layer by layerEquipment by

equipmentTransfer geometry

Floor PlanHVAC layout

Not always

available

Guess nominalparameter

values

First principles based building energy simulation

Model TuningData

Sensor retrofits

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 33

White-Box Modeling

Hire building

modeling

experts

Set parametersFloor by floor

Zone by zone

Wall by wall

Layer by layer

Equipment by

equipment

Transfer geometry

Floor PlanHVAC layout

Not always

available

Guess nominalparameter

values

First principles based

High fidelity

Building energy simulation

Model TuningData

Sensor retrofits

Cost and time prohibitive(sensor installation, commissioning & expertise)

Not suitable for model-based controlModel complexity and uncertainty, (1000’s parameters and states)

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 34

How are building models obtained today ?

White Box

1/Ugw

1/Ugi

1/Ugo

Cgo

Cgi

Tgo

Tg

Tgi

Tz

Q.rad,e

1/Uei1/Uew1/Ueo

Ceo Cei

Ta

Teo Tei

Q.sol,e

Q.solt/2

1/Uci

1/Ucw

1/UcoCci

Cci

Ta

Q.sol,c

Q.rad,c

Ta

Q.conv + Q.

sens

1/Uii 1/Uiw 1/Uio

Cii Cio

Tci

Tco

1/Uwin Tii Tio

Q.solt/2

Q.rad,g

[ExternalWalls]

Ti

[Ceiling]

[Floor]

[InternalWalls]

[Windows]

Grey Box

Black Box

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 35

Grey-Box [Inverse] Modeling

Hire building

modeling

experts

Set parametersFloor by floor

Zone by zone

Wall by wall

Layer by layer

Equipment by

equipment

Transfer geometry

Floor PlanHVAC layout

Not always

available

Guess nominalparameter

values

Parameter Estimation

Data

Sensor retrofits

Lumped Parameter

‘RC’ model

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 36

Grey-Box Modeling: ‘RC’ networks

Discrete-Time State Space Model:(parameterized by θ)

States (All node temperatures): x = [Teo, Tei, Tco, Tci, Tgo, Tgi, Tio, Tii, Tz]T

Inputs (Disturbances and Control): u = [Ta, Tg, Ti, Qsole, Qsolc, Qrade, Qradc, Qradg, Qsolt, Qconv, Qsens]T

Parameter Estimation: Least Squares Error

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 37

Heating, Ventilation, & Air Conditioning

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 38

HVAC is everywhere.. It is all around us,Even now, in this very room,You can feel it, ..when you go to work,

..when you go home

..when you pay your electricity bill

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 39

Its all about comfort..

Temperature

Humidity

Pressure

Ventilation

68°F (20°C) and 75°F (25°C)

30% relative humidity (RH) and 60% RH

A slightly positive pressure to reduce outside air infiltration.

Rooms typically have several complete air changes per hour

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 40

Components of HVAC System

5 system loops..

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 41

Air handling systems

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 42

Air handling systems

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 43

Air handling system

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 44

Air handling unit

Outside air Supply air

Return air

Exhaust air

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 45

Air handling unit

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 46

Air terminals: Constant Air Volume (CAV)

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 47

Air terminals: Variable Air Volume (VAV)

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 48

Ceiling plenum returnThe plenum is the space between the ceiling and the roof, or floor, above.

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 49

Air-Water interface- Heat exchanger.

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 50

Chilled water loop

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 51

Chiller plants

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 52

Just chilling as a grad student…

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 53

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 54

my biggest fans…

Chiller plants

4 million gallons of water at 42

degree Fahrenheit

26 MW peak load

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 55

Cooling towers

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 56

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 57

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 58

Meeting zone loads

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 59

Control loops

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 60

Local control loops

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 61

Local control loops

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 62

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 63

Next lecture..

Creating a dynamical system model of a zone.

Principles of modeling for CPS – Fall 2018 MADHUR BEHL - [email protected] 64