On the accuracy of power flow and load margin calculation caused by incorrect logical PV/PQ switching: analytics and improved methods - Lin, Zeng; Hsiao-Dong, Chiang; Neves, Lucas Sales; Alberto, Luís Fernando Costa (International Journal of Electrical Power & Energy Systems, 2023)