Dynamic equivalencing of an active distribution network for large-scale power system frequency stability studies