Ground fault protection algorithm of active distribution network based on energy extremum direction | Synapse