RESEARCH ON OPTIMAL ALLOCATION OF RENEWABLE ENERGY AND ENERGY STORAGE