Modern technologies of generative design and digital twins of electrical devices are based on the use of field models, as a rule, three-dimensional ones. Also, it is possible to solve design problems and to simulate accurately electrical machines and devices based on a set of 2D models of physical fields. Application of automatically generated field models in modern systems of engineering analysis during the design and optimization of electrical machines and devices makes it possible to get rid of many assumptions and outdated empirical and semi-empirical dependencies, as well as to reach a new methodological level of design theory, characterized by a unified approach to the calculation of various devices. Therefore, the purpose of this article is to develop a methodology to design a synchronous motor of an atypical design, based on the use of two-dimensional models of a stationary magnetic field at different design stages and allowing a solution to be obtained even in the absence of preliminary studies and recommendations. The finite element method is used implemented by means of the EMLib library (author's development), which allows calculating magnetic fields in a 2D formulation. Also, methods of the theory of synchronous machines and object-oriented programming in VBA in the MSExcel environment are used. Elements of digital twin technology and generative design are used while developing the methodology and design system. A method to design an end-face synchronous motor has been developed using automatically generated set of field models at the stages of choosing the height of a permanent magnet, calculating the parameters of an equivalent circuit, and an angular characteristic. Based on the popular MSExcel package, a system to design an end-face synchronous motor has been developed. The EMLib library has been implemented into the system, it allows using the results of calculating the magnetic field in the key design operations. The end-face synchronous motor has been designed and tested on the base of the developed system. The results of the research can be used during the development of methods to design electrical machines and devices of arbitrary, including non-standard design, for which approved algorithms for engineering analysis do not exist.