Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu,...

21
Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural Engineering Group) Purdue University

Transcript of Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu,...

Page 1: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling

Jianjun Hu, Panagiota KaravaSchool of Civil Engineering (Architectural Engineering Group)

Purdue University

Page 2: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

2

Background - Mixed-Mode Cooling

Hybrid approach for space conditioning;

Combination of natural ventilation, driven by wind or thermal buoyancy forces, and mechanical systems;

โ€œIntelligentโ€ controls to optimize mode switching minimize building energy use and maintain occupant

thermal comfort.

Page 3: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

3

Background - Mixed-Mode Strategies

Air exchange with corridor inlet grilles

3-storey atria

Atria connecting floor grilles

ExhaustWhen outdoor conditions are appropriate: Corridor inlet grilles and atria connecting grilles

open;

Atrium mechanical air supply flow rate reduced to minimum value, corridor air supply units close;

Atrium exhaust vent open;

(Karava et al., 2012)

- When should we open the windows ? - For how long?- Can we use MPC?

Institutional building located in Montreal

Mixed-mode cooling concept

Page 4: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

4

Background โ€“ MPC for Mixed-Mode Buildings Modeling Complexity

Pump and fan speed, opening position (inverse model identified from measurement data) - Spindler, 2004

Window opening schedule (rule extraction for real time application) - May-Ostendorp, 2011

Shading percentage, air change rate (look-up table for a single zone) โ€“ Coffey, 2011

Blind and window opening schedule (bi-linear state space model for a single zone) โ€“ Lehmann et al., 2012

Page 5: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

5

Objectives Develop model-predictive control strategies for

multi-zone buildings with mixed-mode cooling, high solar gains, and exposed thermal mass.

Switching modes of operation for space cooling (window schedule, fan assist, night cooling, HVAC)

Coordinated shading control

Page 6: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

6

MPC: Problem Formulation

Thermal Dynamic Model:Nonlinear

Discrete Control Variables:Open/Close (1/0)

Offline MPC (deterministic);

baseline simulation study for a mixed-mode

building

Linearized prediction models

(state-space)

Algorithms for discrete optimization

On-line MPC (implementation, identification, uncertainty)

Operable vents

Page 7: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

MPC: Dynamic Model (Thermal & Airflow Network)

Building section (9 thermal zones)

7

Glass facade

AtriumSection 1 Section 2 Section 3 Section 4

Page 8: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

8

Heat balance for atrium air node

is the air exchange flow rate between zones (obtained from the airflow network model) :

pressure difference ฮ”P:

Solved by FDM method and Newton-Raphson

๐ถ๐‘Ž๐‘ก๐‘Ÿ๐‘‘๐‘‡๐‘Ž๐‘ก๐‘Ÿ๐‘‘๐‘ก

=โˆ‘ ๐‘‡๐‘ค๐‘Ž๐‘™๐‘™๐‘– โˆ’๐‘‡ ๐‘Ž๐‘ก๐‘Ÿ๐‘…๐‘ค๐‘Ž๐‘™๐‘™๐‘Ž๐‘ก๐‘Ÿ๐‘– +๐‘„๐‘Ž๐‘ข๐‘ฅ+๏ฟฝฬ‡๏ฟฝ๐‘๐‘ (๐‘‡๐‘๐‘œ๐‘Ÿ๐‘Ÿโˆ’๐‘‡ ๐‘Ž๐‘ก๐‘Ÿ )

๏ฟฝฬ‡๏ฟฝ

๏ฟฝฬ‡๏ฟฝ=๐ถ๐ท๐ดโˆš2๐œŒ โˆ†๐‘ƒ

MPC: Dynamic Model (Thermal & Airflow Network)

โˆ† ๐‘ƒ= ๐‘“ (๐‘ƒ ,๐‘‡ ๐‘Ž๐‘ก๐‘Ÿ ,๐‘‡ ๐‘๐‘œ๐‘Ÿ )

Thermal model

๏ฟฝฬ‡๏ฟฝ=๐ถ๐ท๐ดโˆš2๐œŒ โˆ†๐‘ƒ

