The present disclosure relates to an electrosurgical generator for supplying electrosurgical energy to tissue and methods thereof. The electrosurgical generator includes sensor circuitry, a processing device, and a controller. The type of return electrode pad may be determined automatically. The sensor circuitry is configured to determine one or more characteristics of a patient and/or measure tissue temperature at a return electrode pad site. The processing device is configured to determine a maximum temperature of tissue and calculate real-time predicted temperature at the return electrode pad site. The controller is configured to regulate output of the electrosurgical generator based on one or more characteristics of a patient and the determined maximum temperature.