A flexible alternating current transmission system FACTS is a system composed of static equipment used for the AC transmission of…