The disaggregation of whole-house electric load into the major end-uses using a rule-based pattern recognition algorithm