2015 buildings - uned · international symposium on industrial electronics isie’10, 409‐414,...

48
27/04/2015 1 Universidad de Almería Área de Ingeniería de Sistemas y Automática Manuel Berenguel Prof. of Systems Engineering and Automatic Control Departamento de Informática Universidad de Almería People involved: María del Mar Castilla, Domingo Álvarez, Francisco Rodríguez, Julio NormeyRico, Manuel Pasamontes, José Luis Guzmán, Manuel Pérez, Ricardo Silva UNED – Departamento de Informática y Automática 5 de mayo de 2015 Universidad de Almería 2 Modeling and control of solar plants Modeling, control and robotics in agriculture Energy efficiency and comfort control in buildings Modeling and control of photobioreactors Education in Engineering Autonomous vehicles and robots Design of robots Vehicle dynamics Vibration analysis Automatic control , Robotics and Mechatronics Research Group

Upload: others

Post on 11-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

1

Universidad de Almería

Área de Ingeniería de Sistemas y Automática

Manuel BerenguelProf. of Systems Engineering and Automatic Control

Departamento de Informática ‐ Universidad de Almería

People involved: María del Mar Castilla, Domingo Álvarez, Francisco Rodríguez, Julio Normey‐Rico, Manuel Pasamontes, José Luis Guzmán, Manuel Pérez, Ricardo Silva

UNED – Departamento de Informática y Automática5 de mayo de 2015

Universidad de Almería

2

Modeling and control of solar plants

Modeling, control and robotics in agriculture

Energy efficiency and comfort control in buildings

Modeling and control of photobioreactors

Education in Engineering

Autonomous vehicles and robots 

Design of robots

Vehicle dynamics

Vibration analysis

Automatic control , Robotics and Mechatronics Research Group 

Page 2: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

2

Universidad de Almería

3

Automatic Control, Robotics and Mechatronics Research Group

• Modeling & Control of solar energy systems

Universidad de Almería

4

Automatic Control, Robotics and Mechatronics Research Group

• Control in agriculture

Page 3: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

3

Universidad de Almería

5

Automatic Control, Robotics and Mechatronics Research Group

Control of distributed collectors

Solar cooling

Comfort & energy control in buildings

Other applications of solar energy

• Solar energy and energy efficiency

Universidad de Almería

6

Automatic Control, Robotics and Mechatronics Research Group

Energy control and management

Page 4: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

4

Universidad de Almería

7

Automatic Control, Robotics and Mechatronics Research Group

Disturbances forecast

control

Universidad de Almería

8

Automatic Control, Robotics and Mechatronics Research Group

Ingredients: Solar energy is a disturbance and the main source of energy Short‐term forecast (15 minutes) useful for predictive control

A. Discrete Kalman FilterB. Discrete Kalman Filter with Data FusionC. Exponentially Weighted Moving AverageD. Double Exponential Smoothing

A. Pawlowski, J.L. Guzmán, M. Berenguel, F. Rodríguez,  J. Sánchez. Application of time‐series methods to disturbance estimation in predictive control problems.International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010.

measurement

unadjusted forecastestimated trendsmoothing parameter for data (0,1)smoothing parameter for trend (0,1)

The one‐period‐ahead forecast is given by:

The m−periods‐ahead forecast is given by:

can be obtained via optimization techniques

NIST. (2006) Engineering statistics handbook. [Online]. Available:http://www.itl.nist.gov/div898/handbook/index.htm

Page 5: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

5

Universidad de Almería

9

Automatic Control, Robotics and Mechatronics Research Group

Ingredients: Solar energy is a disturbance and the main source of energy Short‐term forecast (15 minutes) useful for predictive control

Alternative: “lazy man” weather approach

The same approach can be used for other disturbances (temperature, wind, …)

Universidad de Almería

10

Automatic Control, Robotics and Mechatronics Research Group

Ingredients: Solar energy is a disturbance and the main source of energy Clear day prediction

Extraterresterial Radiation on Horizonal Surface:

where  is the instant solar radiation,  is the local time,  is the day number in Julian calendar,  is the solar constant,  is the distance between sun and earth, and  is the sun zenithal distance.

Similar models for direct beam irradiance

Page 6: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

6

Universidad de Almería

11

Automatic Control, Robotics and Mechatronics Research Group

Ingredients: Solar energy is a disturbance and the main source of energy Clear day prediction

Universidad de Almería

12

Automatic Control, Robotics and Mechatronics Research Group

Ingredients: Solar energy is a disturbance and the main source of energy

Long‐term prediction

Page 7: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

7

Universidad de Almería

Automatic Control, Robotics and Mechatronics Research Group

13

MÓDULOS IMPLEMENTADOS PARA ELPREDICTOR DE CLIMA A CORTO/LARGO PLAZO

