Skip to content

Commit

Permalink
Allow the case where not all participants have offtake, injection or …
Browse files Browse the repository at this point in the history
…a key
  • Loading branch information
JrtPec committed Jul 19, 2024
1 parent 9061782 commit 937b0a1
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 271 deletions.
2 changes: 1 addition & 1 deletion data/energiedelen/sample_input.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"grossInjection":{"index":["2024-01-01T12:00:00+01:00","2024-01-01T12:15:00+01:00","2024-01-01T12:30:00+01:00","2024-01-01T12:45:00+01:00"],"columns":["P1","P2","P3","P4","P5","P6"],"data":[[70.0,10.0,20.0,0.0,0.0,0.0],[20.0,10.0,30.0,0.0,0.0,0.0],[100.0,10.0,40.0,0.0,0.0,0.0],[0.0,10.0,50.0,0.0,0.0,0.0]]},"grossOfftake":{"index":["2024-01-01T12:00:00+01:00","2024-01-01T12:15:00+01:00","2024-01-01T12:30:00+01:00","2024-01-01T12:45:00+01:00"],"columns":["P1","P2","P3","P4","P5","P6"],"data":[[0.0,30.0,22.0,30.0,18.0,20.0],[0.0,20.0,20.0,25.0,17.0,22.0],[0.0,10.0,30.0,35.0,19.0,24.0],[0.0,0.0,40.0,10.0,25.0,26.0]]},"key":{"index":["2024-01-01T12:00:00+01:00","2024-01-01T12:15:00+01:00","2024-01-01T12:30:00+01:00","2024-01-01T12:45:00+01:00"],"columns":["P1","P2","P3","P4","P5","P6"],"data":[[0.0,0.1,0.225,0.225,0.225,0.225],[0.0,0.1,0.225,0.225,0.225,0.225],[0.0,0.1,0.225,0.225,0.225,0.225],[0.0,0.1,0.225,0.225,0.225,0.225]]}}
{"grossInjection":{"index":["2024-01-01T12:00:00+01:00","2024-01-01T12:15:00+01:00","2024-01-01T12:30:00+01:00","2024-01-01T12:45:00+01:00"],"columns":["P1","P2","P3"],"data":[[70.0,10.0,20.0],[20.0,10.0,30.0],[100.0,10.0,40.0],[0.0,10.0,50.0]]},"grossOfftake":{"index":["2024-01-01T12:00:00+01:00","2024-01-01T12:15:00+01:00","2024-01-01T12:30:00+01:00","2024-01-01T12:45:00+01:00"],"columns":["P2","P3","P4","P5","P6"],"data":[[30.0,22.0,30.0,18.0,20.0],[20.0,20.0,25.0,17.0,22.0],[10.0,30.0,35.0,19.0,24.0],[0.0,40.0,10.0,25.0,26.0]]},"key":{"index":["2024-01-01T12:00:00+01:00","2024-01-01T12:15:00+01:00","2024-01-01T12:30:00+01:00","2024-01-01T12:45:00+01:00"],"columns":["P2","P3","P4","P5","P6"],"data":[[0.1,0.225,0.225,0.225,0.225],[0.1,0.225,0.225,0.225,0.225],[0.1,0.225,0.225,0.225,0.225],[0.1,0.225,0.225,0.225,0.225]]}}
Loading

0 comments on commit 937b0a1

Please sign in to comment.