Modelling, Control And Stability Analysis Of Inverter Penetrated Power System