Input kinematic parameters during the movement of the mechanism for opening and closing the roof of Tagnpps 95 m3 wagon were analyzed. This included studying all components including the steering wheel, motion transmissions, and the roof of the wagon. The process of creating a 3D model of the mechanism for opening and closing the wagon roof in SolidWorks software is described, as well as the procedure of kinematic analysis of the mechanism in SolidWorks Motion. The manual force required to operate the mechanism for opening and closing the roof is calculated. To optimize the existing mechanism, the case of replacing the current reducer gear with a reducer of a smaller gear ratio is taken into consideration.