Text this: Simulation and evaluation of a phase synchronous inverter for micro-grid system