vignettes/policy_analysis.Rmd
policy_analysis.Rmd
The United States’s Nationally Determined Contribution (NDC) to the 2015 Paris climate accord committed to reducing greenhouse gas emissions to 26–28% below 2005 levels by 2025 and with a longer-term target of reducing emissions to 80% below 2005 levels by 2050 (United States of America 2015).1 This vignette will compare what these goals imply for rates of improving energy efficiency and transitioning from fossil fuels to clean energy sources. The methods will follow Roger Pielke, Jr.’s approach for both bottom-up and top-down analysis (Pielke 2009b, 2009a, 2010, 2011).
Pielke’s analysis rely on the Kaya identity: where
Pielke begins his bottom-up analysis by examining projections of future population and per-capita GDP. In this vignette, I develop those projections not from demographic and economic models, but simply by extrapolating from recent trends.
Begin by loading historical values of the Kaya identity parameters for the United States:
suppressPackageStartupMessages({
library(magrittr)
library(dplyr)
library(stringr)
library(tidyr)
library(purrr)
library(broom)
library(knitr)
library(scales)
library(kayadata)
})
kaya <- get_kaya_data("United States")
Let’s start by looking at trends in P, g, e, and f starting in 1990. I plot these with a log-scale on the y-axis because a constant growth rate produces exponential growth, so it should look linear on a semi-log plot.
plot_kaya(kaya, "P", log_scale = TRUE, start_year = 1990, trend_line = TRUE,
points = FALSE) +
theme_bw()
#> Warning: No shared levels found between `names(values)` of the manual scale and the
#> data's size values.
#> No shared levels found between `names(values)` of the manual scale and the
#> data's size values.
plot_kaya(kaya, "g", log_scale = TRUE, start_year = 1990, trend_line = TRUE,
points = FALSE) +
theme_bw()
#> Warning: No shared levels found between `names(values)` of the manual scale and the
#> data's size values.
#> No shared levels found between `names(values)` of the manual scale and the
#> data's size values.
plot_kaya(kaya, "e", log_scale = TRUE, start_year = 1990, trend_line = TRUE,
points = FALSE) +
theme_bw()
#> Warning: No shared levels found between `names(values)` of the manual scale and the
#> data's size values.
#> No shared levels found between `names(values)` of the manual scale and the
#> data's size values.
plot_kaya(kaya, "f", log_scale = TRUE, start_year = 1990, trend_line = TRUE,
points = FALSE) +
theme_bw()
#> Warning: No shared levels found between `names(values)` of the manual scale and the
#> data's size values.
#> No shared levels found between `names(values)` of the manual scale and the
#> data's size values.
All of these trends look reasonable, except for f. Let’s try f again, but fitting the trend only since 2005:
plot_kaya(kaya, "f", log_scale = TRUE, start_year = 2005, trend_line = TRUE,
points = FALSE) +
theme_bw()
#> Warning: No shared levels found between `names(values)` of the manual scale and the
#> data's size values.
#> No shared levels found between `names(values)` of the manual scale and the
#> data's size values.
That looks better. The abrupt changes in trend at 1990 and again at 2005 illustrate the difficulties of predicting future values by extrapolating from past trends, and indicates that the extrapolations we will use here should be taken with several grains of salt.
Now let’s calculate the historical trends:
vars <- c("P", "g", "e", "f")
historical_trends <- map_dbl(vars,
~kaya %>%
gather(key = variable, value = value, -region, -year) %>%
filter(variable == .x,
year >= ifelse(.x == "f", 2005, 1990)) %>%
lm(log(value) ~ year, data = .) %>% tidy() %>%
filter(term == "year") %$% estimate
) %>% set_names(vars)
tibble(Variable = names(historical_trends),
Rate = map_chr(historical_trends, ~percent(.x, 0.01))) %>%
kable(align = c("c", "r"))
Variable | Rate |
---|---|
P | 0.89% |
g | 1.48% |
e | -2.08% |
f | -1.20% |
Next, calculate the implied rate of change of F under the policy. This is not an extrapolation from history, but a pure implication of the policy goals: From the Kaya identity, , so the rates of change are .
ref_year <- 2005
target_years <- c(2025, 2050)
target_reduction <- c(0.26, 0.80)
F_ref <- kaya %>% filter(year == ref_year) %$% F
F_target <- tibble(year = target_years, F = F_ref * (1 - target_reduction)) %>%
mutate(implied_rate = log(F / F_ref) / (year - ref_year))
F_target %>%
mutate(implied_rate = map_chr(implied_rate, ~percent(.x, 0.01))) %>%
rename("Target F" = F, "Implied Rate" = implied_rate) %>%
kable(align = c("crr"), digits = 0)
year | Target F | Implied Rate |
---|---|---|
2025 | 4347 | -1.51% |
2050 | 1175 | -3.58% |
For the bottom-up analysis of decarbonization, I will use , the implied rate of decarbonization of the economy, conditional on future economic growth following the historical trend. This is expressed in the equation , where is the rate of emissions-reduction implied by the policy (see above) and is the historical growth rate of GDP:
implied_decarb_rates <- F_target %>%
transmute(year, impl_F = implied_rate,
hist_G = historical_trends['P'] + historical_trends['g'],
hist_ef = historical_trends['e'] + historical_trends['f'],
impl_ef = impl_F - hist_G)
implied_decarb_rates %>%
mutate_at(vars(starts_with("hist_"), starts_with("impl_")),
list(~map_chr(., ~percent(.x, 0.01)))) %>%
select(Year = year,
"implied F" = impl_F,
"historical G" = hist_G,
"implied ef" = impl_ef,
"historical ef" = hist_ef
) %>%
kable(align="rrrrr")
Year | implied F | historical G | implied ef | historical ef |
---|---|---|---|---|
2025 | -1.51% | 2.37% | -3.88% | -3.28% |
2050 | -3.58% | 2.37% | -5.95% | -3.28% |
The top-down analysis is very similar to the bottom-up analysis, but instead of looking at the elements of the Kaya identity individually, we use predictions from macroeconomic integrated assessment models that consider interactions between population, GDP, and energy use to predict future energy demand:
top_down_trends <- get_top_down_trends("United States")
top_down_trends %>% select(P, G, E) %>%
mutate_all(list(~map_chr(., ~percent(.x, 0.01)))) %>%
rename("P trend" = P, "G trend" = G, "E trend" = E) %>%
kable(align="rrr")
P trend | G trend | E trend |
---|---|---|
0.50% | 1.90% | 0.20% |
In the bottom-up analysis, we calculated the implied rate of decarbonizing the economy by comparing the rate of emissions reduction implied by the policy () to the predicted rate of change of GDP (). Here, in the top-down analysis, we calculate the implied rate of decarbonizing the energy supply () by comparing the rate of emissions-reduction implied by policy () to the predicted rate of growth of energy demand (): , so , which we rearrange to find that .
implied_decarb_rates_top_down <- F_target %>%
transmute(year, impl_F = implied_rate,
top_down_E = top_down_trends$E,
hist_f = historical_trends['f'],
impl_f = impl_F - top_down_E)
implied_decarb_rates_top_down %>%
mutate_at(vars(starts_with("hist_"), starts_with("impl_"),
starts_with("top_down")),
list(~map_chr(., ~percent(.x, 0.01)))) %>%
select(Year = year,
"implied F" = impl_F,
"top-down E" = top_down_E,
"implied f" = impl_f,
"historical f" = hist_f
) %>%
kable(align="rrrrr")
Year | implied F | top-down E | implied f | historical f |
---|---|---|---|---|
2025 | -1.51% | 0.20% | -1.71% | -1.20% |
2050 | -3.58% | 0.20% | -3.78% | -1.20% |