Everyday, non-renewable energy sources are being depleted while energy use rises. In response to these arguments, we ought to generate more renewable energy. But a big problem with renewable energy is that its production is weather-dependent. In overcast and unfavorable weather, the energy generated on the grid side is insufficient to match the demand on the load side. The primary load-side issues may be non-linear loads that lower the energy network’s power quality or excessive or unmanaged energy demand. When compared to the production of renewable energy, energy sources that are connected to the grid through an electronic converter or inverter have quite different operating characteristics. The stability of the grid and solutions to the grid-to- transmission-line stability issue are the main topics of this study. The benefits of using inverters in a power system from the grid to the transmission line with MPPT and PI controllers are examined in this article. A robust control system with an inverter-equipped PI controller and MPPT addresses the main problem.