UNDERSTANDING THE INTEGRATION OF A GENERATOR WITH A SOLAR BATTERY