Variable frequency operation of active stall wind farms using a dc connection to grid