Sebastian Wolf, Magnus Bitsch, Henrik...
Transcript of Sebastian Wolf, Magnus Bitsch, Henrik...
![Page 1: Sebastian Wolf, Magnus Bitsch, Henrik Madsensmart-cities-centre.org/wp-content/uploads/2017-09-18-Sebastian... · Hidden Markov Occupancy Modelling Sebastian Wolf, Magnus Bitsch,](https://reader031.fdocuments.net/reader031/viewer/2022030201/5b9d2f4b09d3f29a298c02dc/html5/thumbnails/1.jpg)
Hidden Markov Occupancy Modelling
Sebastian Wolf, Magnus Bitsch, Henrik Madsen
Dynamical Systems, DTU Compute
![Page 2: Sebastian Wolf, Magnus Bitsch, Henrik Madsensmart-cities-centre.org/wp-content/uploads/2017-09-18-Sebastian... · Hidden Markov Occupancy Modelling Sebastian Wolf, Magnus Bitsch,](https://reader031.fdocuments.net/reader031/viewer/2022030201/5b9d2f4b09d3f29a298c02dc/html5/thumbnails/2.jpg)
BackgroundModelling people’s presence in buildings
• improve HVAC control usinginformation about occupants’presence
• input for building simulations
• basis for modelling of other behaviour(windows, heating,...)
• presence often not directlymeasurable ⇒ indirect methods
2 DTU Compute Sebastian Wolf 17.05.2017
![Page 3: Sebastian Wolf, Magnus Bitsch, Henrik Madsensmart-cities-centre.org/wp-content/uploads/2017-09-18-Sebastian... · Hidden Markov Occupancy Modelling Sebastian Wolf, Magnus Bitsch,](https://reader031.fdocuments.net/reader031/viewer/2022030201/5b9d2f4b09d3f29a298c02dc/html5/thumbnails/3.jpg)
Occupancy ModellingHidden Markov Model - homogeneous
Yt Yt+1 Yt+2 . . .
Xt Xt+1 Xt+2 . . .
The model can be expressed by
p (Xt = i | Xt−1 = j) ∼ (Γ)i,j
Yt = ci + εi,t
where Γ ∈ Rm×m is a transition probability matrix, ci are the state meansand εi,t ∼ N(0, σ2
i ).
3 DTU Compute Sebastian Wolf 17.05.2017
![Page 4: Sebastian Wolf, Magnus Bitsch, Henrik Madsensmart-cities-centre.org/wp-content/uploads/2017-09-18-Sebastian... · Hidden Markov Occupancy Modelling Sebastian Wolf, Magnus Bitsch,](https://reader031.fdocuments.net/reader031/viewer/2022030201/5b9d2f4b09d3f29a298c02dc/html5/thumbnails/4.jpg)
Occupancy ModellingHidden Markov Model - inhomogeneous
Yt Yt+1 Yt+2 . . .
Xt Xt+1 Xt+2 . . .
The model can be expressed by
p (Xt = i | Xt−1 = j) ∼ (Γt)i,j
Yt = ci + εi,t
where Γt ∈ Rm×m is a inhomogeneous transition probability matrix, ci arethe state means and εi,t ∼ N(0, σ2
i ).
4 DTU Compute Sebastian Wolf 17.05.2017
![Page 5: Sebastian Wolf, Magnus Bitsch, Henrik Madsensmart-cities-centre.org/wp-content/uploads/2017-09-18-Sebastian... · Hidden Markov Occupancy Modelling Sebastian Wolf, Magnus Bitsch,](https://reader031.fdocuments.net/reader031/viewer/2022030201/5b9d2f4b09d3f29a298c02dc/html5/thumbnails/5.jpg)
Occupancy ModellingTransition Probabilities
5 DTU Compute Sebastian Wolf 17.05.2017
![Page 6: Sebastian Wolf, Magnus Bitsch, Henrik Madsensmart-cities-centre.org/wp-content/uploads/2017-09-18-Sebastian... · Hidden Markov Occupancy Modelling Sebastian Wolf, Magnus Bitsch,](https://reader031.fdocuments.net/reader031/viewer/2022030201/5b9d2f4b09d3f29a298c02dc/html5/thumbnails/6.jpg)
Occupancy ModellingMarkov-Switching AR(1) Model
Yt Yt+1 Yt+2 . . .
Xt Xt+1 Xt+2 . . .
The model can be expressed by
p (Xt = i | Xt−1 = j) ∼ (Γt)i,j
Yt = φiYt−1 + ci + εi,t
where Γt ∈ Rm×m is a transition probability matrix, ci are the state means,φi the auto-regressive parameters and εi,t ∼ N(0, σ2
i ).
6 DTU Compute Sebastian Wolf 17.05.2017
![Page 7: Sebastian Wolf, Magnus Bitsch, Henrik Madsensmart-cities-centre.org/wp-content/uploads/2017-09-18-Sebastian... · Hidden Markov Occupancy Modelling Sebastian Wolf, Magnus Bitsch,](https://reader031.fdocuments.net/reader031/viewer/2022030201/5b9d2f4b09d3f29a298c02dc/html5/thumbnails/7.jpg)
Occupancy ModellingComparison of Markov-switching Models
m=2 states parameters AIC BIC
homogeneous HMM 6 = (m2 +m) 7792 7832inhomogeneous HMM 12 = (m2 + 4m) 7627 7721Markov-Switching 14 = (m2 + 5m) -19187 -19080
states parameters AIC BIC2 16 -19187 -190803 27 -20326 -201464 40 -20771 -205035 55 -21392 -21023
7 DTU Compute Sebastian Wolf 17.05.2017
![Page 8: Sebastian Wolf, Magnus Bitsch, Henrik Madsensmart-cities-centre.org/wp-content/uploads/2017-09-18-Sebastian... · Hidden Markov Occupancy Modelling Sebastian Wolf, Magnus Bitsch,](https://reader031.fdocuments.net/reader031/viewer/2022030201/5b9d2f4b09d3f29a298c02dc/html5/thumbnails/8.jpg)
Occupancy ModellingGlobal decoding
(a) School data (b) Summer house data
Figure: global decoding of the 5 state Markov switching model. States representedby colours and by step function.
8 DTU Compute Sebastian Wolf 17.05.2017
![Page 9: Sebastian Wolf, Magnus Bitsch, Henrik Madsensmart-cities-centre.org/wp-content/uploads/2017-09-18-Sebastian... · Hidden Markov Occupancy Modelling Sebastian Wolf, Magnus Bitsch,](https://reader031.fdocuments.net/reader031/viewer/2022030201/5b9d2f4b09d3f29a298c02dc/html5/thumbnails/9.jpg)
Occupancy ModellingResidual analysis
(a) School data (b) Summer house data
Figure: Residual analysis of the 5 state Markov switching model
9 DTU Compute Sebastian Wolf 17.05.2017
![Page 10: Sebastian Wolf, Magnus Bitsch, Henrik Madsensmart-cities-centre.org/wp-content/uploads/2017-09-18-Sebastian... · Hidden Markov Occupancy Modelling Sebastian Wolf, Magnus Bitsch,](https://reader031.fdocuments.net/reader031/viewer/2022030201/5b9d2f4b09d3f29a298c02dc/html5/thumbnails/10.jpg)
Occupancy ModellingSimulation
(a) School data (b) Summer house data
Figure: 100 simulations with measured values (red).
10 DTU Compute Sebastian Wolf 17.05.2017
![Page 11: Sebastian Wolf, Magnus Bitsch, Henrik Madsensmart-cities-centre.org/wp-content/uploads/2017-09-18-Sebastian... · Hidden Markov Occupancy Modelling Sebastian Wolf, Magnus Bitsch,](https://reader031.fdocuments.net/reader031/viewer/2022030201/5b9d2f4b09d3f29a298c02dc/html5/thumbnails/11.jpg)
Occupancy ModellingOutlook
• ground truth validation
• further input variables- temperature- noise- humidity
11 DTU Compute Sebastian Wolf 17.05.2017