Repository navigation
Conversation
ft_err per step gives the standard deviation of the generation forecast. The grid cost of a step is the mean over ft - ft_err and ft + ft_err with the schedule shared and only the grid split per scenario. Optional, absent it reproduces the previous model.
This was referenced Oct 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
refs #163
One optional time series lets the schedule price the generation forecast as uncertain instead of taking it as given. Absent, the model is unchanged and every stored case solves as before.
ft_err: standard deviation of the forecast per step. The grid cost of a step is the mean over generation atft - ft_errandft + ft_err. The schedule is shared, only the grid split differs: a shortfall cannot raise the export, a surplus cannot raise the import. No scenario copies of the battery variables, no new binaries, four continuous variables and four rows per step with a band.ft, since the pair is not locked by a direction binary there.TimeSeriesDatawithasdictnow yieldsft_err: None, which the API rejects like any null list. The continuity API tests filter it the way they already do for batteries.tools/bench_forecast_band.pyruns the stored cases against main, then with a band of 20 % of ft growing with the square root of the lead time. Plain: 5.22 s against 5.29 s total. Band: 6.44 s, worst 016 from 0.26 to 0.87 s and 028 from 1.61 to 2.82 s, while 020 and 023 solve faster. This is the one that costs solve time, the departure PR feat: value the state of charge the device is expected to leave with #184 does not.🤖 Generated with Claude Code