โˆ†๐‘ƒ= ๐‘“ (๐‘ƒ ,๐‘‡ ๐‘Ž๐‘ก๐‘Ÿ ,๐‘‡ ๐‘๐‘œ๐‘Ÿ )

Page 9: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

9

MPC: Dynamic Model (State-Space) State-space representation:

๏ฟฝฬ‡๏ฟฝ=๐‘จ๐‘ฟ+๐‘ฉ๐‘ผ+ ๐‘“ ( ๐‘ฟ ,๐‘ผ ,๏ฟฝฬ‡๏ฟฝ )๐’€=๐‘ช๐‘ฟ +๐‘ซ๐‘ผ

obtained from the airflow network model๏ฟฝฬ‡๏ฟฝ=๐‘” ( ๐‘ฟ ,๐‘ผ )

Linear time varying (LTV-SS)

A, B, C, D: coefficient matricesX: state vectorU: input vectorY: Output vector

๏ฟฝฬ‡๏ฟฝ=๐‘จ (๐’• ) ๐‘ฟ+๐‘ฉ (๐’• )๐‘ผ๐’€=๐‘ช๐‘ฟ +๐‘ซ๐‘ผ

is a nonlinear term, i.e.: heat transfer due to the air exchange.๐‘“ (๐‘ฟ ,๐‘ผ ,๏ฟฝฬ‡๏ฟฝ )

Page 10: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

10

States (X): X = [Ti , Tij , Tij,k]T

i โ€“ zone index j โ€“ wall index k โ€“ mass node index

Inputs (U): U = [Tout, Sij, Load]T

Tout โ€“ outside air temperature;

Sij โ€“ solar radiation on surfaces ij; Load โ€“ heating/cooling load;

Outputs (Y): Y= [Ti , Tij , Tij,k]T

Zone air temperature; Wall temperature; โ€ฆโ€ฆโ€ฆโ€ฆ

MPC: Dynamic Model (State-Space)

Page 11: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

11

[ ๏ฟฝฬ‡๏ฟฝ ๐‘–๏ฟฝฬ‡๏ฟฝ ๐‘–๐‘—๏ฟฝฬ‡๏ฟฝ ๐‘–๐‘— ,๐‘˜]280ร— 1

=[ ๐ด1,1 โ‹ฏ ๐ด1,280โ‹ฎ โ‹ฑ โ‹ฎ๐ด280,1 โ‹ฏ ๐ด280,280] โˆ™[

๐‘‡ ๐‘–๐‘‡ ๐‘–๐‘—๐‘‡ ๐‘–๐‘— ,๐‘˜]

280ร—1

+[ ๐ต1,1 โ‹ฏ ๐ต1,52โ‹ฎ โ‹ฑ โ‹ฎ๐ต280,1 โ‹ฏ ๐ต280,52] โˆ™[

๐‘‡ ๐‘œ๐‘ข๐‘ก๐‘†๐‘–๐‘—๐ฟ๐‘œ๐‘Ž๐‘‘ ๐‘–]

52ร—1

๏ฟฝฬ‡๏ฟฝ=๐‘จ (๐’• ) ๐‘ฟ+๐‘ฉ (๐’• )๐‘ผ

Find the matrices from the heat balance equations

e.g. atrium zone air node: ๐ด235,1=๏ฟฝฬ‡๏ฟฝ๐‘†๐ธ 1๐‘Ž๐‘ก๐‘Ÿ๐‘๐‘๐ถ๐‘Ž๐‘ก๐‘Ÿ๐‘

๐ด235,118=๏ฟฝฬ‡๏ฟฝ๐‘๐‘Š 1๐‘Ž๐‘ก๐‘Ÿ

๐‘๐‘๐ถ๐‘Ž๐‘ก๐‘Ÿ ๐‘

๐ด235,118=1

๐ถ๐‘Ž๐‘ก๐‘Ÿ ๐‘๐‘…11๐‘ค๐‘Ž๐‘–๐‘Ÿ๐ด235,240=

1๐ถ๐‘Ž๐‘ก๐‘Ÿ๐‘๐‘…11๐‘”๐‘Ž๐‘–๐‘Ÿ

๐ด235,241=1

