A Generalized Approach for Commercial and Industrial Load Shifting Control