39
MATLAB Expo 2017 Building and HVAC Simulation in MATLAB/Simulink FFG Project SaLüH! Fabian Ochs, Dr.-Ing. Dietmar Siegele, DI, MSc Georgios Dermentzis, DI Eleonora Leonardi, MSc Toni Calabrese, MSc Felix Bartagnoli Munich, June 2017

Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

Embed Size (px)

Citation preview

Page 1: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

MATLAB Expo 2017

Building and HVAC Simulation in MATLAB/Simulink – FFG Project SaLüH!

Fabian Ochs, Dr.-Ing.

Dietmar Siegele, DI, MSc

Georgios Dermentzis, DI

Eleonora Leonardi, MSc

Toni Calabrese, MSc

Felix Bartagnoli

Munich, June 2017

Page 2: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 2

Building and HVAC Simulation in MATLAB/Simulink

• Thermolib

• Hambase/Hamlab (van Schindel TUE) + Comsol

• Simbad (CSTB)

• International Building Physics Toolbox www.ibpt.org

• Carnot Toolbox

• …

Page 3: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 3

Simulink, Carnot Blockset

User/Developer (next User Meeting Feb. 2018)• Companies such as Vaillant, Viessmann

• SIJ, FH Aachen

• FHNW, HS Rapperswil

• FH Ingolstadt

• RWTH Aachen

• Uni Bayreuth

• TU Darmstadt

• TU Dortmund

• ASIC

• Uni Bologna

• Uni Innsbruck

• …

Page 4: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

Scope of Building and HVAC Simulation

Investigation of

• Thermal Comfort (operative temperature Jop, relative humidity)

• Indoor Air Quality (IAQ): CO2, VOC, PM, etc.

• Visual Comfort / glare protection (in non-residential buildings)

• Building Performance - Heating Demand (HD), Cooling Demand (CD), Heating Load (HL), Cooling Load (CL)

• System Performance ( + Control Optimization)

• (On-site) use of Renewables, load matching

• Primary Energy Savings / Reduction of CO2-emission

• Economic Analysis (LCC)

14 16 18 20 22 24 26 280

10

20

30

40

50

60

70

80

90

100

J / [°C]

/ [%

]

GF-CHS

GF-LI

GF-KI

GF-CHN

GF-BA

comfort

acceptable

08.06.2017 Fabian Ochs 4

Page 5: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

Renovation of small Flats with decentralVentilation and Heating System and DHW Heat Pump (FFG Project)

• Most buildings are poor energy performance buildings

• Renovation plays a key role in achieving required reduction of CO2-emissions

• Envelope solutions are available (insulation, windows, etc.)

• Renovations in MFHs are frequently done flat-wise

• Non-disruptive solutions for renovation the HVAC system are required

• Heat Pumps represent an alternative to electric heating and DHW preparation (in case gas or district heat not applicable)

08.06.2017 Fabian Ochs 5

Page 6: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 6

Example of a small flat in a typical Multi Family House (MFH)

N

Floor Plan and Section

3 rooms, kitchen, bathroom, ca. 70 sqm

Page 7: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 7

Example of a small flat in a Multi Family House (MFH)

• Flat-wise Renovation

• Frequently no heat emission system

• No space for technical installations

• As a consequence:

Frequently electric heating and

DHW preparation

Page 8: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 8

Compact Heat Pumps for Renovation

Compact DHW Heat Pump with

optionally facade integrated modular storage

Ambient air Exhaust air

Extract air Supply air

Secondary air

Exhaust Air Heat Pump with ERV

Page 9: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

Markus Meyer, Kompakt und komfortabel Lüftungs-

kompaktanlagen und Alternativen für das Passivhaus

Effiziento HTZ 4

VP 18 Compact von Nilan LWZ 304 SOL von Stiebel Eltron

AEREX BW 175x² von drexel und weiss Zehnder ComfoBox

08.06.2017 Fabian Ochs 9

„XL“ compact units for „large“ PH

Not applicable in small flats!

Page 10: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 10

Mini-Split / Multi-Split

http://www.toshiba-klima.de/http://www.mitsubishicomfort.com/

Example of Mini-Split Systems

Page 11: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

Single Split / Multi Split

• Heating and cooling with one device

• Various indoor unit designs

• Rel. good performance (SCOP > 3)

• Heating capacity from 2.5 to 12 kW

• Flexible design

• Rel. high cost for multi-split

• Challenging heat distribution for single split

• in combination with radiant heater

08.06.2017 Fabian Ochs 11

Page 12: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 12

Multi-Split Unit

Multi-Splits:

several indoor and one outdoor unit:

+ Individual temperature control

- Performance

- rel. high cost

additional bathroom radiator

(towel dryer, convector, radiant heater)

MVHR not depicted

VRF for simultaneous heating and cooling

(heat recovery)

Page 13: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 13

Heating with single Split Unit (Overheating of Corridor)

Mini-Split

