Hey,
Radiometers due to their measurement method, send negative values during night and during cloudy periods depending on the ambient temperature.
This brings a problem when calculating statistical values,especially during sunrise and sunset.
To overcome this problem I set up an 1S schedule that transforms negative values into 0 and store them into a new CV that will be used in the hourly schedule.
81CV("GHI(1s)~W/m2",FF2,NR)=80CV*(80CV>0)
The problem is that this seems very demanding for the datataker especially for the relays.
Is there any way to overcome this and maintain 1 second readings for the statistical calculations?
This is part of the program:
RS1S
RA"1s"("B:",DATA:OV:1D)1S
'readings
2+I(=80CV,S1,W)'........................GHI
2-I(=90CV,S2,W)'........................DHI
3I(=100CV,S3,W)'.......................DNI
'negative values elimination
81CV("GHI(1s)~W/m2",FF2,NR)=80CV(80CV>0)
91CV("DHI(1s)~W/m2",FF2,NR)=90CV(90CV>0)
101CV("DNI(1s)~W/m2",FF2,NR)=100CV(100CV>0)
RC"Horario"("B:",DATA:OV:8D)1H 'hourly schedule
81CV("GHI->h_int~kJ/m2",INT,Y11,FF2,NR)("GHI->h_num~",NUM,NR)
91CV("DHI->h_int~kJ/m2",INT,Y11,FF2,NR)("DHI->h_num",NUM,NR)
101CV("DNI->h_int~kJ/m2",INT,Y11,FF2,NR)("DNI->h_num~",NUM,NR)
Hey,
Radiometers due to their measurement method, send negative values during night and during cloudy periods depending on the ambient temperature.
This brings a problem when calculating statistical values,especially during sunrise and sunset.
To overcome this problem I set up an 1S schedule that transforms negative values into 0 and store them into a new CV that will be used in the hourly schedule.
81CV("GHI(1s)~W/m2",FF2,NR)=80CV*(80CV>0)
The problem is that this seems very demanding for the datataker especially for the relays.
Is there any way to overcome this and maintain 1 second readings for the statistical calculations?
This is part of the program:
RS1S
RA"1s"("B:",DATA:OV:1D)1S
'readings
2+I(=80CV,S1,W)'........................GHI
2-I(=90CV,S2,W)'........................DHI
3*I(=100CV,S3,W)'.......................DNI
'negative values elimination
81CV("GHI(1s)~W/m2",FF2,NR)=80CV*(80CV>0)
91CV("DHI(1s)~W/m2",FF2,NR)=90CV*(90CV>0)
101CV("DNI(1s)~W/m2",FF2,NR)=100CV*(100CV>0)
RC"Horario"("B:",DATA:OV:8D)1H 'hourly schedule
81CV("GHI->h_int~kJ/m2",INT,Y11,FF2,NR)("GHI->h_num~",NUM,NR)
91CV("DHI->h_int~kJ/m2",INT,Y11,FF2,NR)("DHI->h_num",NUM,NR)
101CV("DNI->h_int~kJ/m2",INT,Y11,FF2,NR)("DNI->h_num~",NUM,NR)