Versatile energy scheduler compatible with autonomous demand response for home energy management in smart grid: A system of systems approach