This function maps the interger index y
to valid index dermined by the number of slots per pole pair,
Sprime
.
function mapSlotIndex extends Modelica.Icons.Function; input Integer y "Input slot number"; input Integer Sprime "Number of slots per pole pair"; output Integer ymap "Mapped output slot number"; end mapSlotIndex;