Study on home energy management system with battery storage for peak load shaving