Correlation of temperature against switching frequency