Taifead r-phoist: Power system modeling, computation, and control