The document presents a study on the resistance welding process of high density polyethylene (HDPE) pipes, focusing on finite element simulation to optimize different operational parameters such as current, pressure, and time. Using ANSYS software, it details thermal and structural analyses to investigate how heat distribution affects the welding quality, material properties, and deformation outcomes. Key findings include modeled results for strain, weld bead height, and thermal properties under varying conditions, which are crucial for improving welding techniques in practical applications.