Skip to content

Commit

Permalink
Update src/multi_stage/configure_multi_stage_inputs.jl
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
lbonaldo and github-actions[bot] authored Apr 4, 2024
1 parent 6c2669d commit f4e6ebc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/multi_stage/configure_multi_stage_inputs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ NOTE: The inv\_costs\_yr and crp arrays must be the same length; values with the
returns: array object containing overnight capital costs, the discounted sum of annual investment costs incured within the model horizon.
"""
function compute_overnight_capital_cost(settings_d::Dict,
inv_costs_yr::Array,
crp::Array,
tech_wacc::Array)
inv_costs_yr::Array,
crp::Array,
tech_wacc::Array)

# Check for resources with non-zero investment costs and a Capital_Recovery_Period value of 0 years
if any((crp .== 0) .& (inv_costs_yr .> 0))
Expand Down

0 comments on commit f4e6ebc

Please sign in to comment.