FACT++  1.0
double ConnectionFSC::GetTempPT1000 ( double  R) const
inlineprivate

Definition at line 64 of file fscctrl.cc.

65  {
66  // This is precise within the range 5degC and 25degC
67  // by 3e-3 degC. At 0degC and 30degC it overestimates the
68  // temperature by 0.025 degC. At -10degC it is ~0.9degC
69  // and at 40degC ~0.05degC.
70  const double x = R/1000;
71  return -193.804 + 96.0651*x + 134.673*x*x - 36.9091*x*x*x;
72 
73  //for a reasonable range:
74  // R=970 -> -7.6 degC
75  // R=1300 -> 77.6 degC
76 
77  //const double R0 = 1000; // 1kOhm
78  //const double a = 3.893e-3;
79  //return (R/R0 - 1)/a;
80  }