Computational model for calculating the dynamical behaviour of generators caused by unbalanced magnetic pull and experimental validation