How to install batteries in distributed power supply