Dynamic system equivalents using integrated PSS/E and Python for transient stability studies