Design And Analysis Of Smart Home Energy Management System For Energy-Efficient And Demand Response Operations