CO2 Emissions

SLiDE.partition_co2!Function
partition_co2!(dataset::Dataset, d::Dict, set::Dict, maps::Dict)

This function partitions and calculates CO2 emissions data.

Arguments

  • dataset::Dataset identifier
  • d::Dict of model parameters
  • set::Dict of Arrays describing parameter indices (years, regions, goods, sectors, etc.)
  • maps::Dict of default mapping schematics and constants

Returns

  • d::Dict of model parameters
  • set::Dict of Arrays describing parameter indices (years, regions, goods, sectors, etc.)
source
SLiDE._partition_co2emiss!Function

\[\bar{co_2}_{yr,r,src,sec} \text{ [million metric tons of CO2]} = \dfrac{1}{10^3} \cdot \tilde{eq}_{yr,r,src\neq ele, sec} \text{ [trillion btu]} \cdot f_{src} \text{ [kg CO2/million btu]}\]

source
SLiDE._share_co2emiss!Function

Define:

\[\begin{aligned} \tilde{v}_{yr,r,g=e,s} &= \left\{ \tilde{id}_{yr,r,g,s} \;\vert\; g=e \right\} \\ map_{s\rightarrow sec} &= \left\{ demand(s,src) \;\vert\; [ind,com,trn]\in sec \right\} \end{aligned}\]

Then, use SLiDE.share_with to define $\delta^{co2}_{yr,r,g,s\rightarrow sec}$:

\[\tilde{\delta}^{co2}_{yr,r,g,s\rightarrow sec} = \dfrac {v_{yr,r,g=e,s} \circ map_{s\rightarrow sec}} {\sum_{sec} v_{yr,r,g=e,s} \circ map_{s\rightarrow sec}}\]

source
SLiDE._partition_secco2!Function

For $sec = (ind,com,trn)$, use the sharing parameter $\delta^{co2}_{yr,r,g,s\rightarrow sec}$ calculated by SLiDE._share_co2emiss!.

\[\tilde{co2}_{yr,r,g,s} = \sum_{sec} \left( \tilde{co2}_{yr,r,src\rightarrow g, sec} \cdot \delta^{co2}_{yr,r,g,s\rightarrow sec} \right)\]

Use un-shared values for $sec = (ele,ref)$ (which maps to $s = (ele,oil)$):

\[\tilde{co2}_{yr,r,g,s\neq res} = \tilde{co2}_{yr,r,src\rightarrow g, sec} \circ map_{sec\rightarrow s}\]

source