HOW TO DESIGN A SMART ENERGY STORAGE SYSTEM FOR YOUR HOME