thermal and electrical demand