Continuous updates (experimental feature) #437
Replies: 20 comments 36 replies
-
#363 and #436 let's move discussion about how to handle various sensors / aggregates to this conversation please! |
Beta Was this translation helpful? Give feedback.
-
Two things come to mind:
|
Beta Was this translation helpful? Give feedback.
-
@jeroenterheerdt - thanks for introducing this feature. I have it switched on on prod and test environments so happy to help investigate and test. solar radiation is tricky and I am not getting bucket calculations like I would expect but it is winter here in Oz so that is a factor. I think there is something not right with how I setup my reimann integral sensor - see below. raw data from the solar rad sensor on my weather station: daily solar rad using a reimann integral (curve shape is good but daily total is out maybe by a factor of 100 or 1000): |
Beta Was this translation helpful? Give feedback.
-
So as a next step, I will create a new riemann sensor x100 and one x1000 to see if this is closer. For reference - before I used a riemann I had a senor that simply added up the sol rad sensor and it looks like this - but even this was underestimating watering so this approach did not work either (for me). |
Beta Was this translation helpful? Give feedback.
-
Tried changing the riemann to kilo but it only changes the unit so not helpful (for me) |
Beta Was this translation helpful? Give feedback.
-
I think I might have found my issue with solar rad being under reported. I found this on the interweb... The daily irradiation in Wh/m2 will be obtained as the sum of all hourly values in W/m2. For instance, if the irradiance is constant at 100 W/m2 during 10 hours, the daily total irradiation is 1000 Wh/m2=1 kWh/m2. The same principle applies to 10-min values, but then the total needs to be divided by 6. So if the irradiance is constant at 100 W/m2 during 10 hours or 60 10-min periods, the daily irradiation is 100x60/6=1 kWh/m2 again, as expected. So I think you need to setup the riemann integral as an hourly calculation (rather than daily) - this means that my original setup was under reporting by a factor of 24. So I will see what happens now |
Beta Was this translation helpful? Give feedback.
-
Just to understand continous updates; if using sensors only including ET, continuous updates are not possible? What is the advantage of continuous updates? |
Beta Was this translation helpful? Give feedback.
-
Hello, I have enabled continuous calculation. Does the evening calculation need to be turned off? |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
@jeroenterheerdt - the good news with all of this work is that I finally have smart irrigation working properly as I am handling solar radiation correctly so the daily ETO calcs are working. The sensor for total daily solar radiation looks correct when comparing to the solar radiation raw data sensor. |
Beta Was this translation helpful? Give feedback.
-
Happy to do a write up but not quite there yet. My testing over the last week has not been using continuous updates as I wanted to test one thing at a time. I now have daily calcs working correctly with my solar radiation sensors. Now I am switching to continuous and I will see what I find and update this thread. |
Beta Was this translation helpful? Give feedback.
-
After switching to continuous updates, I have some new errors in the log and a couple of observations. My setup has two zones (front and back) each with its own sensor group. The sensor groups are identical except one has precipitation set as a static value of 0 (as this zone is under cover). However, the amount of data collected for the two zones are very different - see image below from the last hour since I switched to continuous. Diagnostic file attached... |
Beta Was this translation helpful? Give feedback.
-
So I have been playing with continuous updates and there is something strange going on. I have a feeling it is related to having two sensor groups that use the mostly the same sensors. I had it working but only one zone was actually updating continuously. So I deleted the sensor group that I assumed was not working and set it up new. Now this one works but the other zone is not updating. It's very confusing. My next test is to use the same sensor group on both zones. I will report back |
Beta Was this translation helpful? Give feedback.
-
Nothing obvious in the logs. I don't understand why there is much more data being collected for one sensor group compared to the other. I think this is a clue to an underlying issue. Right now I am running a different test. I have set both zones to use the same (newly created) sensor group so I will see what happens with this and report back. |
Beta Was this translation helpful? Give feedback.
-
Just an update from my experience over the last few days... I can't get good results with continuous enabled. Not sure how to investigate further but happy to do so if helpful. For now, I have switched to a daily calcs and this seems to be woking nicely now that I have fixed solar radiation by using the riemann sum helper/sensor setup. |
Beta Was this translation helpful? Give feedback.
-
see below. I had a powercut for 2hrs and you can see that riemann is flat during this time (as there is no data). left chart is my source solar radiation sensor. right is riemann sum of the data... |
Beta Was this translation helpful? Give feedback.
-
slowly getting back to continuous updates. One thing I noticed is that there are no updates during the night. It looks like that is very dependent on your weather station, but mine for example doesn't provide a value for solar radiation during the night. Then the calculation is never done in PyETO because solar radiation (and whatever the weather station does not provide) is missing.
Thoughts? |
Beta Was this translation helpful? Give feedback.
-
Just to clarify: I also have a sensor that gives me the current rainfall rate. The value is in mm/h (naturally much higher than the total rainfall, but only for the duration that it’s raining). It might rain in the next few days. I’ll keep an eye on it. |
Beta Was this translation helpful? Give feedback.
-
ok, so what's the consensus now for which aggregates to use when continuous updates are on?
Either we need to instruct users to set this up or we just take care of it automatically once you have continuous updates on. We can go either way, I think it would be confusing if I can set up a sensor group with whatever aggregation I want and then continuous updates would just "override" the aggregate to whatever it needs. However, this might be the easiest for the user (more done automatically). The alternative is that the user has to set up two sensor groups: one for zones that can be continuously updated and one for zones that cannot (rely on weather service, for example because they use forecasting). This means the user needs to do more work and likely they will not read the docs instructing them to do so. Conclusion: I think continous updates should just apply the right aggregates. If you all agree, that just leaves the other question: which aggregates to use (see above). |
Beta Was this translation helpful? Give feedback.
-
Let's discuss the continuous updates feature here!
Beta Was this translation helpful? Give feedback.
All reactions