Skip to content

Commit

Permalink
Merge pull request #655 from lecfab/cleanCS2
Browse files Browse the repository at this point in the history
cs2: light structural changes, a few plots added
  • Loading branch information
lecfab authored Sep 19, 2024
2 parents 1e4ff83 + 5b41056 commit 940d30f
Show file tree
Hide file tree
Showing 7 changed files with 122 additions and 101 deletions.
2 changes: 1 addition & 1 deletion .buildlibrary
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ValidationKey: '230652226'
ValidationKey: '230815200'
AcceptedWarnings:
- 'Warning: package ''.*'' was built under R version'
- 'Warning: namespace ''.*'' is not available and has been replaced'
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ cff-version: 1.2.0
message: If you use this software, please cite it using the metadata from this file.
type: software
title: 'remind2: The REMIND R package (2nd generation)'
version: 1.154.3
date-released: '2024-09-16'
version: 1.155.0
date-released: '2024-09-18'
abstract: Contains the REMIND-specific routines for data and model output manipulation.
authors:
- family-names: Rodrigues
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Type: Package
Package: remind2
Title: The REMIND R package (2nd generation)
Version: 1.154.3
Date: 2024-09-16
Version: 1.155.0
Date: 2024-09-18
Authors@R: c(
person("Renato", "Rodrigues", , "[email protected]", role = c("aut", "cre")),
person("Lavinia", "Baumstark", role = "aut"),
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The REMIND R package (2nd generation)

R package **remind2**, version **1.154.3**
R package **remind2**, version **1.155.0**

[![CRAN status](https://www.r-pkg.org/badges/version/remind2)](https://cran.r-project.org/package=remind2) [![R build status](https://github.com/pik-piam/remind2/workflows/check/badge.svg)](https://github.com/pik-piam/remind2/actions) [![codecov](https://codecov.io/gh/pik-piam/remind2/branch/master/graph/badge.svg)](https://app.codecov.io/gh/pik-piam/remind2) [![r-universe](https://pik-piam.r-universe.dev/badges/remind2)](https://pik-piam.r-universe.dev/builds)

Expand Down Expand Up @@ -49,7 +49,7 @@ In case of questions / problems please contact Renato Rodrigues <renato.rodrigue

To cite package **remind2** in publications use:

Rodrigues R, Baumstark L, Benke F, Dietrich J, Dirnaichner A, Duerrwaechter J, Führlich P, Giannousakis A, Hasse R, Hilaire J, Klein D, Koch J, Kowalczyk K, Levesque A, Malik A, Merfort A, Merfort L, Morena-Leiva S, Pehl M, Pietzcker R, Rauner S, Richters O, Rottoli M, Schötz C, Schreyer F, Siala K, Sörgel B, Spahr M, Strefler J, Verpoort P, Weigmann P, Rüter T (2024). _remind2: The REMIND R package (2nd generation)_. R package version 1.154.3, <URL: https://github.com/pik-piam/remind2>.
Rodrigues R, Baumstark L, Benke F, Dietrich J, Dirnaichner A, Duerrwaechter J, Führlich P, Giannousakis A, Hasse R, Hilaire J, Klein D, Koch J, Kowalczyk K, Levesque A, Malik A, Merfort A, Merfort L, Morena-Leiva S, Pehl M, Pietzcker R, Rauner S, Richters O, Rottoli M, Schötz C, Schreyer F, Siala K, Sörgel B, Spahr M, Strefler J, Verpoort P, Weigmann P, Rüter T (2024). _remind2: The REMIND R package (2nd generation)_. R package version 1.155.0, <https://github.com/pik-piam/remind2>.

A BibTeX entry for LaTeX users is

Expand All @@ -58,7 +58,7 @@ A BibTeX entry for LaTeX users is
title = {remind2: The REMIND R package (2nd generation)},
author = {Renato Rodrigues and Lavinia Baumstark and Falk Benke and Jan Philipp Dietrich and Alois Dirnaichner and Jakob Duerrwaechter and Pascal Führlich and Anastasis Giannousakis and Robin Hasse and Jérome Hilaire and David Klein and Johannes Koch and Katarzyna Kowalczyk and Antoine Levesque and Aman Malik and Anne Merfort and Leon Merfort and Simón Morena-Leiva and Michaja Pehl and Robert Pietzcker and Sebastian Rauner and Oliver Richters and Marianna Rottoli and Christof Schötz and Felix Schreyer and Kais Siala and Björn Sörgel and Mike Spahr and Jessica Strefler and Philipp Verpoort and Pascal Weigmann and Tonn Rüter},
year = {2024},
note = {R package version 1.154.3},
note = {R package version 1.155.0},
url = {https://github.com/pik-piam/remind2},
}
```
32 changes: 16 additions & 16 deletions inst/compareScenarios/cs_01_summary.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ items <- c(
showAreaAndBarPlots(data, items, tot, scales = "fixed")
```

## GHG by sector
### GHG by sector

```{r GHG by sector (w/ gross emissions, excl. negative emissions from CCS of non-fossil carbon)}
tot <- "Emi|GHG"
Expand Down Expand Up @@ -107,7 +107,7 @@ items <- c(
showAreaAndBarPlots(data, items, scales = "fixed")
```

## FE per capita (by sector, time domain, area plot)
### FE per capita - area plot, time domain

```{r FE per capita (by sector, time domain, area plot)}
items <- c(
Expand All @@ -118,7 +118,7 @@ items <- c(
showAreaAndBarPlots(data, items, tot = "FE pCap", scales = "fixed")
```

## FE per capita (by sector, time domain, line graph)
### FE per capita - line graph, time domain

```{r FE per capita (by sector, time domain, line graph)}
dIea <- data %>%
Expand All @@ -132,7 +132,7 @@ items <- c(
showMultiLinePlots(dIea, items, scales = "fixed")
```

## FE per capita (by sector, GDP)
### FE per capita - line graph, GDP domain

```{r FE per capita (by sector, GDP)}
dIea <- data %>%
Expand Down Expand Up @@ -162,7 +162,7 @@ items <- c(
showAreaAndBarPlots(data, items, orderVars = "user", scales = "fixed")
```

## FE by carrier (detailed)
### FE by carrier (detailed)

```{r FE by carrier (detailed)}
items <- c(
Expand All @@ -187,7 +187,7 @@ items <- c(
showAreaAndBarPlots(data, items, orderVars = "user", scales = "fixed")
```

## FE Industry by carrier (incl. non-energy use)
### FE Industry by carrier (incl. non-energy use)

```{r FE Industry by carrier (incl. non-energy use)}
items <- c(
Expand All @@ -202,7 +202,7 @@ items <- c(
showAreaAndBarPlots(data, items, orderVars = "user", scales = "fixed")
```

## FE Buildings by carrier
### FE Buildings by carrier

```{r FE Buildings by carrier}
items <- c(
Expand All @@ -217,7 +217,7 @@ items <- c(
showAreaAndBarPlots(data, items, orderVars = "user", scales = "fixed")
```

## FE Transport by carrier
### FE Transport by carrier

```{r FE Transport by carrier}
items <- c(
Expand All @@ -230,7 +230,7 @@ items <- c(
showAreaAndBarPlots(data, items, orderVars = "user", scales = "fixed")
```

## FE CDR by carrier
### FE CDR by carrier


```{r FE CDR by carrier}
Expand All @@ -245,14 +245,14 @@ showAreaAndBarPlots(data, items, orderVars = "user", scales = "fixed")
```


## FE Non-energy Use by carrier
### FE Non-energy Use by carrier

```{r FE Non-energy Use by carrier}
items <- c(
"FE|Non-energy Use|Industry|Solids",
"FE|Non-energy Use|Industry|Gases",
"FE|Non-energy Use|Industry|Liquids",
"FE|Non-energy Use|Industry|Gases")
showAreaAndBarPlots(data, items)
"FE|Non-energy Use|Industry|Solids")
showAreaAndBarPlots(data, items, orderVars = "user")
```

## SE Electricity by carrier
Expand All @@ -263,19 +263,19 @@ tot <- "SE|Electricity"
items <- c(
"SE|Electricity|Net Imports",
"SE|Electricity|Hydrogen",
"SE|Electricity|Solar|CSP",
"SE|Electricity|Solar|PV",
"SE|Electricity|Wind|Onshore",
"SE|Electricity|Wind|Offshore",
"SE|Electricity|Hydro",
"SE|Electricity|Hydrogen",
"SE|Electricity|Nuclear",
"SE|Electricity|Geothermal",
"SE|Electricity|Biomass|w/ CC",
"SE|Electricity|Biomass|w/o CC",
"SE|Electricity|Oil",
"SE|Electricity|Gas|w/ CC",
"SE|Electricity|Gas|w/o CC",
"SE|Electricity|Oil",
"SE|Electricity|Coal|w/ CC",
"SE|Electricity|Coal|w/o CC",
NULL)
Expand All @@ -295,8 +295,8 @@ items <- c(
"PE|Nuclear",
"PE|Geothermal",
"PE|Biomass",
"PE|Oil",
"PE|Gas",
"PE|Oil",
"PE|Coal",
NULL)
Expand Down
Loading

0 comments on commit 940d30f

Please sign in to comment.