A modified algorithm for time varying reactive power control and harmonics compensation by D-STATCOM | IEEE Conference Publication | IEEE Xplore