function of reactors in power systems