Taking into account the iron losses in electromechanical machines is a crucial step during the design process. The aim of this study was to validate the implementation of an iron loss model and at the same time perform an accurate modelling of the electrical system. Our choice was to use models at the post-processing stage of a finite element code. Thus, four analytical models were compared for, sinusoidal and non-sinusoidal supply, (without minor cycles) in terms of accuracy, in order to choose the most suitable to be implanted in code_Carmel. We have shown that the inclusion of minor loops can be improved by replacing the classical Steinmetz term by a hysteresis model or by a suitable analytical model. The implementation and the accuracy of the analytical model were evaluated first on simple systems, and also on several rotating machines. Comparison of the simulated results with measurements showed good agreement and demonstrated the ability of the model to estimate the iron losses with good accuracy for a wide range of electrical machines and for different supply (sinusoidal and PWM).