Menu

Formula Sky Temperature Correction Model

Fernando
2020-08-30
2020-09-01
  • Fernando

    Fernando - 2020-08-30

    Hi, excellent project Robert. I had the mySQMPRO and now I have upgraded to it. Thank you very much for the effort.

    I have some doubts to see if you can solve them.

    In firmware 101 the formulas to calculate Tsky are they ok? It does not match the Sky Temperature Correction Model file in the help file. It puts –t67) and I think it should put ) + t67.

    I use mySQMPLUSTCPIP_0_0_0_40 to connect (the other two later versions disconnect) and the Excel file that it produces in the first line says // mySQMPRO with which I have to change it to // mySQMPLUS so that it can be read by mySQMPLUSlogviewer.

    In mySQMPLUSlogviewer, the only tab that sees the time is in main. In the others it says 0:00 and the cloudcover graph is not visible.

    Sorry for so many things and because of my English, but I don't know if the fault is mine.

    Regards.

     
  • brownrb

    brownrb - 2020-08-31

    Hi
    I use mySQMPLUSTCPIP_0_0_0_40 to connect and I have to change to // mySQMPLUS so that it can be read by mySQMPLUSlogviewer.
    Fixed v043 and uploaded

    In firmware 101 the formulas to calculate Tsky are they ok? It does not match the Sky Temperature Correction Model file in the help file. It puts –t67) and I think it should put ) + t67.
    I believe they are correct. You are referring to this code?
    // cloud model
    double t67;
    if ( abs((mySetupData->get_k2() / 10. - mlx90614ambient)) < 1 )
    {
    t67 = getsign(mySetupData->get_k6()) * getsign(mlx90614ambient - mySetupData->get_k2() / 10.) * abs((mySetupData->get_k2() / 10. - mlx90614ambient));
    }
    else
    {
    t67 = mySetupData->get_k6() / 10. * getsign(mlx90614ambient - mySetupData->get_k2() / 10.) * (log(abs((mySetupData->get_k2() / 10. - mlx90614ambient))) / log(10) + mySetupData->get_k7() / 100);
    }

    What do you think it should be?

    LogViewerPro - Issues noted. Incorrect date on other graphs except main and no graph for cloud cover, To be looked at.

     
  • Fernando

    Fernando - 2020-08-31

    Hi, the file mySQMPlusLogViewer_0_0_0_9 Ok, thank you.

    I mean this firmware formula:
    // double Td = (K1 / 100.) * (T - K2 / 10) + (K3 / 100.) * pow((exp (K4 / 1000.* T)) , (K5 / 100.));
    double td = (mySetupData->get_k1() / 100.) * (mlx90614ambient - mySetupData->get_k2() / 10.) + (mySetupData->get_k3() / 100.) * pow((exp(mySetupData->get_k4() / 1000. * mlx90614ambient)), (mySetupData->get_k5() / 100.) - t67);

    This is the one that appears in the SkyTemperatureModel file:
    Td = (K1 / 100) * (Ta - K2 / 10) + (K3 / 100) * (Exp (K4 / 1000* Ta)) ^ (K5 / 100) + T67

    In the last part of the formula -t67) of the firmware

    Regards.

     
  • brownrb

    brownrb - 2020-08-31

    Hi F ernando
    It certainly appears to be that way. I will take a detailed look.
    It you would like to be part of the testing group, please email me direct at my gmail account so I can give you access to the latest beta firmware.
    regards
    Rpbert

     
  • Fernando

    Fernando - 2020-09-01

    ok, but I don't know what email to send it to

     
  • brownrb

    brownrb - 2020-09-01

    first page of pdf

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.