The article proposes a method of mathematical simulation of electrical machines with thyristor exciters on the basis of the local Fourier transform. The present research demonstrates that this method allows switching from a variable structure model to a constant structure model. Transition from the continuous variables to the discrete variables is used. The numerical example is given in the paper.