I am working on the topic "Frequency support from energy storage system to connect large-scale wind farms.". In this regards, I am facing difficulty in designing the frequency loop for the voltage source converter to provide the frequency support at the point of common coupling.