Seamless Switching Strategy for Grid-Following and Grid-Forming Control of Grid-Connected Energy Storage Systems | Synapse