BATTERY ENERGY STORAGE MODELS FOR OPTIMAL CONTROL