Stav dette: Optimal Day-Ahead Energy Scheduling of the Smart Distribution Electrical Grid Considering Hybrid Demand Management