Text this: Analysis and synthesis of a 2 MVA series-stacked power-quality conditioner