Optimizing a Battery Energy Storage System for Primary Frequency Control | Synapse