“…Finally, the third term is proportional to the number of commutations to get to the next switching state, nc, so a switching state that implies fewer commutations of the power semiconductors will be preferred. The weighting factors, mdc and mn, handle the relation between terms dedicated to current reference tracking, voltage balance, and reduction of switching frequency [33].…”