fix_AUS_bfg | R Documentation |
Australia's Blast furnaces have an undesirable characteristic that leads to singular matrices: From 2013 onward, the production of Blast furnace gas by Blast furnaces is consumed only by Blast furnaces. No other industry or energy production machine consumes Blast furnace gas. In fact, the problem is deeper, starting in 2010, the Iron and steel industry consumes no Blast furnace gas, in apparent contradiction to the IEA's own policies for reporting Blast furnace gas consumption. This function fixes the Blast furnace gas data for Australia for the 2010–2020 timeframe.
fix_AUS_bfg(
.tidy_iea_df,
country = IEATools::iea_cols$country,
year = IEATools::iea_cols$year,
e_dot = IEATools::iea_cols$e_dot
)
.tidy_iea_df |
IEA data frame produced by |
country , year , e_dot |
See |
The fix involves ensuring that the Iron and steel industry always
consumes Blast furnace gas, according to the IEA's assumed efficiency
of 40%.
This function makes use of the Fixed_AUS_bfg
data frame.
.tidy_iea_df
with improved Australia Blast furnace gas.
load_tidy_iea_df() |>
dplyr::filter(Country == "ZAF", Year == 1971) |>
dplyr::mutate(
# Pretend that ZAF is Australia.
Country = "AUS",
# And that 1971 is 2013
Year = 2013
) |>
# This will change Blast furnace gas.
fix_AUS_bfg()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.