A numerical approach to the description of the role of electromagnetic noise on the iron losses