Application of Power Electronics to Power System