OPTIMIZING ENERGY STORAGE FOR REGULATION