Transient Characteristics, Modelling and Stability Analysis of Microgrid