“…Disturbances in the power quality have negative impacts on particular elements of the power system, including electric machines [ 2 , 3 ], causing, e.g., their overheating [ 4 ], excessive vibrations [ 5 ], torsional vibrations [ 6 ], reduced efficiency [ 7 ], loss of reliability, and durability [ 8 , 9 , 10 ]. Power quality disturbances that occur in the power grid and affect the reliability of electrical machines include, among others, voltage fluctuations [ 11 , 12 ], voltage distortions caused by higher harmonics [ 13 ] or inter-harmonics [ 14 , 15 ]. At the same time, in some cases, the operation of electric machines or devices associated with them can also cause disturbances of power quality [ 16 , 17 , 18 ], for example, the electric machine control or the charging of an electric vehicle (EV) [ 19 , 20 ].…”