Compensation algorithms based on the p-q and CPC theories for switching compensators in micro-grids | IEEE Conference Publication | IEEE Xplore