I am trying to do model reduction of power system using Hankel norm approximation for that I need state space model of the system. I tried to output the state space form model analysis in powerfactory in matlab readable file but I am not able to sort it into standard state space form. Any suggestions would be highly appreciated.