Energy analytics for infrastructure: an application to institutional buildings