Demand side management for the future smart grid