Understanding of resistance temperature detector