In the context of socalled smart grids, buildings are expected to integrate in a cooperative manner and to expose their currently unused flexibility of operations, supported by building automation and information technology.