Top Banner
[ ̇ "#$#% ]=[space] + [for] Lecture 4 Principles of Modeling for Cyber-Physical Systems Instructor: Madhur Behl Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 1 m o d e li n g b u i l d i n g s
84

#$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl [email protected] 20 Heat Transfer: Convection Property of the material

Aug 13, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

[ "#$#%]=[space] + [for]

Lecture 4

Pr inc ip les of Model ing for Cyber-Phys ica l Systems

Instructor: Madhur Behl

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 1

modeling

buildings

Page 2: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

In today’s lecture..

• Heat transfer basics• Thermal gains• Single zone ‘RC’ network model

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 2

Page 3: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Recall: HVAC zone control

How to model the dynamics of the zone, for better control ?

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 3

Page 4: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Heat transfer concepts

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 4

Page 5: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Heat transfer concepts

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 5

Page 6: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Heat transfer 101

If a mass m1 of a substance is heated from temperature T1 to T2, the

amount of heat H which it acquires is given by:

! = #$%&(() − ($)

where 01 is the speci7ic heat of the substance

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 6

Page 7: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Conservation of energy

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 7

Page 8: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

HVAC Zone heating

Heat flowmass flow rate..

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 8

Page 9: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Zone Cooling

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 9

Page 10: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Components of Building Heat Loss and Gain

"#$

"%&"%

"'()

"*

"$)

+, -,+. -./0/12$

• Gains• Heat flows in…

• Losses • Heat flows out…

• Sensible gain/cooling:• Change the temperature of

the interior air.• Latent gain/cooling:• Change the humidity level

of the interior air.

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 10

Building envelop.

Page 11: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Components of Building Heat Loss and Gain

"#$

"%&"%

"'()

"*

"$)

+, -,+. -./0/12$

• Heat flows through:• Walls• Windows• Doors• Roof• Floor• Internal heat gain• Lights• Occupants• Equipment

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 11

Building envelop.

Page 12: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Mechanisms of heat transfer

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 12

Page 13: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Conduction – A touching story of heat transfer

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 13

Page 14: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Heat Transfer: Conduction

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 14

Page 15: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Heat Transfer: Conduction

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 15

Page 16: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Conduction though a wall

To

Ti

W

H

L

" = $% &' − &)*

"" = &' − &)

+,

+, =*$%

Property of the material

Property of the geometry

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 16

Page 17: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Recall: Generalized resistance

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 17

Heat flow "

Temperature T

Page 18: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Heat Transfer: Conduction

Through Variable Across Variable

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 18

Page 19: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Composite wall

Equivalent to

R1 R2 R3

R4 R5 R6

RT

!" =1

1!% + !' + !( + 1

!) + !* + !+

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 19

Page 20: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Heat Transfer: Convection

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 20

Page 21: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Heat Transfer: Convection

Property of the material

Property of the geometry

Second law (of thermodynamics)

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 21

Page 22: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Heat Transfer: Radiation

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 22

Page 23: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Heat Transfer: Radiation

Direct Indirect

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 23

Page 24: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Heat Transfer: Radiation

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 24

Page 25: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Recall: Generalized Capacitance

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 25

Heat flow "

Temperature T

Page 26: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Thermal Mass

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 26

!"#$%&'( &')) *+ &'"$%,'( -*(.&$/0&'"$%,'(

/" = 34$" (*))/6',4

Page 27: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

To model a single zone:

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]

1. To predict…

• Zone temperature.• Zone humidity.• Electricity

consumption/demand.• Energy consumption/demand.

• Cooling load• Heating load

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 27

Page 28: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

To model a single zone:

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] We could model

• HVAC equipment.• Building envelop.

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 28

Page 29: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

To model a single zone:

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]

1. Construction:1. Material properties

2. Geometry:1. Surface Areas, 2. Surface thickness3. Volume

3. Operation:1. Internal heat gains2. HVAC cooling/heating3. Outside air4. Solar heat gain

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 29

Page 30: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Single zone: Surfaces

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]

1. External Walls:1. Outside surface of

external wall – Ambient temperature.

2. Inside surface of external wall – Zone temp.

2. Ceiling:1. Out surf : Ambient temp,

or floor of the zone above.

2. Special case: Plenum3. In surface: zone temp

3. Floor:1. Out surf: Ground temp, or

zone below..2. In surface: zone temp

4. Internal Walls:1. With adjacent zones.

5. Windows/Doors

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 30

Page 31: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Single zone: Heat Gains

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]

1. Solar Irradiance Qsol :1. External wall2. Ceiling

2. Solar radiation transmitted through windows Qsol,t:1. Absorbed by zone air, and internal

surfaces.3. Radiative internal heat gain Qrad:

1. Distributed evenly on all internal surfaces.

4. Convective heat gain Qconv:1. With adjacent zones.

