Code Monkey home page Code Monkey logo

Comments (18)

fboundy avatar fboundy commented on June 20, 2024 1

Do you have the pv_opt.log from 22:30 when the error occurred?

AppDaemon failed to return recent SOC data which is what caused the error in error.log and I suspect this may have stopped it loading correct tariffs after that.

from pv_opt.

fboundy avatar fboundy commented on June 20, 2024 1

In 3.9.0 I've added a feature to compare the pv_opt tariffs with those from the Octopus Energy automation (so long as you have octopus_auto set to true). At the moment all it does is flag if they are different and also populate a sensor called sensor.pvopt_tariff_import_OK with True or `False'. This should at least help identify when there is a problem and, hopefully, eventually track down the source.

Ok, I'll try 3.9.0. Is this correct? image

What do you think about the PV forecast & SOC with the charge plan?

Thanks

You should be able to comment it all out as octopus_auto: true is the default

from pv_opt.

fboundy avatar fboundy commented on June 20, 2024 1

from pv_opt.

fboundy avatar fboundy commented on June 20, 2024 1

Added a check on this in 3.9.4

from pv_opt.

fboundy avatar fboundy commented on June 20, 2024 1

Think I may have finally found the root cause! Please check out 3.9.5

from pv_opt.

solarjones avatar solarjones commented on June 20, 2024

1pv_opt.log

from pv_opt.

solarjones avatar solarjones commented on June 20, 2024

v3.8.14 downloaded at about 15:30, restarted AP.

image

Doesn't look like it picked up the OE slots correctly. No errors.

Restarted AD.

image

Looks ok.

However, (and this isn't specific to this version as I noticed this morning) I don't think the PV forecast has been taken into consideration, 26 kWh tomorrow! :) My projected consumption is lowish.

Also toggled between consumption history and fixed. It changed the charge plan by always resulted with 100% SOC around 6am.

image image

pv_opt.log
main.log
error.log

Thanks

from pv_opt.

fboundy avatar fboundy commented on June 20, 2024

In 3.9.0 I've added a feature to compare the pv_opt tariffs with those from the Octopus Energy automation (so long as you have octopus_auto set to true). At the moment all it does is flag if they are different and also populate a sensor called sensor.pvopt_tariff_import_OK with True or `False'. This should at least help identify when there is a problem and, hopefully, eventually track down the source.

from pv_opt.

solarjones avatar solarjones commented on June 20, 2024

In 3.9.0 I've added a feature to compare the pv_opt tariffs with those from the Octopus Energy automation (so long as you have octopus_auto set to true). At the moment all it does is flag if they are different and also populate a sensor called sensor.pvopt_tariff_import_OK with True or `False'. This should at least help identify when there is a problem and, hopefully, eventually track down the source.

Ok, I'll try 3.9.0. Is this correct?
image

What do you think about the PV forecast & SOC with the charge plan?

Thanks

from pv_opt.

fboundy avatar fboundy commented on June 20, 2024

What do you think about the PV forecast & SOC with the charge plan?
Thanks

I think that's correct. Mine is similar. There are some marginal benefits from charging at <15p and exporting at 15p. My cost saving for tomorrow is only 20p though. If you increase the two thresholds (per slot and per pass) it will probably reduce the amount of forced charging.

from pv_opt.

fboundy avatar fboundy commented on June 20, 2024

You can see it is reading the Solcast OK because the "Initial SOC" curve reaches 100%.

You can also check that it is reading the forecast correctly by switching to the Solcast_p10 forecast in which case it should charge more and not get to such a high SOC:

image

from pv_opt.

solarjones avatar solarjones commented on June 20, 2024

I'd been using the Solcast default (p50?), so have now switched to P10.

image

Thanks.

from pv_opt.

fboundy avatar fboundy commented on June 20, 2024

v3.8.14 downloaded at about 15:30, restarted AP.

Doesn't look like it picked up the OE slots correctly. No errors.

One thing I don't understand in your comparison is that Octopus don't release the next day's tariffs until ~16.00 so when I look at the log file for 15.30 PV_Opt doesn't have them - it is using a guesstimate based on the published wholesale day-ahead prices which is only hourly so it won't be 100% correct. Once the Octopus prices are available (after 16.30) it all looks OK.

from pv_opt.

fboundy avatar fboundy commented on June 20, 2024

I'd been using the Solcast default (p50?), so have now switched to P10.
Thanks.

This will be more conservative in that it's likely you will charge your battery more than you needed to but you are very unlikely to charge too little.

from pv_opt.

fboundy avatar fboundy commented on June 20, 2024

3.9.1 tidies up a few things related to these marginal charging slots and makes it less likely to charge unnecessarily,

from pv_opt.

solarjones avatar solarjones commented on June 20, 2024

3.9.2
I've got some more errors and just checked the charging plan, which doesn't look like its updated or got he OE slots correct.

image

Restarting AppD, and the charging plan looks correct now.
image

Logs:
pv_opt.log
main.log
error.log
1pv_opt.log

Just noticed you have version 3.9.3, I'll update to this. Does this have any changes in this area?

Thanks.

from pv_opt.

solarjones avatar solarjones commented on June 20, 2024

v3.9.3
Unexpected error in worker for App pv_opt:

pv_opt.log
main.log
error.log

from pv_opt.

solarjones avatar solarjones commented on June 20, 2024

Happy to report a lovely stable version for me, zero errors and good time slots! Truly very grateful for you being so responsive and what a brilliant optimiser!

from pv_opt.

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.