Skip to content

Commit

Permalink
Fix DimensionMismatch error
Browse files Browse the repository at this point in the history
  • Loading branch information
cfe316 committed Nov 29, 2023
1 parent 1033fff commit ae751c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function write_capacity_value(path::AbstractString, inputs::Dict, setup::Dict, E

power(y::Vector{Int}) = value.(EP[:vP][y, riskyhour])'

capvalue[riskyhour, THERM_ALL_EX] = crm_derate(i, THERM_ALL_EX)
capvalue[riskyhour, THERM_ALL_EX] .= crm_derate(i, THERM_ALL_EX)

Check warning on line 51 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#L51

Added line #L51 was not covered by tests

capvalue[riskyhour, VRE_EX] = crm_derate(i, VRE_EX) .* max_power(riskyhour, VRE_EX)

Expand Down

0 comments on commit ae751c2

Please sign in to comment.