Meeting grid code requirements for wind farms in South Africa