Distributed power sources will force buildings to become ‘smarter’