Universidad de Almería

14

ServerWeather forecast

Page 8: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

8

Universidad de Almería

15

Automatic Control, Robotics and Mechatronics Research Group

Motivation and main objectives

• The CIESOL building

• Comfort in buildings

o Predicted Mean Vote (PMV) index

o PMV index approximations

• Thermal comfort control inside a room

o Linear Predictive Control

o First principles model of a room

o A Practical Non‐Linear Model Predictive Control (PNMPC) approach

• Actual works

Universidad de Almería

16

Automatic Control, Robotics and Mechatronics Research Group

● Energy consumption in buildings represents about 40% of total worldenergy consumption, more than half used by HVAC (Heating,Ventilation and Air Conditioning) Systems. Moreover, they are alsoresponsible of approximately 35% of CO2 emissions.

●MAIN OBJECTIVE‐ To provide comfortable environments with the minimum possible energyconsumption.

EnergyEfficiency

Page 9: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

9

Universidad de Almería

17

Automatic Control, Robotics and Mechatronics Research Group

1. To study and analyze users’ comfort inside a building from both thermal comfort andindoor air quality points of view.

2. Development of a methodology for design, calibration and validation of physicalmodels with unknown parameters.

3. Study, analysis and development of advanced control techniques for the comfortcontrol problem.

4. Test and integration in a control architecture of the developed strategies in order toanalyze its behaviour.

Passive strategies and use of renewable 

energies  19 20 21 22 23 24 25 260

10

20

30

40

50

60

70

80

90

Temperatura (ºC)

Fre

cuen

cia

(Nº

Rep

etic

ione

s)

Zona deConfort

212 214 216 218 220 222 224 226 228-3

-2

-1

0

1

2

3

Tiempo (Día Juliano)

PM

V Zona de Confort

214 216 218 220 222 224 2260

10

20

30

40

50

60

70

80

90

100

Tiempo (Día Juliano)

PP

D (

%)

5 10 15 20 25 30 35 400

0.005

0.01

0.015

0.02

0.025

0.03

Temperatura (ºC)

Rat

io d

e H

umed

ad (

Kg/

Kg)

RH=10%

RH=20%

RH=30%

RH=40%

RH=50%

RH=60%

RH=70%

RH=80%

RH=90%RH=100%

Use of appropriate control strategies

Universidad de Almería

18

Automatic Control, Robotics and Mechatronics Research Group

PSE‐ARFRISOL research project(M. Rosario Heras – CIEMAT)

POWER+ENERPRO research projects(Francisco Rodríguez+Manuel Berenguel)

• It is a singular strategic projectabout bioclimatic architectureand solar cooling.

• Supervision and controlstrategies for the integratedmanagement of installationsinside energy efficientenvironments.

Page 10: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

10

Universidad de Almería

19

Automatic Control, Robotics and Mechatronics Research Group

Motivation and main objectives

• The CIESOL building

• Comfort in buildings

o Predicted Mean Vote (PMV) index

o PMV index approximations

• Thermal comfort control inside a room

o Linear Predictive Control

o First principles model of a room

o A Practical Non‐Linear Model Predictive Control (PNMPC) approach

• Actual works

Universidad de Almería

Automatic Control, Robotics and Mechatronics Research Group

20

Passive strategies

Page 11: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

11

Universidad de Almería

21

Automatic Control, Robotics and Mechatronics Research Group

Ground floor First floor

Universidad de Almería

Automatic Control, Robotics and Mechatronics Research Group

22

Passive strategies 

Closing composed by wavedsheet, isolation and     thermo‐clay blocks

Ventilated façade with external ceramic facing, air chamber, polyurethane isolation and high thermal inertia wall

Page 12: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

12

Universidad de Almería

Automatic Control, Robotics and Mechatronics Research Group

23

Active strategies: Solar cooling installation

• This research centre was built following a bioclimatic architecture criteria,where HVAC systems are based on solar cooling using a solar collectorsfield, a hot water storage system, a boiler, and an absorption machine withits refrigeration tower.

Winter circuit

Universidad de Almería

Automatic Control, Robotics and Mechatronics Research Group

24

Page 13: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

13

Universidad de Almería

Automatic Control, Robotics and Mechatronics Research Group

25

Other active strategies 

Universidad de Almería

Automatic Control, Robotics and Mechatronics Research Group

26

Sensors network of the building: Meteorological station

1. Atmospheric pressure2. Solar tracking3. Pyrheliometer4. Air temperature5. Relative humidity6. CO2 concentration7. Wind velocity8. Wind direction9. Pyrgeometer

(infrared radiation)10. Pyranometer (direct and

diffuse irradiances)

1

10

9

87

65

4 3

2

10

Page 14: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

14

