Skip to content

Commit

Permalink
vpl_cpi plotting data file name update
Browse files Browse the repository at this point in the history
  • Loading branch information
prakaa committed Jul 9, 2024
1 parent ccd3435 commit fbf63bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plotting/plot_vpl_vpi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ end
function plot_value_of_lookahead_and_information_across_formulations(
data_path::String, save_path::String
)
data_file = [f for f in readdir(data_path) if f == "vpl_vpi.jld2"][]
data_file = [f for f in readdir(data_path) if f == "ddm_vpl_vpi.jld2"][]
all_data = load(joinpath(data_path, data_file))
for (state, value) in pairs(all_data)
energy = round(Int, unique(value.energy_capacity)[])
Expand Down Expand Up @@ -156,7 +156,7 @@ end
function plot_value_of_lookahead_and_information_for_each_formulation(
data_path::String, save_path::String
)
data_file = [f for f in readdir(data_path) if f == "vpl_vpi.jld2"][]
data_file = [f for f in readdir(data_path) if f == "ddm_vpl_vpi.jld2"][]
all_data = load(joinpath(data_path, data_file))
scale = identity
for (state, value) in pairs(all_data)
Expand Down

0 comments on commit fbf63bc

Please sign in to comment.