temperature Sensor error Resistor YSi400
If I understand correctly, you only need a resistor that has two values, one at T1 and the other at T2? Then, if the parameter T is stepped, all you need to do is assign this to the value of the resistor:

{table(T, 1, R1, 40, R2)}

where R1 and R2 are the two values you want. You could do it with an if(), but this way it linearly interpolates between the points (avoids discontinuities a bit).



(Edit: actually, it's not necesarily to step the value, but the explanation makes a bit more sense because of the two specific values you need, that's all.)