2507 09755V1 OPTIMAL POWER MANAGEMENT OF BATTERY ENERGY STORAGE