๐ถ๐‘Ž๐‘ก๐‘Ÿ๐‘๐‘…31๐‘Ž๐‘–๐‘Ÿ

๐ด235,243=1

๐ถ๐‘Ž๐‘ก๐‘Ÿ๐‘๐‘…41๐‘Ž๐‘–๐‘Ÿ๐ด235,245=

1๐ถ๐‘Ž๐‘ก๐‘Ÿ๐‘๐‘…51๐‘Ž๐‘–๐‘Ÿ

๐ด235,247=๏ฟฝฬ‡๏ฟฝ๐‘Ž๐‘ก๐‘Ÿ 2๐‘Ž๐‘ก๐‘Ÿ 1๐‘๐‘๐ถ๐‘Ž๐‘ก๐‘Ÿ ๐‘

๐ด235,235=(โˆ’1 )โˆ‘ ๐ด๐ต235,50=1

MPC: Dynamic Model (LTV-SS)

Page 12: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

12

MPC: Control Variable, Cost Function, and Constraints Control variable: operation schedule

Cost function:Min: where: E is the energy consumption; IOt is vector of binary (open/close) decisions for the motorized envelope openings

๐ฝ ( ๏ฟฝโƒ—๏ฟฝ๐‘‚๐‘ก )=๐ธ

๏ฟฝโƒ—๏ฟฝ๐‘‚๐‘ก= {0 ,1 }

Constraints: Operative temperature within comfort range (23-27.6 ยฐC, which corresponds to PPD

of 10%) during occupancy hours; Use minimal amount of energy: cooling/heating (set point during occupancy hours

8:00-18:00 is 21-23 หšC, during unoccupied hours is 13-30 ยฐC); Dew point temperature should be lower than 13.5 ยฐC (ASHRAE 90.1); Wind speed should be lower than 7.5 m/s.

Page 13: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

13

MPC: Optimization (PSO) โ€œOfflineโ€ deterministic MPC: Assume future predictions are exact Planning horizon: 20:00 -- 19:00, decide operation status during each hour.

19:0020:00 21:00 22:00 โ€ฆโ€ฆโ€ฆโ€ฆ.

Find optimal operation scheduleuuu u

find optimal sequence from 224 options;

Wetter (2011)

Page 14: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

14

MPC: Optimization (Progressive Refinement)

Time frames Rules Temperature Transmitted Solr Decision

Early morning (6:00 โ€“ 8:00)

Case 1 โ‰ฅ 21 ยฐC -- open

Case 2 โ‰ค 21 ยฐC -- close

Afternoon(15:00 โ€“ 16:00)

Case 1 โ‰ค 23 ยฐC โ‰ค 400 W/m2 open

Case 2 > 23 ยฐC โ‰ค 400 W/m2 close

Case 3 โ‰ค 21 ยฐC > 400 W/m2 open

Case 4 > 21 ยฐC > 400 W/m2 close

Multi-level optimization Decide operation status for each two hours at night (20:00-5:00); Use simple rules (based on off-line MPC)

Page 15: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

15

Simulation Study

0

200

400

600

800

1000

0

6

12

18

24

30

20:00 20:00 20:00 20:00 20:00 20:00 20:00 Dir

ect

norm

al ir

radi

ance

, w

/m2

Air

tem

pera

ture

, ยฐC

Time (20:00 of 8/17 -- 19:00 of 8/23), hour

T_dry T_dew DNI

Assumptions: Local controllers were ideal such that all feedback controllers follow set-points

exactly; Internal heat gains (occupancy, lighting) were not considered; An idealized mechanical cooling system with a COP value of 3.5 was modeled. TMW3 data (Montreal)

Cases: Baseline: mechanical cooling with night set back Heuristic: Tamb [15 , 25 ], Tโˆˆ โ„ƒ โ„ƒ dew โ‰ค 13.5 , Wโ„ƒ speed < 7.5 m/s MPC

Page 16: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

16

Results: Operation Schedule (Heuristic & MPC)

Hours during which vents are open are illustrated by cells with grey background Heuristic strategy leads to higher risk of over-cooling during early morning (Day 1,

Day 4, and Day 5);

Page 17: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

