Skip to content

Commit

Permalink
Remove unneeded check when loading fuel data (GenXProject#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
cfe316 authored Oct 3, 2023
1 parent 580cf15 commit 654509c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/load_inputs/load_fuels_data.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@ function load_fuels_data!(setup::Dict, path::AbstractString, inputs::Dict)
filename = "Fuels_data.csv"
fuels_in = load_dataframe(joinpath(my_dir, filename))

existing_fuels = names(fuels_in)
for nonfuel in ("None",)
if nonfuel existing_fuels
ensure_column!(fuels_in, nonfuel, 0.0)
end
ensure_column!(fuels_in, nonfuel, 0.0)
end

# Fuel costs & CO2 emissions rate for each fuel type
Expand Down

0 comments on commit 654509c

Please sign in to comment.