Grid Code Compliance Studies for Renewable Power Plants