Trends in Smart Buildings Meeting, March 2009

Several home automation enthusiasts met again at LESO-PB to discuss recent developments in the field. There were four of us this time, Adil, Friedrich, David and yours truly.

20090323_3328

Friedrich openened the discussion by telling us about his ongoing work on the influence of light, especially its color, on human health. Early results suggest that proper daylighting control will not only help us save oodles of energy but will actually make us healthier. For more details we will, however, have to wait for his thesis to be complete.

Adil showed us his recent work on the large-scale physical modeling of cities. He showed us how, from publicly available data (including data from Google Earth) one could derive a fairly realistic model of a city’s impact on its environment.

He told us also that he was considering analyzing shadows on pictures from Google Earth to derive 3D models of entire cities. This idea has great potential, provided he finds a way around Google’s tendency to stitch together satellite images taken at different times of the day.

Google Escher

We also discussed the recently announced Google Powermeter project, whereby Google aggregates measurements remotely taken on your utility meters and presents the information to you. We were all amazed that Google managed to pull this one off (and frankly we have no idea how they do it) but some of us also expressed concern about privacy issues. How long will it be until we start getting email telling us that “People taking their baths while watching TV usually buy this-or-that book. Click here to buy it now” ?

20090323_3329

And finally the evening concluded with me asking the assembly for advice on some building simulation software issues I had been having lately. Friedrich, in particular, suggested I tried solving the problem in Fourier space instead of time space, something I would indeed never have thought about. I’ll definitely have a look and see if this could help for my open-source Heartbreak building simulation project.

Reblog this post [with Zemanta]

Trends in Smart Buildings Meeting, January 2009

I just realized how late I was with a summary of our last Trends meeting, which we held on Tuesday January 27th at LESO. So here follow my distant recollections of the event.

There were only three of us this time, but David was so kind as to give us a nice demo of the IDA simulation tool. He walked us through a typical use of the software, which apparently runs only on Windows. You basically use the provided GUI to build the model of your building, but IDA can also import from CAD tools.

From this model, IDA then builds a mathematical model of your simulation. From what I understood, it generates all the equations required to simulate the model, e.g. all the thermal nodes with their U-values etc. From there on the model is ready to run.

Running the simulation on a commodity PC took about 1 minute for 30 simulated days. Apparently IDA is unable to take advantage of multi-cores, so while it was running only one core was shown as busy.

You can also implement your own logic that should run along the simulation by embedding C code inside the NMF code generated by IDA. David showed us how he implemented a fuzzy logic controller running inside of IDA, implemented in C.

I had a good impression of IDA’s capabilities, especially the extensibility part. I am however a little bit put off by the fact that it runs only on Windows and is apparently not multithreaded. But that aside I think it is a neat tool.

Reblog this post [with Zemanta]

Trends in Smart Buildings Meeting, November 2008

We met again on November 3 to discuss recent events in the field of building simulation and automation. This time we were joined by Adil Rasheed, a PhD student at LESO-PB working on the so-called “meso scale modelling of urban heat island effect.” David Daum and Antoine Guillemin were the other participants, besides yours truly.

Antoine had brought a prototype aHeart central unit, the “brains” behind Adhoco’s home automation solution. He described it to the other participants, most of which had never seen it before.

He told us also about some of the newer features, such as the possibility for installers to specify their own custom rules through the web interface. Although difficult to implement, this was actually something that the market demanded specifically and that Adhoco had to offer.

20081103_2412

I had previously mentioned on this blog Marc Fleury’s OpenRemote project and asked the attendees if they had heard about it, but nobody had. Antoine knew about a certain Marc Fleury, working for a swiss company called Ergo3, makers of a home gateway device, but I’m pretty sure it’s not the same person.

David gave us his update on his project and explained a bit more how the IDA simulation engine worked. What I found particularly compelling was the way that IDA would adapt its simulation timesteps depending on the needs. We discussed the possibilities to use IDA for simulating the performance of Java-based controllers such as Adhoco’s, but we are not sure whether IDA can call Java code.

20081103_2413

Speaking of processes talking to each others, we briefly reviewed the canonical four ways that two processes can talk:

  1. Through the exchange of files, whether on the same filesystem or through FTP;
  2. Through a shared database;
  3. Through some form of remote procedure call (RPC), such as RMI in Javaland;
  4. Through a messaging solution, such as JMS.

