Fix Australia Blast furnace gas for 2010–2020
fix_AUS_bfg.Rd
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.
Arguments
- .tidy_iea_df
IEA data frame produced by
load_tidy_iea_df()
.- country, year, e_dot
See
IEATools::iea_cols
.
Details
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.
Examples
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()
#> # A tibble: 99 × 11
#> Country Method EnergyType LastStage Year LedgerSide FlowAggregationPoint
#> <chr> <chr> <chr> <chr> <dbl> <chr> <chr>
#> 1 AUS PCM E Final 2013 Supply Total primary energy su…
#> 2 AUS PCM E Final 2013 Supply Total primary energy su…
#> 3 AUS PCM E Final 2013 Supply Total primary energy su…
#> 4 AUS PCM E Final 2013 Supply Total primary energy su…
#> 5 AUS PCM E Final 2013 Supply Total primary energy su…
#> 6 AUS PCM E Final 2013 Supply Total primary energy su…
#> 7 AUS PCM E Final 2013 Supply Total primary energy su…
#> 8 AUS PCM E Final 2013 Supply Total primary energy su…
#> 9 AUS PCM E Final 2013 Supply Total primary energy su…
#> 10 AUS PCM E Final 2013 Supply Total primary energy su…
#> # ℹ 89 more rows
#> # ℹ 4 more variables: Flow <chr>, Product <chr>, Unit <chr>, Edot <dbl>