Dynamic equivalent modeling for microgrid based on GRU