Hardware-in-the-loop Simulation Method for a Wind Farm Controller Using Real Time Digital Simulator