Coder Social home page Coder Social logo

Comments (8)

jeroenterheerdt avatar jeroenterheerdt commented on July 28, 2024 1

V1 had many many bugs, so arguably was often more incorrect than actual correct. I use an estimate from temperature for solar radiation since I don't have the sensor. I spotted a couple of issues though, working through them now. Looks like if the system is metric (as it is for you) then the conversion to MJ/m2/day doesn't actually happen. Oops.

from hasmartirrigation.

wauswaus avatar wauswaus commented on July 28, 2024 1

Man, you are on fire! Thanks.
I installed the beta and it looks promising. I just have to wait out the coming rainy days to know for sure if it is all good.

from hasmartirrigation.

jeroenterheerdt avatar jeroenterheerdt commented on July 28, 2024

Hmm, thanks for letting me know. I myself don't use a solar radiation set up so could be a unit conversion issue.

from hasmartirrigation.

jeroenterheerdt avatar jeroenterheerdt commented on July 28, 2024

@wauswaus the solar radiation is has to be converted in to MJ / m2 / day from W/m2. The factor used is 0.0864, which seems to be correct to me. I.E., 1 W / m2 is 0.0864 Mj/m2/day. That is what the code does and what my understanding is as well. So when it's being used the average of 54 W/m2 is then converted 4.6656 Mj/m2/day which is passed into the pyeto module here.
Now the documentation for the pyeto module is lacking severly, but here's the function. Please read the description there and let me know if you think I am passing in the wrong values here.

from hasmartirrigation.

wauswaus avatar wauswaus commented on July 28, 2024

Thanks for the quick look. I will also dive into this.
In the meanwhile I have to question:

  • In the V1 version it work like a charm, that is why this is somewhat confusing to me.
  • You, as the expert of this all :) , what do you use in your home for this solrad behaviour ? Use a Openweathermap value? or estimate from sun / temp?

from hasmartirrigation.

jeroenterheerdt avatar jeroenterheerdt commented on July 28, 2024

@wauswaus can you install https://github.com/jeroenterheerdt/HAsmartirrigation/releases/tag/v2024.4.3? (make sure to find it in HACS with 'show beta versions' enabled). You will need to update your weather data to see the new changes as I made changes to the logic when the data is collected. Basically, you should see your pressure, wind speed, solar radiation values stored in hpa, m/s, mj/m2/day respectively, so the values should not line up with that the sensor returns if the unit is not that (for example your solar radiation is provided in w/m2 and should be stored in the storage file in mj/m2/day.

Please let me know if this gives you better results so I can publish it.

from hasmartirrigation.

jeroenterheerdt avatar jeroenterheerdt commented on July 28, 2024

Please monitor it and let me know what you're seeing. The numbers in the storage file should now be converted into mj/m2/day for solar radiation and m/s for windspeed.

from hasmartirrigation.

wauswaus avatar wauswaus commented on July 28, 2024

Did a peek and it all looks good to me!
I will continue to monitor, but the evaporation looks better. Many thanks!

from hasmartirrigation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.