On-site grid code compliance testing for wind farms