You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.
For MeinFairMögen, we would like to apply the SDA function which lies within 0_sda_approach.R. The function runs without errors, however, after a visual inspection, the outputs seem to be suspicious/wrong.
The bug is that the function should only change the "slope" of scen_sec_emissions_factor over the years but not the "intercept", hence the values in the start year for scen_sec_emissions_factor and plan_sec_emissions_factor should still be exactly the same.
Example visualization:
Outputs before applying the SDA:
Outputs after applying the SDA:
Actual desired output of the SDA (black line, just as an example):
Open questions:
As the emission factors for grinding are missing, the scen_emission_factor is 0 and therefore is probably skewing the scen_sec_emissions_factors for cement. The results is that scen_sec_emissions_factors and plan_sec_emissions_factors are not the same in the start year, which then also affects the scenario pathway over the next years.
Urgency:
Not urgent at the moment, but for MeinFairMögen we need a working function by mid May.
Cement has an additional issue to the SDA function, existing already in the trajectory target. Most likely driven by differences in technology scope, i.e., the inclusion of grinding in the target calculation
For MeinFairMögen, we would like to apply the SDA function which lies within
0_sda_approach.R
. The function runs without errors, however, after a visual inspection, the outputs seem to be suspicious/wrong.The bug is that the function should only change the "slope" of
scen_sec_emissions_factor
over the years but not the "intercept", hence the values in the start year forscen_sec_emissions_factor
andplan_sec_emissions_factor
should still be exactly the same.Example visualization:
Outputs before applying the SDA:
Outputs after applying the SDA:
Actual desired output of the SDA (black line, just as an example):
Open questions:
As the emission factors for grinding are missing, the
scen_emission_factor
is 0 and therefore is probably skewing thescen_sec_emissions_factors
for cement. The results is thatscen_sec_emissions_factors
andplan_sec_emissions_factors
are not the same in the start year, which then also affects the scenario pathway over the next years.Urgency:
Not urgent at the moment, but for MeinFairMögen we need a working function by mid May.
Reprex:
The text was updated successfully, but these errors were encountered: