Skip to content

Commit

Permalink
Merge pull request #363 from NREL/fix-fuel-emissions
Browse files Browse the repository at this point in the history
Fix BAU emissions calc with boiler heating load
  • Loading branch information
Bill-Becker authored Mar 18, 2024
2 parents 1751faf + 19a6065 commit 023d325
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/core/bau_inputs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,10 @@ function setup_bau_emissions_inputs(p::REoptInputs, s_bau::BAUScenario, generato
## Boiler emissions
if "ExistingBoiler" in p.techs.all
for heat_type in ["space_heating", "dhw"]
bau_emissions_lb_CO2_per_year += getproperty(p.s,Symbol("$(heat_type)_load")).annual_mmbtu * p.s.existing_boiler.emissions_factor_lb_CO2_per_mmbtu
# Divide by existing_boiler.efficiency because annual_mmbtu is thermal, so convert to fuel
bau_emissions_lb_CO2_per_year += getproperty(p.s,Symbol("$(heat_type)_load")).annual_mmbtu /
p.s.existing_boiler.efficiency *
p.s.existing_boiler.emissions_factor_lb_CO2_per_mmbtu
end
end

Expand Down

0 comments on commit 023d325

Please sign in to comment.