Skip to content

Commit

Permalink
Update financial.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
adfarth committed Nov 15, 2024
1 parent c2353fb commit 42be276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/results/financial.jl
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ function get_depreciation_schedule(p::REoptInputs, tech::Union{AbstractTech,Abst

federal_itc_fraction = 0.0
try
federal_itc_fraction = tech.federal_itc_fraction
federal_itc_fraction = tech.federal_itc_fraction # TODO: also check for total_itc_fraction as storage does not use federal_itc_fraction?
catch
@warn "Did not find $(tech).federal_itc_fraction so using 0.0 in calculation of depreciation_schedule."
end
Expand Down

0 comments on commit 42be276

Please sign in to comment.