5. HVAC heat gain QHVAC or Qsens6. Boundary temperatures:

1. Outside air temp.2. Other zones

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 31

Page 32: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Internal heat gainsOccupants Lighting Appliances/Equipment

Radiative Convective

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 32

Page 33: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Radiative Convective

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 33

Page 34: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

All in all, its just heat transfer through the wall

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 34

Page 35: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

One layer slab: 3R2C

• One layer slab:

• Two interior nodes, for each surface• T1, T2

• Convection on both sides.• To, Tz

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 35

Page 36: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Assumptions

• Air inside is well mixed.• One dimensional heat transfer is assumed for the walls and surfaces..• No lateral temperature

differences.

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 36

Page 37: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Assumptions

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 37

Page 38: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

One layer slab: 3R2CWhy are resistors, capacitors, and temperature elements floating and not grounded in this diagram ?

Its convenient

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 38

Page 39: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

One layer slab: 3R2C

Heat flux, W/m2

e.g. solar irradiance

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 39

Page 40: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

3R2C – A closer look

Convection Convection Convection

Conduction

Conduction

Thermal Mass

Thermal Mass

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 40

Page 41: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Announcements• Install EnergyPlus before the next lecture on Thursday, September 20.• https://energyplus.net/• Whole building energy simulator

• Optional:• Create an account at https://usonialabs.com/

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 41

Page 42: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Assignment 2 is out

• Thermal RC modeling for a single zone.

• Due in 1 week: Tuesday, Sep 25 at 2:00pm

• No programming parts

• If you are submitting an electronic copy on collab:

• Upload a single PDF file only.

• Use the following filename format: <FirstName_LastName_UVA-ID>.pdf

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 42

Page 43: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Zone temperature dynamics

"#$%

"&'()

*+

*+ ,-.,/ = ℎ2 34 − 36 + "#$% + "&'()

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 43

Page 44: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Zone temperature dynamics

!" #$%#& = ℎ) *+ − *- + 0123 + 04567

States:

Inputs:

*8, *+ , *"

*: , ;<=>?@A), 0123, 04567

Parameters (unknown)

ℎ, B, ), !, !"

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 44

Page 45: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

State-Space dynamics

!" #$%#& = ℎ) *+ − *- + 0123 + 04567

*8*+*"

=

−ℎ)! − 1

:!1:! 0

1:!

−ℎ)! − 1

:!ℎ):!

0 ℎ)!"

−ℎ)!"

*8*+*"

+

ℎ)!

1! 0 0

0 0 0 00 0 1

!"1!"

*<=>?@ABC)012304567

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 45

Page 46: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

State-Space dynamics

"#"$"%

=

−ℎ)* − 1

,*1,* 0

1,*

−ℎ)* − 1

,*ℎ),*

0 ℎ)*%

−ℎ)*%

"#"$"%

+

ℎ)*

1* 0 0

0 0 0 00 0 1

*%1*%

"/0123456)789:7;<=>

? = )? + @A

Which variables are changing with time?

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 46

Page 47: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

"#(%)"'(%)"((%)

=

−ℎ,- − 1

/-1/- 0

1/-

−ℎ,- − 1

/-ℎ,/-

0 ℎ,-(

−ℎ,-(

"#(%)"'(%)"((%)

+

ℎ,-

1- 0 0

0 0 0 00 0 1

-(1-(

"2(%)3456789(%),:;<=(%):>?@A(%)

State-Space dynamics

B(%) = ,B(%) + CD(%)

Is this system LTI ?

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 47

Page 48: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Output equation

!(#) = &'(#) + )*(#)

+,(#) = 0 0 1+/ #+0 #+, #

+ [ 0 ]

+3(#)456789:(#);=>?@(#)=ABCD(#)

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 48

Page 49: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

To model a single zone:

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]

Great!, I know how to model an external wall.(external because, the outside boundary was

ambient temperature)

But what about

Floor, Ceiling,

Windows,Other ‘internal’ walls

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 49

Page 50: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

To model a single zone:

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]

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 50

Page 51: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

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]

External Wall : Convenient notations

!"#$%&"'(%& )&*(*'+$"& =1ℎ/ =

10"#$%&"'(%& "#$12"'(#$

!'3&)4+5 )&*(*'+$"& =1

0'3&)4+5 "#$12"'(#$

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 51

Page 52: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

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]

External Wall : Convenient notations

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 52

Page 53: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Ceilings – from a modeling perspective

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]

“ We are walls too”

- Ceilings (since forever)

“..so are we..”

- Floors

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 53

Page 54: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

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]

Ceilings (..floors..internal walls..) -

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]

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 54

Page 55: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Windows (little to no thermal mass – only thermal resistance)

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]

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]

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]

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 55

Page 56: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Plenums – from a modeling perspective

Tp

