Allows choosing the phases that will be switched at defined time-events t_switch (finite length vector).
The switching sequence is one of
closed - open - closed - ... open - closed - open - ...