|
Post by triggerfish on Jan 3, 2019 9:58:02 GMT -8
How do I calculate teh solar radiation in Watts/m2 ? What I pass on to wunderground is a value of 15000 or so, which may be a bit to high
|
|
|
Post by triggerfish on Jan 5, 2019 12:21:13 GMT -8
Nobody?
|
|
|
Post by triggerfish on Jan 6, 2019 8:54:08 GMT -8
I keep trying...
currentSunlightVisible = 109262.295082 currentSunlightIR = 514200.819672 currentSunlightUV = 143 currentSunlightUVIndex = 1.43 Are the values the sensor produces... I know from other stations that the solar radiation should be around 40-50 Watt/m2 at the time... How do I calculate the correct solar radiation for my location from these sensor values?
|
|
|
Post by SDL on Jan 8, 2019 20:16:18 GMT -8
They are in Lux, if that helps. But you have adjust for your gain.
BP
|
|
|
Post by triggerfish on Jan 9, 2019 5:36:14 GMT -8
They are in Lux, if that helps. But you have adjust for your gain. BP Ok, found a generic division value to get from lux to w/m2. But to fine tune:
How do I adjust for my gain???
|
|
|
Post by SDL on Jan 10, 2019 9:46:43 GMT -8
If you have fiddled with the SI1145 gains then you will need to compensate. Is your w/M**2 in the ballpark?
BP
|
|
|
Post by triggerfish on Jan 10, 2019 11:25:34 GMT -8
I did not change anything on he SI1145 yet. I did find four statments with gains of 0 and 4 for inside and outside, but I have no clue weather to change them and to what
|
|
|
Post by triggerfish on Jan 10, 2019 13:24:20 GMT -8
Is your w/M**2 in the ballpark? BP
I multiplied the lux with an average valure that should give me w/m**s, now the graph is stil about a factor 35 too high
|
|
|
Post by SDL on Jan 10, 2019 19:17:32 GMT -8
OK. I'm guessing that the Lux equation probably is set for inside. Do you have your gain set for outside or inside?
BP
|
|
|
Post by triggerfish on Jan 11, 2019 7:09:24 GMT -8
OK. I'm guessing that the Lux equation probably is set for inside. Do you have your gain set for outside or inside? BP In conflocal:
# set Sunlight High Gain (indoors - 1) or Low Gain (outdoors - 0) Sunlight_Gain = 0
|
|
|
Post by SDL on Jan 13, 2019 11:26:55 GMT -8
Peter,
This is something I'm really going to have to think about. The fact you have it set for outdoor gain tells me something is wrong with the equations.
On the list of bugs.
BP
|
|
|
Post by triggerfish on Jan 14, 2019 0:04:16 GMT -8
Peter, This is something I'm really going to have to think about. The fact you have it set for outdoor gain tells me something is wrong with the equations. On the list of bugs. BP I tried to figure things out, but it is not as straight forward as I thought. position on earth also has something to do with it, the angle of the sun on the earth and so on... I compared with a couple of nearby stations and found, next to the generic 0.019 factor, diving by 35 makes my graphs look very similar to the neigbours... I try to understand why, but that is higher math 
|
|
|
Post by SDL on Jan 15, 2019 5:48:12 GMT -8
We have some kind of constant error in the equations. Calibrating by dividing by 35 gets you to the right answer.
BP
|
|
|
Post by lbendlin on Jan 22, 2019 6:27:10 GMT -8
Maybe pysolar.org/ is of some use to you, it can tell you the exact position of the sun for your location and time.
|
|
|
Post by triggerfish on Jan 22, 2019 11:07:16 GMT -8
Cool library! I realy need something like that for the moon, to simulate moonlight in my aquarium, but for this problem, the location is not the issue. I get lux readings from the sensor, but need to convert those to Watt/m**
|
|