Performance analysis of a solar-electrical system with a load and storage batteries