Modeling and Large Signal Stability Analysis of A DC/AC Microgrid