Smart meter and appliance models