Frequency control of wind turbine in power system