A detailed model for the STATCOM using ATPdraw | IEEE Conference Publication | IEEE Xplore