Transient stability analysis of a distribution network with distributed generators