Supply of medium-voltage three- and four-phase ring connection units with switching parts