The voltage level indices are pre-selected. They correspond to the index of the tap voltage levels of the transformer model. Level 0 is nominal voltage.
The switching times can be chosen arbitrarily.