Fast Grid Frequency and Voltage Control of Battery Energy Storage System Based on the Amplitude-Phase-Locked-Loop | Synapse