Charging and discharging characteristics of SMES with active filter in transmission system