17

Results: Energy Consumption & Operative Temperature (FDM & LTV-SS)

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

8/18 8/19 8/20 8/21 8/22 8/23

Ope

rativ

e te

mpe

ratu

re d

evia

tion,

๏ฟฝC

Date

Baseline Heuristic MPC

0.0

1.0

2.0

3.0

20:00 20:00 20:00 20:00 20:00 20:00 20:00

Pow

er, k

W

Time (from 20:00 of 08/17 -- 19:00 of 08/23), hour

Baseline: FDM Heuristic: FDM MPC: FDMBaseline: LTV-SS Heuristic: LTV-SS MPC: LTV-SS

0

50

100

150

200

250

300

June July August

Cool

ing

ener

gy c

onsu

mpti

on, k

Wh

Baseline Heuristic MPC

18.0

22.0

26.0

30.0

20:00 20:00 20:00 20:00 20:00 20:00 20:00Ope

rativ

e te

mpe

ratu

re, ยฐ

C

Time (from 20:00 of 08/17 -- 19:00 of 08/23), hour

Baseline: FDM Heuristic: FDM MPC: FDMBaseline: LTV-SS Heuristic: LTV-SS MPC: LTV-SS

Comfort Acceptability reduced from 80% to 60%

18.0

22.0

26.0

30.0

20:00 20:00 20:00 20:00 20:00 20:00 20:00Operative

tempera

ture,

ยฐC

Time (from 20:00 of 08/17 -- 19:00 of 08/23), hour

Baseline: FDM Heuristic: FDM MPC: FDMBaseline: LTV-SS Heuristic: LTV-SS MPC: LTV-SS

18.0

22.0

26.0

30.0

20:00 20:00 20:00 20:00 20:00 20:00 20:00Operative tem

perature,

ยฐC

Time (from 20:00 of 08/17 -- 19:00 of 08/23), hour

Baseline: FDM Heuristic: FDM MPC: FDMBaseline: LTV-SS Heuristic: LTV-SS MPC: LTV-SS

-3.0 ยฐC1.3 ยฐC

Page 18: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

18

Results: MPC with PSO and Progressive Refinement (ProRe)

Similar energy consumption and operative temperature;

Much faster calculation with ProRe;

3 Days

3 Hours

0.0

1.0

2.0

3.0

20:00 20:00 20:00 20:00 20:00 20:00 20:00

Pow

er, k

W

Time (from 20:00 of 8/17 to 19:00 of 8/23), hour

LTV-SS: Baseline LTV-SS: MPC (PSO) LTV-SS: MPC (ProRe)

18.0

22.0

26.0

30.0

20:00 20:00 20:00 20:00 20:00 20:00 20:00

Ope

rati

ve T

empe

ratu

re,

ยฐC

Time (from 20:00 of 8/17 to 19:00 of 8/23), hour

LTV-SS: Baseline LTV-SS: MPC (PSO) LTV-SS: MPC (ProRe)

Page 19: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

19

Results: MPC with PSO and Progressive Refinement (ProRe)

Fine-tune rules in Progressive Refinement method for different climate (LA)

Page 20: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

20

Conclusions For the simulation period considered in the present study, mixed-mode

cooling strategies (MPC and heuristic) effectively reduced building energy consumption.

The heuristic strategy can lead to a mean operative temperature deviation up to 0.7 ยฐC, which may decrease the comfort acceptability from 80% to 60%. The predictive control strategy maintained the operative temperature in desired range.

The linear time-variant state-space model can predict the thermal dynamics of the mixed-mode building with good accuracy.

The progressive refinement optimization method can find similar optimal decisions with the PSO algorithm but with significantly lower computational effort.

Page 21: Modeling and Predictive Control Strategies in Buildings with Mixed-Mode Cooling Jianjun Hu, Panagiota Karava School of Civil Engineering (Architectural.

21

Acknowledgement This work is funded by the Purdue Research Foundation and

the Energy Efficient Buildings Hub, an energy innovation HUB sponsored by the Department of Energy under Award Number DEEE0004261.

In kind support is provided from Kawneer/Alcoa, FFI Inc., and Automated Logic Corporation