Optimal Control of Battery Energy Storage for Wind Farm Dispatching | Synapse