Text this: Distribution network protection considering grid code requirements for distributed generation