HOW TO DESIGN A GRID CONNECTED BATTERY ENERGY