Unfortunately, there is no such guide provided by MATPOWER. Modeling of various FACTS devices is something planned for version 9. If you are interested in building your own model, you may find How to Create a New Element Type<https://matpower.org/doc/howto/element.html> and the next two how to guides (How to Add an OPF Constraint<https://matpower.org/doc/howto/add-constraint.html>, How to Create an Extension<https://matpower.org/doc/howto/extension.html>) to be helpful. These require MATPOWER 8 (currently in beta) or later.
Hope this helps, Ray On May 10, 2024, at 3:34 AM, Muhammad Junaid <gaylethunder...@gmail.com> wrote: Dear Sir, I hope you are doing well. Can you guide how to create two fictitious buses in Matpower for modeling UPFC? or is there any guide for modeling UPFC provided by Matpower? Thanks and regards