Tz

1/Up

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 56

Page 57: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

RC modeling methodology

1. All exterior walls are combined into a single exterior wall.a. External boundary condition: Outside air temperature, Incident solar irradiation.

2. Windows/doors (without thermal mass) – Resistive element.

3. Ground and ceiling with appropriate boundary conditions.a. Another zone, ground temperature, outside temperature, plenum.

4. Internal walls for adjacent zones, and/or partitions.

5. Inputs:a. Heat gains to the zone temperature,

b. Solar irradiance, c. All boundary temperatures

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 57

Page 58: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

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]

Gray box modeling: “RC-Networks”

Every surface is a ‘RC’ branch in the network

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 58

Page 59: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

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]

Every surface is a ‘RC’ branch in the network

Branch heat balance equations [3R2C]

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 59

Page 60: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

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]

Every surface is a ‘RC’ branch in the network

Zone heat balance equation

External Wall Ceiling

Internal Wall

Floor

Windows Heat Gains/Losses

Zone AirThermalmass

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 60

Page 61: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

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]

Gray box modeling: “RC-Networks”

All the heat balance equationsBraches + zone temperature

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 61

Page 62: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

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]

Gray box modeling: “RC-Networks”

States : All nodes of the network except boundary nodes

Inputs: All boundary conditions and heat gains.

Parameters: The resistances/conductances and capacitances

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 62

Page 63: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

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]

Gray box modeling: “RC-Networks”

Inputs:1. Disturbances : Non-manipulated variables2. Control: Manipulated variables

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 63

Pro(gramming) Tip ! : Convention to order control inputs at the end of the input vector

Page 64: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

A closer look at the heating/cooling input

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 64

Assuming return air temperature is the same as zone air temperature.

Mass flow rate Supply air temperature

Page 65: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Zone heat balance equation

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 65

+ #$%& '&,)*+ (-$%& − -/)

Inputs: All boundary conditions and heat gains.

#$%&, -$%&

1 = 31 + 45

Page 66: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Zone heat balance equation

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 66

+ #$%& '&,)*+ (-$%& − -/)

Model has become non-linear (bi-linear) !

Page 67: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Modeling complexity depends on the purpose

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 67

Lets say you had to model this one zone on the second level of the building

Page 68: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Modeling choices

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 68

1. Does every internal wall require its own RC branch ?

2. What about windows which maybe the same material but face different directions ?

3. Do doors have thermal mass ?4. How do you compute the total internal

heat gain at any time ?

Page 69: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Recall: Single zone: Heat Gains

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]

1. Solar Irradiance Qsol :

2. Solar radiation transmitted

through windows Qsol,t:

3. Radiative internal heat gain Qrad:

4. Convective heat gain Qconv:

5. HVAC heat gain QHVAC or Qsens

6. Boundary temperatures:

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 69

Page 70: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Heat gain from occupants

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 70

Page 71: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Heat gain from occupants

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 71

Page 72: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Single zone: Heat flows

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 72

Ambient airtemperature

Solarirradiance Zone Air

!"

Envelopegains

Interior Structure

Furnishings

ConvectiveConvective

Radiative

Radiative

Convective

Radiative

Cooling load

Internalgains

Solar gains

Page 73: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Modeling choices

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 73

1. Does every internal wall require its own RC branch ?

2. What about windows which maybe the same material bur face different directions ?

3. Do doors have thermal mass ?4. How do you compute the total internal

heat gain at any time ?5. How are wall temperatures and

incident solar irradiance measured ?

Page 74: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Measuring solar irradiance.

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 74

Designed to measure the solar radiation flux density (W/m2)

Pyranometer

Page 75: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Multi-zone RC network

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 75

Page 76: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Multi-zone RC network

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 76

Page 77: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Alternate representation

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 77

Page 78: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Alternate representation

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 78

Page 79: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Energy CPS modeling assignments

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 79

4 perimeter zones1 interior zone

Page 80: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Module 1 modeling assignments

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 80

• Assignment 2:• Create the RC model structure.

• Assignment 3:• Nominal values of model parameters.• Model structure in Matlab• Training data set.

• Assignment 4:• Parameter tuning in Matlab.• Model validation.

Page 81: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Assignment 2

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 81

Page 82: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

SPACE3-1: Inputs

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 82

Page 83: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

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]

How to find the values of the parameters ?

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 83

Page 84: #$#%̇]=[space] + [for]...Heat Transfer: Convection Principles of Modeling for CPS –Fall 2018 Madhur Behl madhur.behl@virginia.edu 20 Heat Transfer: Convection Property of the material

Next lecture:

• Intro to whole building simulation.•White-box vs Grey-box• EnergyPlus tutorial and demo• working with IDF files

Principles of Modeling for CPS – Fall 2018 Madhur Behl [email protected] 84