But this review still didn’t help us understand how C code could call foreign code, such as Java or Python. The reverse is relatively straightforward, see eg this answer on StackOverflow.

20081103_2414

Thanks to everyone who participated, and see you around next time.

Trends in Smart Buildings Meeting, October 2008

After a two-month hiatus, we resumed our monthly meetings at LESO-PB to discuss recent developments in building automation and simulation. Frédéric Haldi, David Daum and yours truly attended. We had a smaller group this time, but that turned out to be a good opportunity for going into more detail about some of the research that’s currently being done at LESO-PB.

20081006_2217

I had not been on Adhoco’s website for a while and I was recently surprised to see that their range of products had greatly increased in the past months. My opinion is of course completely biased, having contributed some source code to their main product, but I still wanted to mention it.

There was a paper recently in Building and Environment describing how the simulation program IDA had been coupled to a Genetic Algorithm optimization program in order to derive optimal parameters for a family house. Building parameter optimization is, of course, a key area of research for LESO-PB, but during my time there I’ve always felt they were a bit weak on the simulation end. So it will be very interesting to see if some of the current research tries to remedy this situation.

20081006_2218

David Daum pointed out (quite rightly, in my humble opinion) that there are few if any universally accepted guidelines on how the assessment of a building control algorithm should be carried out. All too often, researchers bury their readers under tons of equations and models and conclude by quoting a single number, such as “Our super-duper algorithm yielded 20% energy savings compared with the ultra-realistic user model that keeps all the heating turned on throughout the year in southern Greece.” We seldom see the assumptions being thoroughly documented, or how the energy demand evolves over time. Does the algorithm help equally well in summer and in winter? If not, why not?

Speaking of new developments at LESO, I don’t know any details, but I’ve heard that they now have a N-cluster of PCs (for a largish N), dedicated to running building simulations. Oh, how I wish I had another PhD to do…

20081006_2219

Much of the meeting was spent discussing Fred’s current research on window opening/closing by the building occupants. Perhaps some background is in order here. For the past five years or so LESO-PB has carried out research on modeling the behaviour of building occupants, in order to have more realistic models than the current ones. Jessen Page did his PhD thesis mostly on modeling the occupancy patterns, and Fred is working on modeling the way people interact with their environment, by opening/closing windows, using appliances, etc.

Fred explained to us that after analyzing the data that had been recorded on the LESO building for the past 7 years he concludes that the majority of window events happen immediately after the user enters the room or immediately before they leave it. And the event probability for these two kinds of events is correlated with the indoor temperature.

For intermediate events, that is, window openings/closings that happen while the user remains in the room, he found that the probability per unit of time correlates well with outdoor temperatures. The problem he’s now trying to solve is the exact relationship between outdoor temperature and window event probability.

We spent some time discussing this relationship, but until more browsers support MathML I won’t go into much detail.

That’s about all I remember from this evening. I’ve setup a mailing list for out meetings, smarrtbuildings-trends, and anyone interested is welcome to join us.

Trends in Smart Buildings Meeting, August 2008

Four people again attended this second meeting, the purpose of which is to share information among people interested in home and building automation. As previously, here are photos of the group’s collective memory along with my comments.

20080804_1837

Fred told us first about a conference he had attended, organized and hosted by the Demontfort University in Leicester, England. The main subject of the conference was mainly user comfort, but according to Fred there’s a certain Cooper (or Copper, sorry if I got this wrong) who’s doing fairly detailed CFD simulations coupled with state-of-the-art thermal comfort models.

Friedrich, who joined us for the first time, told us about his research. He’s working on the non-visual aspects of indoor lighting, and on the important topic of spectral control on indoor lighting. I.e., he’s investigating whether “cold” fluorescent lights could have an impact on people’s feeling of well-being.

LESO has obviously been busy while I was away, as I learned that their sky scanner was being used again. It’s a highly reflective spherical mirror, laid flat on LESO’s roof, and a digital camera takes pictures of it from above. The mirror reflects the whole sky vault, so a computer that analyzes these pictures can then measure the sky luminance distribution. The sky can then be classified according to the standard CIE skies. (One ambition of LESO is to construct a catalog of representative skies for Lausanne, such as already exist for certain major cities.)

Friedrich is also using a head-mounted illuminance sensor that’s sensitive to the spectral quality of its incoming light. With this device, as I understood it, you can measure over a full day the quality of the eye-level light a person receives.

