So if you could help me with the modelling of FACTS such as static synchronous series compensator (SSSC) , static synchronous compensator (STATCOM) AND unified power flow controller (UPFC).
Have a look at chapter 17 of the attached book link. If you have access to this book, you can also download supplementary files that consist of DIGSILENT models for most FACTS devices.