Maximizing the Cost Savings for Utility Customers Using Behind-the-Meter Energy Storage