Universidad de Almería

Automatic Control, Robotics and Mechatronics Research Group

27

Sensors network of the building: Ventilated façade

Thermal flow

Surface Pt100

Thermopar

Air velocity

Universidad de Almería

Automatic Control, Robotics and Mechatronics Research Group

28

Sensors network of the building: Representative rooms of the building

Room 110

Room 070 Meeting room Laboratory 8

Laboratory 6

Page 15: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

15

Universidad de Almería

Automatic Control, Robotics and Mechatronics Research Group

29

Sensors network. A characteristic room of the building

Universidad de Almería

Automatic Control, Robotics and Mechatronics Research Group

30

Sensors network of the building: Representative rooms of the building

Page 16: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

16

Universidad de Almería

Automatic Control, Robotics and Mechatronics Research Group

31

Sensors network of the building: fan‐coil units

1

2 34 5

86

7

9

1. 2‐Way valve2. Flow‐meter3. Water temperature (output of the fan‐coil unit)4. Return air velocity5. Return air temperature6. Impulse air temperature7. Impulse relative humidity8. Impulse air velocity9. Water temperature (input of the fan‐coil unit)10. Fan (0 – 33 – 66 – 100%)

10

Universidad de Almería

Automatic Control, Robotics and Mechatronics Research Group

32

Sensors network of the building: Room occupation system

Also with Xbox Kinect

Page 17: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

17

Universidad de Almería

Automatic Control, Robotics and Mechatronics Research Group

33

Monitoring and acquisition applications: around 400 sensors and actuators 

integrated via OPC using a dedicated Ethernet network

Universidad de Almería

34

Automatic Control, Robotics and Mechatronics Research Group

Motivation and main objectives

• The CIESOL building

• Comfort in buildings

o Predicted Mean Vote (PMV) index

o PMV index approximations

• Thermal comfort control inside a room

o Linear Predictive Control

o First principles model of a room

o A Practical Non‐Linear Model Predictive Control (PNMPC) approach

• Actual works

Page 18: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

18

Universidad de Almería

35

Automatic Control, Robotics and Mechatronics Research Group

Thermal Comfort?

“That condition of mind which expresses satisfaction with the thermal environment”

“Comfort is a cognitive process which depends of different kinds of processes, such as, physical, physiological or even psycological”

Condition of mind Satisfaction

Universidad de Almería

36

Automatic Control, Robotics and Mechatronics Research Group

Predicted Mean Vote (PMV) Index

• This index is able to predict the average response about thermal sensationof a large group of people exposed to certain thermal conditions for a longtime.

+3 Hot

+2 Warm

+1 Slightly warm

0 Neutral

‐1 Slightly cool

‐2 Cool

‐3 Cold

PMV Index

Rh

VainTmr

TainIcl M

Page 19: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

19

Universidad de Almería

37

Automatic Control, Robotics and Mechatronics Research Group

Predicted Mean Vote (PMV) Index

Classical approach

