THE CAPACITY ALLOCATION METHOD OF PHOTOVOLTAIC AND ENERGY STORAGE