ENERGY STORAGE CONTROL FOR DISPATCHING PHOTOVOLTAIC POWER