Performance analysis of a wind PCS with an AF function