Grid connected Solar Rooftop PV system the DC power generated from SPV panel is converted to AC powe…