• The PMV index can be estimated as a function of the six previous variablesjust as:

)(

])273()273[(106.39

)5867(1072.1

)15.58(42.0

])(99.65733[1005.3

)34(0014.0)(

:

:

]028.0)036.0exp(303.0[

449

5

3

in

in

in

in

aclccl

mrclcl

a

a

a

TThF

TTF

pM

WM

pWM

TMWML

bodyhumantheinloadThermalL

rateMetabolicM

where

LMPMV

Acronym Meaning

W Effective mechanical power

Tain Air temperature

painPartial water vapor pressure in the air

Fcl Clothing area factor

Tcl Clothing surface temperature

Tmr Mean radian temperature

hcConvective heat transfer coefficient

Función no lineal de otras variables (si no se miden) o valores tabulados

Universidad de Almería

38

Automatic Control, Robotics and Mechatronics Research Group

Predicted Mean Vote (PMV) Index

PMV index approximations

• To reduce computational costs and price of sensors network in order toestimate PMV index different black box models based on neural networks andpolynomial approximations has been obtained.

Model

RMSE

VA1a VA1b VA2a VA2b

ANNPolynomial

0.01170.0065

0.00790.0357

0.01450.0296

0.01230.0528

Page 20: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

20

Universidad de Almería

39

Automatic Control, Robotics and Mechatronics Research Group

Air Quality?

To perceive fresh air, instead of vitiated, loaded or irritated one.

To know that the risk for the health which could be derived from 

breathing that air is depreciable

CO2

concentration

• In accordance with international standards, just as prEN 13779 and prEN15251, indoor air quality could be classified by CO2 concentration since it isthe main bioeffluent from human respiratory

Category Description Typical range Default value

IDA 1IDA 2IDA 3IDA 4

High indoor air qualityMedium indoor air qualityModerate indoor air qualityLow indoor air quality

≤400400 – 600 600 – 1000 > 1000

3505008001200

Universidad de Almería

40

Automatic Control, Robotics and Mechatronics Research Group

Indoor Air Quality (IAQ) Index

• This index allows to classify indoor air for occupied rooms, where smokingis not allowed and pollution is caused mainly by human metabolism,according to the four indoor air quality categories.

• To guarantee indoor air quality in a certain environment, it isrecommended to maintain a CO2 concentration level between 500 ppmand 600 ppm, that is an IAQ index value at 0 with a tolerance of 0.1.

IAQ ≤ 0 High indoor air quality (IDA 1)

0 < IAQ < 0.1 Medium indoor air quality (IDA 2)

0.1 ≤ IAQ < 0.5 Moderate indoor air quality (IDA 3)

0.5 ≤ IAQ ≤ 1 Low indoor air quality (IDA 4)

5.0001.0 2 in

COIAQ

Page 21: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

21

Universidad de Almería

41

Automatic Control, Robotics and Mechatronics Research Group

• The main objective of this study is to evaluate the performance of thepassive bioclimatic strategies of the CDdI‐CIESOL‐ARFRISOL buildingwithout the use of any control strategy.

• As the building does not have a fixed work schedule, the followingassumptions has been established:o Saturdays and Sundays are considered periods of non occupation, that is, the

building is supposed to be empty.o Within the occupation periods (from Monday to Friday) it is established a night

time period that comprise from 21:00 PM to 07:00 AM.

Almería characteristic climate Summer Winter Autumn

Maximum mean air temperature [ºC] Minimum mean air temperature [ºC]Mean relative humidity [%]Average precipitation days [‐]Mean monthly sunshine hours [‐]

30.722650312

17.78.8683191

20.412.0703187

Universidad de Almería

42

Automatic Control, Robotics and Mechatronics Research Group

Thermal comfort analysis. Summer periodFrom 1st (Saturday) to 15th (Saturday) of August 2009.

Page 22: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

22

Universidad de Almería

43

Automatic Control, Robotics and Mechatronics Research Group

Thermal comfort analysis. Winter periodFrom 13th (Saturday) to 24th (Wednesday) of February 2010

Universidad de Almería

44

Automatic Control, Robotics and Mechatronics Research Group

• Summer

• Winter

Indoor air quality

Page 23: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

23

Universidad de Almería

45

Automatic Control, Robotics and Mechatronics Research Group

Main conclusions of the comfort analysis

• For both summer and winter periods, it is necessary the use of a HVAC system tocool in summer, and to heat in winter.

• The existence of a significant percentage of data outside the comfort zone duringsummer and winter periods allows to consider two hypothesis which are notstrictly exclusive:

o Insufficiency of manual control that was implemented in the HVAC system.o Existence of subjective factors in the evaluation of both thermal comfort and indoor air

quality.

• As a function of this comfort analysis, it has reached the conclusion that it wasnecessary to develop a specific control system which allows to maintainenvironmental conditions of the building inside a comfort zone for the userminimising, at the same time, energy consumption.

Universidad de Almería

46

Automatic Control, Robotics and Mechatronics Research Group

• Motivation and main objectives

• The CIESOL building

• Comfort in buildings

o Predicted Mean Vote (PMV) index

o PMV index approximations

• Thermal comfort control inside a room

o Linear Predictive Control

o First principles model of a room

o A Practical Non‐Linear Model Predictive Control (PNMPC) approach

• Actual works

Page 24: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

24

Universidad de Almería

47

Automatic Control, Robotics and Mechatronics Research Group

Models allow to obtain important information about systems, and thus, theyrepresent a key factor in order to design control strategies and solve optimizationproblems.

A typical CDdI‐CIESOL‐ARFRISOL office room

• Room location: second floor of the building.

• Total volume: 4.96 x 5.53 x 2.8 m3

• North orientation

• Number of windows: 1

• Window surface: 2.15 x 2.09 m2

• Window location: north wall

• Actuators:o Window opening/closing system

o Shading opening/closing system

o HVAC fan power

o HVAC water flow valve

Universidad de Almería

48

Automatic Control, Robotics and Mechatronics Research Group

A Linear Time‐Invariant (LTI) temperature model

Assumptions:

• The state variable of the system is the indoor air temperature.

• There exist only one element which interact with the indoor air temperature: the external air.

• As control variable, it was supposed that there was only one actuator available, the fancoilunit, which allows to control indoor air temperature by means of its fan velocity.

• It is considered that all the variables of the process are homogenously distributed.

Page 25: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

25

Universidad de Almería

49

Automatic Control, Robotics and Mechatronics Research Group

A Linear Time‐Invariant (LTI) temperature model

• PRBS Signal: Pseudo – Random Binary Signal

• ARX Model: AutoRegressive model with eXogeneus input

where na is the number of poles, nb+1 is the number of zeros and nk is the delay of the system if it exists.

)1()()()1()( 11 nbnktubnktubnatyatyaty nbna

Universidad de Almería

50

Automatic Control, Robotics and Mechatronics Research Group

A Linear Time‐Invariant (LTI) temperature model

• Cross validation results for the LTI indoor temperature model

)(0001126.0)6(06291.0)5(1009.0

)4(06594.0)3(008656.0)2(2779.0)1(9417.0)(

tutyty

tytytytyty

At present, grey‐box models considering simplified balances (R,C circuits) so that only a few parameters have to be identified.

Page 26: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

26

Universidad de Almería

51

Automatic Control, Robotics and Mechatronics Research Group

A first principles model of a room

• The first principles model of a room is composed of three submodels which describe theindoor air temperature, the indoor air relative humidity and the indoor CO2

concentration dynamic behaviour. Hence, it can be represented by a system ofdifferential equations given by:

ii XtXwithtCVDUXfdt

dX )(),,,,,(

where X, U, D, V and C are vectors ofthe state variables, control inputsvariables, disturbances, systemvariables and system constants,respectively, t is the time, Xi is theknown initial state at the initial time ti,and f is a nonlinear function based onmass and heat transfer balances.

Universidad de Almería

52

Automatic Control, Robotics and Mechatronics Research Group

A first principles model of a room

Assumptions:

• It is supposed that the room is composed by seven elements: indoor air, walls, windows,shading system, HVAC system, people and electrical appliances.

• The state variables of the model are: indoor air temperature, indoor relative humidity and CO2

concentration.

• The control inputs of the system are: the natural ventilation, expressed as a function of thewindow opening, the blind, and the forced ventilation by means of a fancoil unit.

• The disturbance inputs of the system are: the outside air temperature, humidity and CO2

concentration, wind speed and its direction, direct, diffuse and reflected irradiance, the planeradiant temperatures of all surfaces of the room, indoor air velocity, number of people insidethe room and the electrical appliances that are connected at each moment.

• The physical characteristics of the different elements (walls, windows, etc.) such as density orspecific heat are considered constant. However, the physical characteristics of the air insidethe room are estimated as a function of indoor air temperature.

Page 27: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

27

Universidad de Almería

53

Automatic Control, Robotics and Mechatronics Research Group

A first principles model of a room

Temperature modeliGainnvntfvglassconv

apa QQQQQQ

dt

dTCm in

a inf

Convection

Window Naturalventilation

Internalgains

ForcedVentilation Infiltrations

nvntfvp

in

inin wwwwa

aa MMMMdt

dWV

inf

People

Forced ventilation

Infiltrations

Naturalventilation

Humidity model

inf22222 MCOMCOMCOMCO

dt

dCOV

fvnvntp

in

ina

People

Naturalventilation

Forced ventilation

Infiltrations

CO2 concentration model

Universidad de Almería

54

Automatic Control, Robotics and Mechatronics Research Group

• Data of the climate variables to model, the disturbances and the actuators state aremeasured and stored in a database, thus, the main parameters estimation and thecalibration problem can be divided into three submodels calibration processes.

• Some of the processes which are involved in each one of the balance equations do nothave any influence in determined periods of a day or they are not coupled. Thus, all theparameters of a single submodel do not have to be estimated simultaneously.

• Some processes have to be modelled in different forms based on determined situations.

• Some controlled experiments tests can be performed into the room in order to estimatethe parameters associated with the actuators.

A first principles model of a room

Calibration and Validation methodology

Main problem: an important set of unknown parameters

Page 28: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

28

Universidad de Almería

55

Automatic Control, Robotics and Mechatronics Research Group

• The proposed methodology consists of a two steps calibration process:

o First step. To determine a search space by means of an iterative search byperforming single experimental tests for each one of the involved processes.

o Second step. To obtain the final value for each one of the unknown parametersby means of genetic algorithms.

where N is the number of samples and k is the number of models which aregoing to be calibrated.

A first principles model of a room

Calibration and Validation methodology

N

i kkk

N

i

ixix

ixixxJ

1

23

1

2

1

),(ˆ)(min

),(ˆ)(min)(

Universidad de Almería

56

Automatic Control, Robotics and Mechatronics Research Group

• Test 1. Empty room and blind closed (5).

• Test 2. Empty room and blind open (1).

• Test 3. Empty room and blind in several positions (6).

• Test 4. Empty room and using forced ventilation (1).

• Test 5. Empty room and using natural ventilation (1).

• Test 6. Occupied room (1).

• Test 7. Occupied room and using natural ventilation (2).

• Test 8. Validation of the selected unknown parameters (10).

A first principles model of a room

Calibration and Validation methodology

Page 29: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

29

Universidad de Almería

57

Automatic Control, Robotics and Mechatronics Research Group

Room occupation

A first principles model of a room

Window aperture

Fancoil use

Validation of the first principles model

Summer period. From 7

thto 12thMay 2013

Universidad de Almería

58

Automatic Control, Robotics and Mechatronics Research Group

A first principles model of a room

Parameter Validation Test 3

IntervalRngNMAEMRESNNMAE

[24.43 – 27.72]3.29ºC518400.150.0050.684.55%

Validation of the first principles model

Summer period. From 7

thto 12thMay 2013

Page 30: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

30

Universidad de Almería

59

Automatic Control, Robotics and Mechatronics Research Group

A first principles model of a room

Parameter Validation Test 3

IntervalRngNMAEMRESNNMAE

[30.80 – 55.31]24.51%518401.070.035.144.36%

Validation of the first principles model

Summer period. From 7

thto 12thMay 2013

Universidad de Almería

60

Automatic Control, Robotics and Mechatronics Research Group

A first principles model of a room

Parameter Validation Test 3

IntervalRngNMAEMRESNNMAE

[296.44 – 1014.60]718.12 ppm5184022.580.05110.493.14%

Validation of the first principles model

Summer period. From 7

thto 12thMay 2013

Page 31: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

31

Universidad de Almería

61

Automatic Control, Robotics and Mechatronics Research Group

Validation of the first principles model

Winter period. From 6

thto 16thDecem

ber 2012 Room occupation

Blind aperture

Window aperture

Fancoil use

Universidad de Almería

62

Automatic Control, Robotics and Mechatronics Research Group

Validation of the first principles model

Winter period. From 6

thto 16thDecem

ber 2012

Parameter Validation Test 1

IntervalRngNMAEMRESNNMAE

[19.74 – 28.59]8.85ºC949730.160.010.941.80%

Parameter Validation Test 1

IntervalRngNMAEMRESNNMAE

[26.97 – 46.92]19.94%949732.890.084.6814.49%

Parameter Validation Test 1

IntervalRngNMAEMRESNNMAE

[302.98 – 1182.25]879.56 ppm9497335.390.08107.374.02%

Page 32: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

32

Universidad de Almería

63

Automatic Control, Robotics and Mechatronics Research Group

• Main objective. To obtain a high thermal comfort level taking energy costsinto account.

• To do that, it has been considered that there is only one actuator availableinside the CDdI‐CIESOL‐ARFRISOL building in order to control thermalcomfort, the HVAC system.

• Two different approaches are presented:o A hierarchical predictive control strategy.o A classical Model Predictive Control (MPC) strategy.

Universidad de Almería

64

Generalized Predictive Control Algorithm

Automatic control , Electronics and Robotics Research Group 

Controller Auto‐Regressive Integrated Moving‐Average (CARIMA)

Quadratic Cost Function

o D.W. Clarke, C. Mohtadi and P.S. Tufts. Generalized predictive control I. The basic algorithm. Automatica, 23,137‐148, 1987

o E.F. Camacho, C. Bordóns. Model Predictive Control. Springer, 2012.

o One of the most popular MPC algorithm in both industry and academy.

Page 33: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

33

Universidad de Almería

65

Generalized Predictive Control Algorithm

Automatic control , Electronics and Robotics Research Group 

Obtaining the GPC Control Law

o The predicted outputs, ŷ(t+k|t), are calculated using the prediction model (C(z‐1)=1):

o Substitute the compact prediction values in the cost function, J.

o Minimize J with respect to u where an analytical solution is obtained for theunconstrained case:

Universidad de Almería

66

Generalized Predictive Control Algorithm

Automatic control , Electronics and Robotics Research Group 

Obtaining the GPC Control Law (future predictions):

The prediction outputs, y(t+j), must be obtained for jN1 and j≤N2. The horizons can be setas N1=d+1, N2=d+N, Nu=N. Thus, N‐ahead predictions will be used in the optimizationprocess.

The predictions could be done just from the CARIMA model:

This is really done using a Diophantine Equation.

Page 34: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

34

Universidad de Almería

67

Generalized Predictive Control Algorithm

Automatic control , Electronics and Robotics Research Group 

Dealing with constraints:

67

Typical Quadratic Programming (QP) Problem:

Minimization of a quadratic function with linear constraints. Example: quadprog function of Matlab.

Universidad de Almería

68

Generalized Predictive Control Algorithm

Automatic control , Electronics and Robotics Research Group 

Dealing with constraints:Different types of constraints:

o Physical or security constraints: process limitations.

o User‐defined constraints: to force derided output.

o Input: typical saturation constraints.

o Output: operation conditions.

All of them must be defined based on control increments u (u).

Page 35: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

35

Universidad de Almería

69

Generalized Predictive Control Algorithm

Automatic control , Electronics and Robotics Research Group 

Dealing with constraints:

Universidad de Almería

70

Automatic Control, Robotics and Mechatronics Research Group

• This structure is based on a traditional control scheme with a referencegovernor in a top layer, that by means of a nonlinear optimizer is able togenerate a indoor temperature reference.

A hierarchical predictive control strategy

Page 36: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

36

Universidad de Almería

71

Automatic Control, Robotics and Mechatronics Research Group

• This technique uses a model of the system to make predictions of thefuture outputs. They are included inside a cost function which establishes arelationship between the close loop behaviour of the system and thecontrol effort. This cost function is minimized taking into account theconstraints of the problem. Finally, a receding horizon strategy isimplemented.

A classical MPC strategy

Universidad de Almería

72

Automatic Control, Robotics and Mechatronics Research Group

• It is almost impossible to find different days with identical conditions, sincethese variables are non controllable. Thus, a typical day for the analyzedperiod has been chosen to compare different strategies throughsimulations.

Selection of weighting coefficients for the cost functions

Strategy Lambda (λ) ISE Criterion

(A): Jk1 0.10.3

20.0133.46

(B): Jk2 0.00650.008

27.2933.37

(C): Jk3 0.0010.00355

19.7733.53

(D): Jk4 0.0120.2

27.8358.53

0

2)( dtteISE

Page 37: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

37

Universidad de Almería

73

Automatic Control, Robotics and Mechatronics Research Group

Results from the hierarchical predictive control strategy

Universidad de Almería

74

Automatic Control, Robotics and Mechatronics Research Group

Results from the classical MPC strategy

Page 38: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

38

Universidad de Almería

75

Automatic Control, Robotics and Mechatronics Research Group

Results

• A comparison among different strategies have been performed as afunction of several indexes:

o Index 1: Mean number of changes per hour [‐].

o Index 2: Percentage of total time in which the HVAC system is connected [%].

o Index 3: Average energy consumption per hour [W].

Strategy Lambda (λ) ISE Criterion Index 1 Index 2 Index 3

(A): Jk1 0.10.3

20.0133.46

3062

30.1318.20

4024

(B): Jk2 0.00650.008

27.2933.37

5884

42.5037.74

5650

(C): Jk3 0.0010.00355

19.7733.53

4235

42.1429.39

5539

(D): Jk4 0.0120.2

27.8358.53

4757

33.2641.61

4455

Universidad de Almería

76

Automatic Control, Robotics and Mechatronics Research Group

• Main objective. To obtain a high thermal comfort level trying to reduceenergy consumption.

• Main differences of this approach with the linear control approaches:o The use of a nonlinear first principles model which accurately reflects the

dynamics of the room climate and takes into account the main disturbances.o It has been considered that the HVAC system has two degrees of freedom, the

fancoil power and the water flow.

Page 39: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

39

Universidad de Almería

77

Automatic Control, Robotics and Mechatronics Research Group

Universidad de Almería

78

Automatic Control, Robotics and Mechatronics Research Group

Optimization layer: A nonlinear MPC approach

• In general, MPC control algorithms, as Generalized Predictive Control (GPC), areapplied to linear systems that are characterized by the use of a predicted outputdata vector, Ŷ, throughout a prediction horizon, N, as a function of a vector whichcontains changes in the control action, Δu:

where the system free response vector, F, and the matrix G are estimated by meansof different methods depending of the selected algorithm.

• In this case, the PNMPC strategy is used to compute both F and G from the non‐linear model explained previously.

u

YGvuyfF

uGFY

PNMPCppp

PNMPC

ˆ

),,(

ˆ

uGFY ˆ

Page 40: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

40

Universidad de Almería

79

A Practical Non‐Linear Model Predictive Control (PNMPC) approach

u

YGvuyfF

uGFY

PNMPCppp

PNMPC

ˆ

),,(

ˆ

Automatic control , Electronics and Robotics Research Group 

Universidad de Almería

80

Automatic Control, Robotics and Mechatronics Research Group

• The control law is obtained using techniques similar to the used in classicalMPC algorithms.

o Cost function

o Constraints

uN

j

N

j

jkujkjkwkjkYjJ1

2

1

2)1()()|()|(ˆ)(

1,,0ˆ)|(ˆˆ

1,,0)|(

1,,0)|(

maxmin

maxmin

maxmin

NjYkjkYY

Njukjkuu

Njukjkuu

u

u

A Practical Non‐Linear Model Predictive Control (PNMPC) approach

u

YGvuyfF

uGFY

PNMPCppp

PNMPC

ˆ

),,(

ˆ

Page 41: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

41

Universidad de Almería

81

Automatic Control, Robotics and Mechatronics Research Group

• To estimate F and GPNMPC at each sample time it is necessary to use the following algorithm:

o 1. Obtain Ŷ0 vector with a length of N. To do that, it is necessary to execute the model usingpast inputs, outputs and measurable disturbances, and with Δu = [0 0 … 0]T.

Ŷ0  = F

o 2. Estimate the first column of the GPNMPC matrix. The model has to be executed using pastinputs, outputs and measurable disturbances, and, in this case, with Δu = [ɛ 0 … 0]T where ɛ isa very small value, such as, u(k‐1)/1000.

GPNMPC (:,1) = (Ŷ1 – Ŷ0) / ɛ

o 3. Estimate the second column of the GPNMPC matrix. The model has to be executed using pastinputs, outputs and measurable disturbances, and, in this case, with Δu = [0 ɛ … 0]T.

GPNMPC (:,2) = (Ŷ2 – Ŷ0) / ɛ

o 4. Continue with the remainder columns of GPNMPC matrix until the last column where YNu

vector is obtained executing the model with past inputs and outputs, and with Δu = [0 0 … ɛ]T

where Nu is the control horizon.

GPNMPC (:,Nu) = (ŶNu – Ŷ0) / ɛ

A Practical Non‐Linear Model Predictive Control (PNMPC) approach

Universidad de Almería

82

Automatic Control, Robotics and Mechatronics Research Group

Control layer: Fancoil MISO Controller

• The fancoil unit available in the CDdI‐CIESOL‐ARFRISOL building allows tochange the impulse air temperature by the regulation of the water flowthrough it, and/or the return air velocity.

• To do that, a discrete PI with antiwindup combined with a split‐rangecontrol strategy has been used.

SummerWinter

Page 42: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

42

Universidad de Almería

83

Automatic Control, Robotics and Mechatronics Research Group

Results. Winter period

Linear approach

Nonlinear approach

22.83 (kW/h) 10.65 (kW/h)

Universidad de Almería

84

Automatic Control, Robotics and Mechatronics Research Group

Results. Summer period

Linear approach

Nonlinear approach

35.39 (kW/h) 20.42 (kW/h)

Page 43: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

43

Universidad de Almería

85

Automatic Control, Robotics and Mechatronics Research Group

Universidad de Almería

86

Automatic Control, Robotics and Mechatronics Research Group

A multivariable nonlinear MPC approach

• In this case, for the multivariable approach:

Page 44: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

44

Universidad de Almería

87

Automatic Control, Robotics and Mechatronics Research Group

MIMO controller simulation results

Universidad de Almería

88

Automatic Control, Robotics and Mechatronics Research Group

• Motivation and main objectives

• The CIESOL building

• Comfort in buildings

o Predicted Mean Vote (PMV) index

o PMV index approximations

• Thermal comfort control inside a room

o Linear Predictive Control

o First principles model of a room

o A Practical Non‐Linear Model Predictive Control (PNMPC) approach

• Actual works

Page 45: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

45

Universidad de Almería

89

MIMO controllerarchitecture

• Simplified modeling efforts

• Perform real tests of PNMPC approach in the building.

• Develop a distributed MPC controller.

• Obtain luminance and CO2 concentration models for a typical room of thebuilding.

• Develop a MIMO MPC/hierarchical controller in order to maintain users’comfort.

Automatic Control, Robotics and Mechatronics Research Group 

Universidad de Almería

90

Automatic control , Electronics and Robotics Research Group 

More rooms

Page 46: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

46

Universidad de Almería

91

More rooms

Automatic Control, Robotics and Mechatronics Research Group 

Universidad de Almería

92

Automatic control , Electronics and Robotics Research Group 

Page 47: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

47

Universidad de Almería

93

Automatic control , Electronics and Robotics Research Group 

Universidad de Almería

94

Automatic control , Electronics and Robotics Research Group 

Fuzzy Controller for Visual Comfort inside a Meeting‐Room

Page 48: 2015 BUILDINGS - UNED · International Symposium on Industrial Electronics ISIE’10, 409‐414, Bari, Italy, 2010. V Þ ... Test and integration in a control architecture of the

27/04/2015

48

Universidad de Almería

95

Departamento de Informática y Automática de la UNED por lainvitación.

Participantes en Proyecto ARFRISOL, en especial a Charo Heras yMaría José Jiménez.

Personal de CIESOL: Sabina Rosiek.

Personal del Grupo TEP‐197: María del Mar Castilla, DomingoÁlvarez, Francisco Rodríguez, Julio Normey‐Rico, ManuelPasamontes, José Luis Guzmán, Manuel Pérez, Ricardo Silva, …