Skip to content

Commit b2d0598

Browse files
committed
fix steam turbine to TES results
1 parent 4f9315b commit b2d0598

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/results/steam_turbine.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ function add_steam_turbine_results(m::JuMP.AbstractModel, p::REoptInputs, d::Dic
8080
@expression(m, SteamTurbineToHighTempTESByQualityKW[q in p.heating_loads, ts in p.time_steps], 0.0)
8181
@expression(m, SteamTurbineToHighTempTESKW[ts in p.time_steps], 0.0)
8282
end
83-
r["thermal_to_storage_series_mmbtu_per_hour"] = round.(value.(SteamTurbinetoHotTESKW) ./ KWH_PER_MMBTU, digits=5)
83+
r["thermal_to_storage_series_mmbtu_per_hour"] = round.(value.(SteamTurbineToHotTESKW) ./ KWH_PER_MMBTU, digits=5)
8484
r["thermal_to_high_temp_thermal_storage_series_mmbtu_per_hour"] = round.(value.(m[:SteamTurbineToHighTempTESKW]) ./ KWH_PER_MMBTU, digits=5)
8585

8686
@expression(m, SteamTurbineThermalToLoadKW[ts in p.time_steps],
87-
sum(m[Symbol("dvHeatingProduction"*_n)][t,q,ts] for t in p.techs.steam_turbine, q in p.heating_loads) - SteamTurbinetoHotTESKW[ts])
87+
sum(m[Symbol("dvHeatingProduction"*_n)][t,q,ts] for t in p.techs.steam_turbine, q in p.heating_loads) - SteamTurbineToHotTESKW[ts] - SteamTurbineToHighTempTESKW[ts])
8888
r["thermal_to_load_series_mmbtu_per_hour"] = round.(value.(SteamTurbineThermalToLoadKW) ./ KWH_PER_MMBTU, digits=5)
8989

9090
if "DomesticHotWater" in p.heating_loads && p.s.steam_turbine.can_serve_dhw

0 commit comments

Comments
 (0)