This paper was produced to examine the impact of the number of legs on TEGs while also demonstrating how to model and simulate a single-leg thermoelectric generator (TEG) using the COMSOL Multiphysics software platform. Using thermoelectric materials like SrTiO3 and Ca2FeMoO6, a simulation study of the performance of TEG was created. Therefore, by altering the hot side temperature from TH = 300K, 400K, and 500K and varying the load resistance from 0Ω to 20Ω, the influence of various performance metrics, such as output voltage and output power, has been demonstrated and investigated. It has been shown that the thermoelectric legs' material characteristics have a significant impact on how hot or cold the TE module is. Finally, it was discovered that single-leg TEG performs worse than TEG using a single thermocouple. By performing additional studies on the modeling of different numbers of TE legs, the performance of the TEG may therefore be further improved to help society deal with the energy issue.