OPTIMIZING BATTERY ENERGY STORAGE SYSTEM OPERATIONS