TOPSIS-optimized leg-by-leg model predictive control for four-leg DSTATCOM | Synapse