EnergyInnovation / eps-us

Energy Policy Simulator - United States
GNU General Public License v3.0
22 stars 7 forks source link

Issue with Industry - CO2 Emissions by Source Type graph #262

Closed mkmahajan closed 1 year ago

mkmahajan commented 1 year ago

From Jeff:

Here’s another small issue I ran into when working on my industry scenario.

These two data series should have the same values, but they do not (even in the BAU case):

Category: Industry: CO2e Emissions Graph: Process Emissions by Pollutant Data series: CO2

Category: Industry: CO2e Emissions Graph: CO2 Emissions by Source Type Data series: Process Emissions

Similarly, these two data series should have the same values, but they do not (even in the BAU case):

Category: Industry: CO2e Emissions Graph: Energy-Related Emissions by Pollutant Data series: CO2

Category: Industry: CO2e Emissions Graph: CO2 Emissions by Source Type Data series: Energy-Related Emissions

The graphs “Process CO2 Emissions by Industry” and “Energy-Related CO2 Emissions by Industry” (summed across industries) agree with the “Process Emissions by Pollutant” and “Energy-Related Emissions by Pollutant” graphs (both of which are long-standing EPS graphs). Therefore, I think the problem is likely in the way the equations were set up for the new “CO2 Emissions by Source Type” graph. Since we already calculated CO2 from process emissions and CO2 from energy-related emissions, we don’t need to recalculate it for the new graph, and we can simply pull it from the two variables we used to make the “Process Emissions by Pollutant” and “Energy-Related Emissions by Pollutant” graphs. This is easy and should ensure there are no mismatches between these graphs. 😊