Skip to content

Commit

Permalink
Fix DimensionMismatch error (#588)
Browse files Browse the repository at this point in the history
This is a followup to #585, to fix a previously un-tested bug.
  • Loading branch information
cfe316 authored Nov 29, 2023
1 parent 1033fff commit d1c6fa0
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)

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

Expand Down

0 comments on commit d1c6fa0

Please sign in to comment.