HOW DOES ENERGY STORAGE OPTIMIZE SELF CONSUMPTION OF SOLAR ENERGY