with radiant heater

+ low sound emissions outside

+ Individual room control

- Performance (electric heating)

ambient

additional bathroom radiator

Electric post heater for

individual room control

(towel dryer, convector, radiant

heater)

MVHR not depicted

Page 14: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 14

Compact Systems for Façade Integration

Ambient air Exhaust air

Extraxt air Supply air

EU-project iNSPiRe (fp7)

MVHR with exhaust air heat

pump (with hot gas bypass for

deicing)

Functional Model and … …iNSPiRe Demo-Building,

Ludwigsburg (WB-L, G+M)

Page 15: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 15

Supply Air Heat Pump (façade integrated) with radiant heater

Supply air heating (with MVHR)

for PH

+ Rel. low costs

- No individual room control

- Performance

additional bathroom radiator

(towel dryer, convector, radiant heater)

MVHR with Micro-HP

Page 16: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 16

Supply Air Heat Pump (façade integrated) with radiant heater

Supply air heating (with MVHR)

+ Higher heating power (EnerPhit)

+ Individual room control

- Higher costs

- Lower performance (electric heating)

additional bathroom radiator

(towel dryer, convector, radiant heater)

MVHR with Micro-HP

Page 17: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 17

Supply Air Heat Pump with recirculation

Supply air heating (with MVHR)

for EnerPHit

+ higher heating power (EnerPHit)

- Higher installation effort (ducts)

additional bathroom radiator

(towel dryer, convector, radiant heater)

MVHR with Micro-HP with additional ambient air

Page 18: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

Concept of Ventilation and Heating System

Outdoor Unit Indoor Unit

AB

SEKAB

SEKZU

ZU

AU

FOHRV/

ERV

08.06.2017 Fabian Ochs 18

Page 19: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

Heating Load and Supply Air Heating

• Maximum heating load with supply air heating per room: 20 W/m²

• Heating load only via supply air rooms

• Hygienic flow rate!

• Maximum heating load with recirculation air: > 50 W/m²

• Overheating: approx. 1 K sleeping living

sleeping

corridor bath

kitchen

20 W/m² 20 W/m²

20 W/m²

50 W/m²

08.06.2017 Fabian Ochs 19

Page 20: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

Temperature-Enthalpy Diagramand Psychrometric Chart –HRV

exh0

exh1

sup1

sup0

1

4

2

3exh0

exh1

sup1sup0

ext

amb

Simulation of refrigerant cycle and moist air properties with MATLAB and CoolProp

08.06.2017 Fabian Ochs 20

ambient

exhaust

extract

supply

HRV

Page 21: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

exh0

exh1

sup1

sup0

1

4

2

3

exh0

exh1

sup1sup0

ext

amb

Simulation of refrigerant cycle and moist air properties with MATLAB and CoolProp

Temperature-Enthalpy Diagramand Psychrometric Chart –ERV

08.06.2017 Fabian Ochs 21

ambient

exhaust

extract

supply

ERV

Page 22: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 22

Example: Reference Building/Flat– Project SaLüH!

3 Variants

Page 23: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 23

Zoning - Section and simplfied scheme

unheated

staircase

„inside

envelope“

unheated

attic: BC

unheated

cellar: BC

detailed flat

simulation

single zone

flat

simulation

2, 3 or more zones

Page 24: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 24

Zoning - Section and simplfied scheme

unheated

staircase

„inside

envelope“

unheated

attic: BC

unheated

cellar: BC

detailed flat

simulation

with 5 or 6

zones

single zone

flat

simulation

5 or 6 zones for flat + 1 or 2 zone for building

Page 25: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

Building Model Physics – Performance and Accuracy

• Model Physics (Radiation)• Two-Star• Star-Node• Radiosity (physics)

• Model Physics (Convection)• Ideally mixed• Stratified• CFD

• Model Physics (Transmission)• Transfer Function• R-C wall• 2D/3D (FD or FE)

• Model Physics (Window)• Humidity

• Hygrothermal wall

• Moisture Buffer• Air Quality

• CO2

• VOC• Heat Emission Model

• Radiator• Radiant Ceiling/Floor• Fan Coil)

• HVAC• Look up Table• Black Box Model• Physical Model

08.06.2017 Fabian Ochs 25

Page 26: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 26

Model Physics - Convective Node

J

y

convectiveceiling

floor

fully mixed

JS

Jc

Rcomb

Star-node model

JR

JCRconv

Rrad

Two star model

Page 27: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 27

Model Physics - Radiation Exchange

• Two star and Star node model

• Non-physical

• Radiation exchange with virtual

radiation

• Sufficiently accurate dynamics

• Sufficiently accurate

representation of operative

temperature

• Radiosity Model

• Physically correct

• Radiation exchange from

surface to surface

• Spatial distribution of radiative

temperature

• Radiation temperature asymmetry

• Possibility to predict local

comfort

JS

Jc

Rcomb

Star-node model

JR

