This paper presents the computer simulations of the injection process of elements used in electromechanical devices and an analysis of the impact of the injection molding process parameters on the quality of moldings. The study of the process was performed in Autodesk Simulation Moldflow Insight 2021. The setting of the injection process of the detail must be based on the material and process technological card data and knowledge of the injection molding machine work. The supervision of production quality in the case of injection moldings is based on the information and requirements received from the customer. The main goal of the analysis is to answer the question: how to properly set up the process of filling the mold cavities in order to meet the quality requirements of the presented molding. In this paper, the simulation was compared with the real process. It is extremely important to optimize the injection, including synchronizing all process parameters. Incorrectly selected values of the parameters may lead to product defects, leading to losses and destruction of raw materials, and unnecessary energy consumption connected with the process.