In order to solve the problem of imbalance of internal forces in the system caused by the gravity force of the eccentric wheel and the orbiting scroll close to the drive bearing and the rotational inertia force during the operation of the electric scroll compressor, a dynamic model of the rotor system of the scroll compressor that takes into account the effect of the gas force was established using the multibody dynamics software ADAMS/View 2020. Dynamic simulation analysis of the rotor system is carried out, focusing on the force of the drive bearing; a parametric optimization method is adopted to optimize the position of the center-of-mass coordinates of the eccentric wheel of the relevant components, and the relevant parameters are derived after optimization. The results show that by adjusting the center-of-mass position of the eccentric wheel it is possible to optimize the unbalance force and unbalance moment of the main shaft drive system; compared with the pre-optimization, the force fluctuation ranges of the drive bearing in the horizontal and vertical directions are reduced, the peak value is reduced by 18%, and the impact force of the drive bearing during the initial period of compressor operation is effectively relieved. Through optimization calculation, the vibration and noise of the system are reduced, the operating stability of the scroll compressor is improved, and analytical methods and theoretical guidance are provided for the design and prediction of the dynamic behavior of the scroll compressors.