Battery energy storage system to reduce voltage rise under high penetration of customer-scale photovoltaics