From 0278d444fc7b745c7e0075ba11c9e68e02a7f2fa Mon Sep 17 00:00:00 2001 From: Abel Soares Siqueira Date: Fri, 15 Dec 2023 14:41:59 +0100 Subject: [PATCH] Update EU data with rep-periods-data.csv (#365) --- benchmark/EU/rep-periods-data.csv | 6 +++--- benchmark/EU/rep-periods-mapping.csv | 3 +++ test/runtests.jl | 4 ++++ 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 benchmark/EU/rep-periods-mapping.csv diff --git a/benchmark/EU/rep-periods-data.csv b/benchmark/EU/rep-periods-data.csv index 2faf1275..fe4c2468 100644 --- a/benchmark/EU/rep-periods-data.csv +++ b/benchmark/EU/rep-periods-data.csv @@ -1,3 +1,3 @@ -,hours,,hours -id,weight,num_time_steps,resolution -1,1,8760,1.0 +,,hours +id,num_time_steps,resolution +1,8760,1.0 diff --git a/benchmark/EU/rep-periods-mapping.csv b/benchmark/EU/rep-periods-mapping.csv new file mode 100644 index 00000000..bbced9e4 --- /dev/null +++ b/benchmark/EU/rep-periods-mapping.csv @@ -0,0 +1,3 @@ +,, +period,rep_period,weight +1,1,1.0 diff --git a/test/runtests.jl b/test/runtests.jl index 3822efa5..f5e197cb 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -22,3 +22,7 @@ end include(joinpath(@__DIR__, "..", "benchmark", "benchmarks.jl")) @test SUITE !== nothing end + +@testset "Ensuring EU data can be read" begin + create_graph_and_representative_periods_from_csv_folder(joinpath(@__DIR__, "../benchmark/EU/")) +end