Skip to content

Commit

Permalink
Update thermal_storage.jl
Browse files Browse the repository at this point in the history
changed add_hot_storage_results to overide get_kwh_per_gal
  • Loading branch information
jgifford914 authored Oct 8, 2024
1 parent 151b102 commit 085f069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/results/thermal_storage.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function add_hot_storage_results(m::JuMP.AbstractModel, p::REoptInputs, d::Dict,
# Adds the `HotThermalStorage` results to the dictionary passed back from `run_reopt` using the solved model `m` and the `REoptInputs` for node `_n`.
# Note: the node number is an empty string if evaluating a single `Site`.

kwh_per_gal = get_kwh_per_gal(p.s.storage.attr[b].hot_water_temp_degF,
kwh_per_gal = 1.0 #get_kwh_per_gal(p.s.storage.attr[b].hot_water_temp_degF,
p.s.storage.attr[b].cool_water_temp_degF)

r = Dict{String, Any}()
Expand Down Expand Up @@ -131,4 +131,4 @@ function add_cold_storage_results(m::JuMP.AbstractModel, p::MPCInputs, d::Dict,

d[b] = r
nothing
end
end

0 comments on commit 085f069

Please sign in to comment.