Skip to content

Commit

Permalink
update units in ashp test
Browse files Browse the repository at this point in the history
  • Loading branch information
zolanaj committed May 25, 2024
1 parent ab0d73c commit 3ea9714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/results/ashp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

function add_ashp_results(m::JuMP.AbstractModel, p::REoptInputs, d::Dict; _n="")
r = Dict{String, Any}()
r["size_ton"] = round(value(m[Symbol("dvSize"*_n)]["ASHP"]) / KWH_PER_MMBTU * 0.012, digits=3)
r["size_ton"] = round(value(m[Symbol("dvSize"*_n)]["ASHP"]) / KWH_THERMAL_PER_TONHOUR, digits=3)
@expression(m, ASHPElectricConsumptionSeries[ts in p.time_steps],
p.hours_per_time_step * sum(m[:dvHeatingProduction][t,q,ts] / p.heating_cop[t][ts]
for q in p.heating_loads, t in p.techs.ashp)
Expand Down

0 comments on commit 3ea9714

Please sign in to comment.