Power system simulation using semi-analytical methods. (2023)