A study on power compensation by means of active devices