PurposeThis paper aims to describe a modelling and solving methodology of a (static converter–electric motor–control) system for its sizing by optimization, considering the dynamic thermal heating of the machine.Design/methodology/approachThe electrical drive sizing model is composed of two simulators (electrical and thermal) that are co-simulated with a master−slave relationship for the time step management. The computation is stopped according to simulation criteria.FindingsThis paper details a methodology to represent and size an electrical drive using a multiphysics and multidynamics approach. The thermal simulator is the master and calls the electrical system simulator at a fixed exchange time step. The two simulators use a dedicated dynamic time solver with adaptive time step and event management. The simulation automatically stops on pre-established criteria, avoiding useless simulations.Research limitations/implicationsThis paper aims to present a generic methodology for the sizing by optimization of electrical drives with a multiphysics approach, so the precision and computation time highly depend on the modelling method of each components. A genetic multiobjective optimization algorithm is used.Practical implicationsThe methodology can be applied to size electrical drives operating in a thermally limited zone. The power electronics converter and electrical machine can be easily adapted by modifying their sub-model, without impacting the global model and simulation principle.Originality/valueThe approach enables to compute a maximum operating duration before reaching thermal limits and to use it as an optimization constraint. These system considerations allow to over constrain the electrical machine, enabling to size a smaller machine while guaranteeing the same output performances.