This paper presents the parameters determination of a path loss model for THz chip-to-chip wireless communication in desktop size metal enclosures. To determine the parameters, gradient decent algorithm was applied to minimize the mean square error between the model and the experimental results. Measurements were performed and the obtained results match well with the model prediction.