OPTIMAL SCHEDULING CONSIDERING THE SAFETY OF ENERGY STORAGE POWER