Skip to content

Commit

Permalink
Update src/write_outputs/capacity_reserve_margin/write_capacity_value.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Luca Bonaldo <[email protected]>
  • Loading branch information
cfe316 and lbonaldo authored Nov 28, 2023
1 parent 264258a commit 35431d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function write_capacity_value(path::AbstractString, inputs::Dict, setup::Dict, E

crm_derate(i, y::Vector{Int}) = dfGen[y, Symbol("CapRes_$i")]'
max_power(t::Vector{Int}, y::Vector{Int}) = inputs["pP_Max"][y, t]'
total_cap(resources::Vector{Int}) = eTotalCap[resources]'
total_cap(y::Vector{Int}) = eTotalCap[y]'

Check warning on line 40 in src/write_outputs/capacity_reserve_margin/write_capacity_value.jl

View check run for this annotation

Codecov / codecov/patch

src/write_outputs/capacity_reserve_margin/write_capacity_value.jl#L38-L40

Added lines #L38 - L40 were not covered by tests

dfCapValue = DataFrame()
for i in 1:inputs["NCapacityReserveMargin"]
Expand Down

0 comments on commit 35431d9

Please sign in to comment.