Optimal thermostat programming and optimal electricity rates for customers with demand charges | IEEE Conference Publication | IEEE Xplore