Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add trajectories for incineration rates for plastic waste #449

Merged

Conversation

mellamoSimon
Copy link
Contributor

Adds required functions and a mapping to create an input file with incineration rates for plastic waste, using data from PBL's Steggman et.al.

Copy link
Contributor

@fbenke-pik fbenke-pik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make sure lucode2::buildLibrary() succeeds and the version is incremented. This should also include fixing remaining linter warnings.

@0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q
Copy link
Member

0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q commented Nov 23, 2023

                         `Plastics|Waste|Total`
                         ",
       units = "fraction", only.new = TRUE
-      ) %>%
-      # remove unused dimensions
-    select(c(-model,-scenario,-variable,-unit)) %>%
-    interpolate_missing_periods(seq(2050,2060,5),method = "linear")
+    ) %>%
+    # remove unused dimensions
+    select(-"model", -"scenario", -"variable", -"unit") %>%
+    interpolate_missing_periods(seq(2050, 2060, 5), method = "linear")
 
   # as magpie
   x <- as.magpie(incinerationShares)

@mellamoSimon
Copy link
Contributor Author

thank you!

@fbenke-pik fbenke-pik self-requested a review November 23, 2023 11:23
@mellamoSimon mellamoSimon merged commit 6e59361 into pik-piam:master Nov 23, 2023
1 check passed
@mellamoSimon mellamoSimon deleted the add-incineration-trajectories branch November 23, 2023 11:40
@mellamoSimon mellamoSimon added the Chemicals Collection of PRs relevant for our new colleague modeling the chemical industry label Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chemicals Collection of PRs relevant for our new colleague modeling the chemical industry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants