Numerical analysis of the effect of the cooling process on the characteristics of n-type semiconductor gas sensors