library(r2dii.data)
library(r2dii.analysis)

Scenario Fair Shares

Scenario efforts must be allocated to the portfolio’s production profile. To do this, two principles are currently implemented:

  1. Technology Fair Share:

\[p_{i}^{tfsr}(t) = p_{i}(t_0) * \dfrac{s_i(t)}{s_i(t_0)}\]

where:

  • \(s_i(t)\) is the scenario production for technology \(i\) at time \(t\),
  • \(p_{i}(t_0)\) is the production allocated to the portfolio for some technology, \(i\) at time \(t_0\), and
  • \(p_{i}^{tfsr}(t)\) is the portfolio-specific target production for that technology.

We define the “Technology Fair Share Ratio” as:

\[\dfrac{s_i(t)}{s_i(t_0)}\]

  1. Market Fair Share:

\[p_{i}^{mfsp}(t) = p_{i}(t_0) +P(t_0) * \left( \dfrac{s_i(t)-s_i(t_0)}{S(t_0)}\right)\] where:

  • \(P_i(t_0)\) is the portfolio’s total production in the sector at \(t_0\), and
  • \(S(t_0)\) is the scenario total production at \(t_0\).

We define the “Market Fair Share Percentage” as:

\[\dfrac{s_i(t)-s_i(t_0)}{S(t_0)}\]

Calculation

These fair shares are pre-calculated, and can be seen by calling:

r2dii.data::scenario_demo_2020
#> # A tibble: 1,323 x 8
#>    scenario sector     technology region  year  tmsr    smsp scenario_source
#>    <chr>    <chr>      <chr>      <chr>  <int> <dbl>   <dbl> <chr>          
#>  1 cps      automotive electric   global  2020  1    0       demo_2020      
#>  2 cps      automotive hybrid     global  2020  1    0       demo_2020      
#>  3 cps      automotive ice        global  2020  1    0       demo_2020      
#>  4 cps      automotive electric   global  2021  1.12 0.00108 demo_2020      
#>  5 cps      automotive hybrid     global  2021  1.12 0.0165  demo_2020      
#>  6 cps      automotive ice        global  2021  1.02 0.0188  demo_2020      
#>  7 cps      automotive electric   global  2022  1.24 0.00213 demo_2020      
#>  8 cps      automotive hybrid     global  2022  1.24 0.0326  demo_2020      
#>  9 cps      automotive ice        global  2022  1.04 0.0378  demo_2020      
#> 10 cps      automotive electric   global  2023  1.35 0.00316 demo_2020      
#> # … with 1,313 more rows