ENERGY MANAGEMENT SYSTEM EMS INTEGRATING SOLAR ENERGY AND ESS ENERGY