-
Notifications
You must be signed in to change notification settings - Fork 4
Hydro heuristic #41
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
Open
Juliette-Gerbaux
wants to merge
54
commits into
main
Choose a base branch
from
hydro_heuristic
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Hydro heuristic #41
Changes from 10 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
947b637
Hydro heuristic on a complex test case
ac42ad6
Another test on hydro heuristic
3dddf92
Api for hydrp heuristic model
1b4da8d
Sort imports
47ad90e
Run isort
fad5974
Formatting
49f06ed
Change hydro model to model
b9852d8
Remove costs from model
9d5a7a4
Factorize code
49bdf53
Unique function to aggregate data
8306753
Move models to lib
0434b5c
Mode functions in tests to src
873a837
Fix ci
1be0f20
Rename tests
e6af454
Class for heuristic model building
ad1c6d1
Class for hydro data
0d73822
Hydro heuristic problem as class
3d55426
Fix ci
2156480
Unique function to compute monthly and daily targets
2374fb1
More tests
2bd37c3
Fix test
614f554
Decompose yearly problem into weekly problems for hydro
b44ce6c
Absolute path for data
ba638cf
New test without inflow
7ad0947
New test
363c92e
Complete test with rule curves
a81560c
Take into account rule curves in complete year
ee70403
New test
30bb910
Fix tests
9d188f8
Fix ci
5a95f03
Fix ci
a6a5037
Refactor and add tests
7f7ae05
Exhibit models
c822259
Refactor compute target
536603e
Fix tests
78c78ac
Fix tests
fad672e
Remove unused imports
38ea51c
New test on small reservoir
5834e6d
Complete test
f447eb1
Fix ci
9edd374
Add test with infeasibilities
1b6cccb
Add description for tests
c489b9a
Change list type hint
06ff7be
Improve data.py
b53a7d7
Better errors in heuristic model
5d60710
Type hint error
232e78b
Small corrections
800bc90
Improve test
6650303
Move data
04bdbbb
Improve data
9dccf80
More explicit names
4f47103
Better workflow
b21f1f0
Fix tests
d74fff3
Fix ci
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
8,760 changes: 8,760 additions & 0 deletions
8,760
tests/functional/data_complex_case/hydro/load.txt
Large diffs are not rendered by default.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,365 @@ | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 900 24 0 24 | ||
| 999 24 0 24 | ||
| 999 24 0 24 | ||
| 999 24 0 24 | ||
| 999 24 0 24 | ||
| 999 24 0 24 | ||
| 999 24 0 24 | ||
| 999 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1041 24 0 24 | ||
| 1035 24 0 24 | ||
| 1035 24 0 24 | ||
| 1035 24 0 24 | ||
| 1035 24 0 24 | ||
| 1035 24 0 24 | ||
| 1035 24 0 24 | ||
| 1035 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 1032 24 0 24 | ||
| 999 24 0 24 | ||
| 999 24 0 24 | ||
| 999 24 0 24 | ||
| 999 24 0 24 | ||
| 999 24 0 24 | ||
| 999 24 0 24 | ||
| 999 24 0 24 | ||
| 984 24 0 24 | ||
| 984 24 0 24 | ||
| 984 24 0 24 | ||
| 984 24 0 24 | ||
| 984 24 0 24 | ||
| 984 24 0 24 | ||
| 984 24 0 24 | ||
| 990 24 0 24 | ||
| 990 24 0 24 | ||
| 990 24 0 24 | ||
| 990 24 0 24 | ||
| 990 24 0 24 | ||
| 990 24 0 24 | ||
| 990 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 1014 24 0 24 | ||
| 954 24 0 24 | ||
| 954 24 0 24 | ||
| 954 24 0 24 | ||
| 954 24 0 24 | ||
| 954 24 0 24 | ||
| 954 24 0 24 | ||
| 954 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 933 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 756 24 0 24 | ||
| 756 24 0 24 | ||
| 756 24 0 24 | ||
| 756 24 0 24 | ||
| 756 24 0 24 | ||
| 756 24 0 24 | ||
| 756 24 0 24 | ||
| 756 24 0 24 | ||
| 756 24 0 24 | ||
| 756 24 0 24 | ||
| 756 24 0 24 | ||
| 756 24 0 24 | ||
| 756 24 0 24 | ||
| 756 24 0 24 | ||
| 669 24 0 24 | ||
| 669 24 0 24 | ||
| 669 24 0 24 | ||
| 669 24 0 24 | ||
| 669 24 0 24 | ||
| 669 24 0 24 | ||
| 669 24 0 24 | ||
| 669 24 0 24 | ||
| 669 24 0 24 | ||
| 669 24 0 24 | ||
| 669 24 0 24 | ||
| 669 24 0 24 | ||
| 669 24 0 24 | ||
| 669 24 0 24 | ||
| 612 24 0 24 | ||
| 612 24 0 24 | ||
| 612 24 0 24 | ||
| 612 24 0 24 | ||
| 612 24 0 24 | ||
| 612 24 0 24 | ||
| 612 24 0 24 | ||
| 708 24 0 24 | ||
| 708 24 0 24 | ||
| 708 24 0 24 | ||
| 708 24 0 24 | ||
| 708 24 0 24 | ||
| 708 24 0 24 | ||
| 708 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 738 24 0 24 | ||
| 609 24 0 24 | ||
| 609 24 0 24 | ||
| 609 24 0 24 | ||
| 609 24 0 24 | ||
| 609 24 0 24 | ||
| 609 24 0 24 | ||
| 609 24 0 24 | ||
| 603 24 0 24 | ||
| 603 24 0 24 | ||
| 603 24 0 24 | ||
| 603 24 0 24 | ||
| 603 24 0 24 | ||
| 603 24 0 24 | ||
| 603 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 693 24 0 24 | ||
| 636 24 0 24 | ||
| 636 24 0 24 | ||
| 636 24 0 24 | ||
| 636 24 0 24 | ||
| 636 24 0 24 | ||
| 636 24 0 24 | ||
| 636 24 0 24 | ||
| 672 24 0 24 | ||
| 672 24 0 24 | ||
| 672 24 0 24 | ||
| 672 24 0 24 | ||
| 672 24 0 24 | ||
| 672 24 0 24 | ||
| 672 24 0 24 | ||
| 672 24 0 24 | ||
| 672 24 0 24 | ||
| 672 24 0 24 | ||
| 672 24 0 24 | ||
| 672 24 0 24 | ||
| 672 24 0 24 | ||
| 672 24 0 24 | ||
| 720 24 0 24 | ||
| 720 24 0 24 | ||
| 720 24 0 24 | ||
| 720 24 0 24 | ||
| 720 24 0 24 | ||
| 720 24 0 24 | ||
| 720 24 0 24 | ||
| 720 24 0 24 | ||
| 720 24 0 24 | ||
| 720 24 0 24 | ||
| 720 24 0 24 | ||
| 720 24 0 24 | ||
| 720 24 0 24 | ||
| 720 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 783 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 822 24 0 24 | ||
| 879 24 0 24 | ||
| 879 24 0 24 | ||
| 879 24 0 24 | ||
| 879 24 0 24 | ||
| 879 24 0 24 | ||
| 879 24 0 24 | ||
| 879 24 0 24 | ||
| 879 24 0 24 | ||
| 879 24 0 24 | ||
| 879 24 0 24 | ||
| 879 24 0 24 | ||
| 879 24 0 24 | ||
| 879 24 0 24 | ||
| 879 24 0 24 | ||
| 906 24 0 24 | ||
| 906 24 0 24 | ||
| 906 24 0 24 | ||
| 906 24 0 24 | ||
| 906 24 0 24 | ||
| 906 24 0 24 | ||
| 906 24 0 24 | ||
| 1002 24 0 24 | ||
| 1002 24 0 24 | ||
| 1002 24 0 24 | ||
| 1002 24 0 24 | ||
| 1002 24 0 24 | ||
| 1002 24 0 24 | ||
| 1002 24 0 24 | ||
| 1002 24 0 24 | ||
| 1002 24 0 24 | ||
| 1002 24 0 24 | ||
| 1002 24 0 24 | ||
| 1002 24 0 24 | ||
| 1002 24 0 24 | ||
| 1002 24 0 24 | ||
| 1002 24 0 24 |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.