Resistance Temperature Detector (RTD) is a temperature sensor which measures temperature using the principle that the resistance of a metal…