I. Introduction
Nowadays, the sun is a sustainable energy source in the world, and it powers the world with its energy. The rapid growth of solar energy projects has met the global demand for electricity. It plays an important role in renewable energy because it is a clean and affordable energy source. It also helps people discover their talents in society and provides a platform for researchers. Among renewable energy sources, solar energy is always the first choice [1]. It has no moving parts, so there is less maintenance and low risk. It also provides the most predictable output, and the installation is faster and with fewer conductor quantities. Nowadays, the integration of solar energy systems and public grids has received widespread attention. The system does not require a battery system, is effectively used, and has no storage loss [2]. It is most widely experimented on rooftops to decrease the consumer's electricity bills. In a distributed network, it has proven to be the best power- sharing renewable resource [3]. Cascaded H-bridge multilevel inverters are a suitable choice for distributed photovoltaic power generation systems [4]-[5].