SmartSim: A device-accurate smart home simulator for energy analytics | IEEE Conference Publication | IEEE Xplore