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

Hydro heuristic #41

Open
wants to merge 54 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
Jun 19, 2024
ac42ad6
Another test on hydro heuristic
Jun 21, 2024
3dddf92
Api for hydrp heuristic model
Jun 21, 2024
1b4da8d
Sort imports
Jun 24, 2024
47ad90e
Run isort
Jun 24, 2024
fad5974
Formatting
Jun 24, 2024
49f06ed
Change hydro model to model
Jun 24, 2024
b9852d8
Remove costs from model
Jun 24, 2024
9d5a7a4
Factorize code
Jun 24, 2024
49bdf53
Unique function to aggregate data
Jun 24, 2024
8306753
Move models to lib
Jun 27, 2024
0434b5c
Mode functions in tests to src
Jun 27, 2024
873a837
Fix ci
Jun 28, 2024
1be0f20
Rename tests
Jun 28, 2024
e6af454
Class for heuristic model building
Jun 28, 2024
ad1c6d1
Class for hydro data
Jun 28, 2024
0d73822
Hydro heuristic problem as class
Jun 28, 2024
3d55426
Fix ci
Jun 28, 2024
2156480
Unique function to compute monthly and daily targets
Jul 1, 2024
2374fb1
More tests
Jul 1, 2024
2bd37c3
Fix test
Jul 1, 2024
614f554
Decompose yearly problem into weekly problems for hydro
Jul 2, 2024
b44ce6c
Absolute path for data
Jul 8, 2024
ba638cf
New test without inflow
Jul 9, 2024
7ad0947
New test
Jul 9, 2024
363c92e
Complete test with rule curves
Jul 12, 2024
a81560c
Take into account rule curves in complete year
Jul 12, 2024
ee70403
New test
Jul 12, 2024
30bb910
Fix tests
Jul 12, 2024
9d188f8
Fix ci
Jul 12, 2024
5a95f03
Fix ci
Jul 12, 2024
a6a5037
Refactor and add tests
Jul 31, 2024
7f7ae05
Exhibit models
Aug 1, 2024
c822259
Refactor compute target
Aug 5, 2024
536603e
Fix tests
Aug 5, 2024
78c78ac
Fix tests
Aug 5, 2024
fad672e
Remove unused imports
Aug 5, 2024
38ea51c
New test on small reservoir
Aug 6, 2024
5834e6d
Complete test
Aug 6, 2024
f447eb1
Fix ci
Aug 6, 2024
9edd374
Add test with infeasibilities
Aug 9, 2024
1b6cccb
Add description for tests
Aug 9, 2024
c489b9a
Change list type hint
Aug 20, 2024
06ff7be
Improve data.py
Aug 20, 2024
b53a7d7
Better errors in heuristic model
Aug 20, 2024
5d60710
Type hint error
Aug 20, 2024
232e78b
Small corrections
Aug 20, 2024
800bc90
Improve test
Aug 20, 2024
6650303
Move data
Aug 20, 2024
04bdbbb
Improve data
Aug 21, 2024
9dccf80
More explicit names
Aug 21, 2024
4f47103
Better workflow
Aug 23, 2024
b21f1f0
Fix tests
Aug 23, 2024
d74fff3
Fix ci
Aug 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8,760 changes: 8,760 additions & 0 deletions tests/functional/data_complex_case/hydro/load.txt
Juliette-Gerbaux marked this conversation as resolved.
Show resolved Hide resolved

Large diffs are not rendered by default.

365 changes: 365 additions & 0 deletions tests/functional/data_complex_case/hydro/maxpower.txt
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
Loading
Loading