MAXIMIZE SELF CONSUMPTION OF SOLAR ENERGY