Very exciting work, I must say. I’m looking forward to seeing published papers.

20080804_1838

The (non-invasive) automatic data acquisition on an inhabited building has always been a strong point of LESO. I’ve been myself somewhat involved in that effort, and one of my great regrets was not having had the time to work on a canonical data format for data recorded on a building. I personally believe there’s a need for this, because it is at the moment impossible for separate research groups to share their data without a major translation effort. It would have benefits for industry too, in the same way that a standard XML format for business activities helps the integration of legacy systems.

Someone raised a very interesting question at this point, the gist of which was “What’s wrong with Excel files?”. I have ranted against the use of Excel in academia before, but to these arguments I would add the following.

Scientific data in our field is almost always structured (i.e., not tree-like nor with arbitrary fields for each data item). So how you store your data boils essentially down to a flat file, a relational database (RDB), or a proprietary program (Excel being the obvious example, but Matlab or Igor Pro are others).

I dislike proprietary program being used in scientific work on the principle that any such work must be repeatable and verifiable. This is by definition impossible with a proprietary program whose source code nobody can inspect, and whose license costs might be a barrier.

Flat files or RDB are my own, humble, personal preference, with a slight bias towards RDBs for any long-running measurement campaign that can yield thousands or millions (as for LESO) datapoints. Flat files are the format of choice for analysis, since they can be freely shared among co-workers and colleagues and even published along with their peer-reviewed article.

20080804_1839

Finally we talked about SUNtool, a simulation package to which LESO has contributed in the past but which has been plagued with difficulties. It appears that one commercial partner of that project has withdrawn its support, preventing the other partners from using their code. One ambition of LESO is now to start more-or-less from scratch and to develop a more open version of that tool.

That concluded our meeting, the next installment of which is tentatively scheduled for Moday September 1st.

Trends in Smart Buildings Meeting, July 2008

On 4 July 2008 we held at LESO-PB the first of (hopefully) a series of meetings for people interested in home/building automation. The idea is to give people of widely different backgrounds a venue, time and opportunity to share, discuss and explore new ideas.

It was my pleasure to facilitate this meeting and although I did not hold any minutes, you can find here pictures of the notes I took during the meeting.

20080704_1819

We started with introductions. It was great to have people from industry, academia and just plain hobbyists (like yours truly) interested in this subject. One thing we agreed on quite early was to discriminate between building automation (BA) and home automation (HA). BA will typically use completely different hardware and control algorithms than HA, so when a distinction needs to be made we agreed that HA is a subset of BA.

We started the discussion with two questions. 1) What is the state of BA today and 2) What is the role of building simulation in BA.

20080704_1820

David started by telling us about the preliminary research he’s been doing for his PhD work at EPFL. He’s looking for building simulation software that would be modular enough to easily allow testing of different algorithms. This problem was similar to one I’d been working on during my own PhD so we talked a bit about the software I had used, SIMBAD, and in particular how it had been extended with Java/RMI to allow remote processes to connect to it.

20080704_1821

One thing that Antoine stressed was the importance of building simulations for BA designers. The nature of the problem makes it impossible to run tests of control algorithms on real, occupied buildings and to get feedback in a timely manner. And the results would need to be compared to some base case anyway.

20080704_1822

We talked a lot about the academic efforts in building simulation, especially the need for a good model of the users’ behaviour. The fact is that modern simulation packages do not have a good user model, and it is very difficult to estimate the errors being made on energy demand predictions.

On the other hand, it was very unclear whether such user models could be directly used by BA systems to anticipate user actions. Users usually act after some discomfort threshold has been exceeded, but any BA system should try to act before.

20080704_1823

We briefly reviewed the user behaviour models that LESO had been working on for the past years, most notably Jessen’s occupancy model (the subject of his PhD thesis) and Fred’s window opening model.

20080704_1824

Someone mentioned a research group in Zurich. I’m not 100% positive about this but I think this could be the group of Prof. Morari, with whom I had had a brief email exchange a couple of years ago.

Antoine stressed again the importance of reliability in BA systems. The reliability issue brought up a discussion on centralized vs distributed control systems.

20080704_1825

We were shortly running out of time, so I asked the audience their recommendations for academic or trade publications of interest to BA. We concluded the meeting by regretting the lack of real innovation in BA, both academic and industrial, and observed that the big challenge facing building simulation today was the modelling of human factors and the urban environment.

Thanks to everyone who participated, and see you next time!