Giter VIP home page Giter VIP logo

Comments (4)

Dan-in-CA avatar Dan-in-CA commented on August 16, 2024

It looks like you might need to change line ~283 in helpers.py. Probably to something like:
gv.rs[sid][1] = (gv.now + gv.rs[sid][2]) * plugin_adjustment()
To understand what the variables are see gv_reference.txt in the OSPi directory.

from sip.

0-kaladin avatar 0-kaladin commented on August 16, 2024

didn't seem to effect anything. I see the values are:
gv.rs run schedule (list [scheduled start time, scheduled stop time, duration, program index])
but I don't see how they would effect my "until" time for that loop.
image
if you see my program the rain delay is adjust start time and duration and each loops end time but the "Until" is still 2200 so as the duration increased now only 3 loops get done until 2200 where i had it calculated to 5 to loop through my zones.

from sip.

Dan-in-CA avatar Dan-in-CA commented on August 16, 2024

Oh right. The "until" time is a cut off. anything scheduled to start after that time will not run. I think the weather plugin needs to be changed so that it will only reduce the run time of programs and not increase them depending on conditions. That is, if there is no precipitation the programs will run at 100% of their scheduled time, If there is precipitation the programs should be shortened to compensate for the extra water. I did not write the plugin and have not looked at it closely but I remember seeing something about increasing run times past 100% and thinking that was a bit backwards.

from sip.

Dan-in-CA avatar Dan-in-CA commented on August 16, 2024

Cleaning up old open issues. The plugins have been moved to:
https://github.com/Dan-in-CA/ospi_plugins

from sip.

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.