Flexible AC Transmission Systems (FACTS) use power electronics to control power flow and increase transmission capacity. FACTS devices include SVCs, TCSCs, TCPARs, StatComs, SSSCs, and UPFCs. A UPFC can control both voltage and impedance to regulate active and reactive power flow bidirectionally. It does this by generating reactive power with shunt inverters and injecting real power with series inverters using PWM to control voltages. This allows increasing transmission line capacity and controlling power flows.