Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Price labelling in Charging Plan #68

Open
dqj999 opened this issue Jan 25, 2025 · 2 comments
Open

Price labelling in Charging Plan #68

dqj999 opened this issue Jan 25, 2025 · 2 comments

Comments

@dqj999
Copy link

dqj999 commented Jan 25, 2025

I'm on Octopus Go which has fixed rates (27.10p/unit) from 5:30 to 00:30. I noticed in the Charging Plan that 15:30 to 19:00 was labelled as "Peak" and the rest of time as "Average".

What causes this difference in the labelling, is it the result of some history of prices? I know that on Agile these would indeed tend to be Peak charge times.

@Webreaper
Copy link
Owner

Had this question from somebody else so should probably write a faq. 😁

The algorithm assumes the peak time is about 6-8 slots. So it finds the first most expensive set of slots, and marks them as 'peak'. Of course, with Go, the price is constant for hours but all the algo cares about is the next most expensive 6-8 slots.

You'll notice that as time passes, and slots drop off into the past, each 30 minute the peak period will be recalculated - and lo and behold will still be the next 6-8 slots. So the slots marked as peak will move over time until a price trough gets to the front of the slot 'queue'.

@Webreaper
Copy link
Owner

I might make an adjustment to make this more intuitive: once the peak period has been found, look for adjoining slots at the same rate or higher than the peak average, and mark them as peak too.

This might also solve #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants