Protecting grid connections of large-scale renewable generation