Demand Response And Energy Storage For A Cost Optimal Residential Energy Supply With Renewable Generation