Skip to content

Commit

Permalink
Update input_tables with new columns for RepPeriodData and update tiny
Browse files Browse the repository at this point in the history
  • Loading branch information
abelsiqueira committed Oct 25, 2023
1 parent 510cc3b commit 0f34e85
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions src/input_tables.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,6 @@ end
struct RepPeriodData
id::Int # Representative period ID
weight::Float64 # Hours
num_time_steps::Int # Numer of time steps
time_scale::Float64 # Duration of each time steps (hours)
end
4 changes: 2 additions & 2 deletions test/inputs/Norse/rep-periods-data.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
,hours,,
,hours,,hours
id,weight,num_time_steps,time_scale
1,52.1423,168,1
1,52.1423,168,1.0
10 changes: 5 additions & 5 deletions test/inputs/tiny/rep-periods-data.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
,hours
id,weight
1,73.0
2,182.5
3,109.5
,hours,,hours
id,weight,num_time_steps,time_scale
1,73.0,24,1.0
2,182.5,24,1.0
3,109.5,24,1.0

0 comments on commit 0f34e85

Please sign in to comment.