Using Distributed Energy Resources To Improve Power System Stability And Voltage Unbalance