I have an electronic assembly and part of what it does is to measure and report temperature. The electronics are housed is a plastic enclosure, and there is a small fan blowing out of the enclosure. There are also intake openings in the enclosure wall.
It's a simple fact that the temperature inside the enclosure is above ambient temperature seeing as the electronics itself is a heat source and the enclosure naturally has thermal insulating properties.
That being said I want to report ambient temperature without my temperature sensor being outside the enclosure, and I'm willing to perform a calibration step to get there.
The questions are, (1) is it sufficient to model the transform as a simple offset? (2) What tools can I use to understand the relationship between the internal and external temperature in my enclosure, over a range of external temperatures? (3) What are the most important variables I need to control in order for my calibration to hold in practice?