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

Fix for scale_reservoirs #44

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Fix for scale_reservoirs #44

wants to merge 4 commits into from

Conversation

adow031
Copy link
Member

@adow031 adow031 commented Sep 7, 2023

Fixes in a couple of places when using the scale_reservoirs option.

Updated keyword "sector" to "demand" to match documentation.
Fixed issue with marginal water value calculations if `rundata.scale_reservoirs` is not 1.
Fix for how contingent storage with modelled when `rundata.scale_reservoirs` is not 1.
@odow
Copy link
Collaborator

odow commented Sep 7, 2023

Hmm. The test failures with simulation_stopping are likely my fault. I changed the default termination in SDDP.jl, but if you set an iteration limit it should respect that... let me take a look

@odow
Copy link
Collaborator

odow commented Sep 7, 2023

See odow/SDDP.jl#662. I added it in the wrong place

@odow
Copy link
Collaborator

odow commented Sep 7, 2023

Should be fixed by JuliaRegistries/General#91019

@odow odow closed this Sep 8, 2023
@odow odow reopened this Sep 8, 2023
@codecov-commenter
Copy link

codecov-commenter commented Sep 8, 2023

Codecov Report

Merging #44 (53acbb9) into main (8a6cfe2) will not change coverage.
The diff coverage is 50.00%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

@@           Coverage Diff           @@
##             main      #44   +/-   ##
=======================================
  Coverage   71.35%   71.35%           
=======================================
  Files          18       18           
  Lines        2126     2126           
=======================================
  Hits         1517     1517           
  Misses        609      609           
Files Changed Coverage Δ
src/data/demand.jl 70.08% <0.00%> (ø)
src/model.jl 76.76% <ø> (ø)
src/simulate.jl 97.15% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@odow odow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand what's going on exactly. We probably need some tests with scale factors that are not 1?

@odow
Copy link
Collaborator

odow commented Nov 26, 2023

cc @adow031 happy with this?

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

Successfully merging this pull request may close these issues.

3 participants