We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1466582 commit bcfd5c2Copy full SHA for bcfd5c2
julia_src/http.jl
@@ -90,6 +90,10 @@ function reopt(req::HTTP.Request)
90
model_inputs = nothing
91
# Catch handled/unhandled exceptions in data pre-processing, JuMP setup
92
try
93
+ # Convert monthly_peaks_kw to Vector{Float64} if present in ElectricLoad
94
+ if haskey(d["ElectricLoad"], "monthly_peaks_kw")
95
+ d["ElectricLoad"]["monthly_peaks_kw"] = convert(Vector{Float64}, d["ElectricLoad"]["monthly_peaks_kw"])
96
+ end
97
model_inputs = reoptjl.REoptInputs(d)
98
@info "Successfully processed REopt inputs."
99
catch e
0 commit comments