Dynamic equivalencing of distribution networks with dispersed generation