An adaptive thermal module for transformer monitoring