JCRconv

Rrad

Two star model

A1

a

b

h

A2

View factor between a

surface and a sphere

Page 28: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

3D-Model in Comsol Multiphysics (FE-Model)

Result: View Factor

08.06.2017 Fabian Ochs 28

Page 29: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

Multi-Zone Simulation with Air-Coupling in MATLAB/Simulink

Air exchange betweenthermal zones

𝑚 = 𝐶 ∙ |∆𝑃|𝑛

∆𝑃 = |∆𝜌 ∙ 𝑔 ∙ |

𝐶 = 0.5 ∙ 𝐶𝑑 ∙2

2∙ ∙ 𝐿 ∙ 𝜌

1. Forced Convection between Zones

(Ventilation)

2. Natural Convection between Zones (in

case of open doors)

3. Infiltration and Exfiltration

1

2

3 3

Zone 1 Zone 2

1

2

3

08.06.2017 Fabian Ochs 29

Page 30: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 30

Hygrothermal Wall Modell

Energy Conservation and Mass Conservation

Coupled system of ODEs

solved with MATLAB pdepe function

and MATLAB/Simulink S-function

Page 31: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 31

PDE for Simulink

PDE Problem Simulink Block

States

Input

Source: Ochs et al. 2012, Bausim, Berlin

Prüfert, TUB, 2012

Output

one for each node

transient BC, Source

Temperature at each

node

Simulink solves ODEs

Generate system of ODE from PDE with „Method of Lines“

Update of PDE Parameter with time

Integration by Simulink

Page 32: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 32

Modelling Ground Heat Exchanger

rqzzr

rrt

cr p

JJ

J

Level 2s-function

PDE Problem

Method of lines

MATLAB/Simulink

2D heat equation, cylinder coordinates

HUQUKURGFMUdt

d 1

(PDE)

(Matrix Formulation)

Simulink Block

States

Input

Output

Level 2 S-

function

One for each node

Time depended BC,

Temperature at single

node, heat flux

Initialization

Page 33: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 33

Example: Facade integrated MHVR

Other examples of 2 D

Heat Transfer:

Ground coupling (2D)

Thermal Bridges (2D)

Ground heat exchanger

Page 34: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

08.06.2017 Fabian Ochs 34

MATLAB/Simulink Building Model (Object Oriented)

Page 35: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

Multi-Zone Building in MATLAB/Simulink

08.06.2017 Fabian Ochs 35

Page 36: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

Temperature Distribution - SaLüH! Reference Building

Supply Air Heating (no recirculation), no bath heater

0 1000 2000 3000 4000 5000 6000 7000 800018.5

19

19.5

20

20.5

21

21.5

22

22.5

23

Zeit / [h]

Tem

pera

tur

/ [°

C]

Küche Wohnzimmer Schlafen Süd Schlafen Nord Gang Bad

08.06.2017 Fabian Ochs 36

Page 37: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

Overheating of corridor

Door air exchange model: BR/CHILD/SLEEP (Closed), KITCH/LIVING (Opened)

Individual (room-wise) post-heater No individual (room-wise) post-heater

08.06.2017 Fabian Ochs 37

Page 38: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

Simulation Results – Heating demand and heating load

SimulationHEATING DEMAND

[kWh/m²a]HEATING LOAD [W/m²]

Supplyair

Electr.Heater

Total Air heating Electr.Heater

REF 24.8 3.4 28.2 13.2 5.1Corridor Overheating(24 °C) 0.0 48.1 48.1 0.0 17.8Corridor Overheating„symmetric BC“ 0.0 23.8 23.8 0.0 13.3Corridor Overheating„symmetric BC“No room post-heater 0.0 22.9 22.9 0 10.6

Door air exchange model:

• BR/CHILD/SLEEP (Closed), KITCH/LIVING (Opened)

08.06.2017 Fabian Ochs 38

Page 39: Building and HVAC Simulation in MATLAB/Simulink … · Building and HVAC Simulation in MATLAB/Simulink ... Building and HVAC Simulation in MATLAB/Simulink ... Infiltration and Exfiltration

Research Projects

• EU iNSPiRe (fp7)

• Landesförderung Tirol k-WP

• FFG SaLüH!

• NHT Vögelebichl

• IEA SHC Task 56

• IEA HPT Annex 49

Acknowledgements

This work is part of the Austrian research project SaLüH!

Renovation of multi-family houses with small apartments, low-

cost technical solutions for ventilation, heating & hot water (2015-

18); Förderprogramm Stadt der Zukunft, FFG, Project number:

850085.

A detailed report on the review of heat pumps in passive houses

is available German language and can be distributed on request.

thanks to …

Siko Energiesysteme (At)

Pichler Luft (At)

Gumpp & Maier (D)

Wohnungsbau Ludwigsburg (D)

Eurac (It)

AEE Intec (At)

Vaillant (D)

NHT (At)

08.06.2017 Fabian Ochs 39