Steady state analysis of power systems under unbalanced conditions