Skip to content

Commit

Permalink
Add H2 heating
Browse files Browse the repository at this point in the history
  • Loading branch information
robinhasse committed Jun 4, 2024
1 parent 5bb270e commit bfc907f
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .buildlibrary
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ValidationKey: '814793'
ValidationKey: '834876'
AutocreateReadme: yes
AcceptedWarnings:
- 'Warning: package ''.*'' was built under R version'
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: 'reportbrick: Reporting package for BRICK'
version: 0.4.1
date-released: '2024-05-30'
version: 0.4.2
date-released: '2024-06-04'
abstract: This package contains BRICK-specific routines to report model results. The
main functionality is to generate a mif-file from a given BRICK model run folder.
authors:
Expand Down
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Type: Package
Package: reportbrick
Title: Reporting package for BRICK
Version: 0.4.1
Date: 2024-05-30
Version: 0.4.2
Date: 2024-06-04
Authors@R: c(
person("Robin", "Hasse", , "robin.hasse@pik-potsdam.de",
role = c("aut", "cre"),
Expand All @@ -21,7 +21,7 @@ Imports:
knitr,
madrat,
magclass,
mip (>= 0.148.17),
mip (>= 0.148.19),
piamPlotComparison,
piamutils (>= 0.0.9),
purrr,
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Reporting package for BRICK

R package **reportbrick**, version **0.4.1**
R package **reportbrick**, version **0.4.2**

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

Expand Down Expand Up @@ -38,7 +38,7 @@ In case of questions / problems please contact Robin Hasse <robin.hasse@pik-pots

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

Hasse R, Rosemann R (2024). _reportbrick: Reporting package for BRICK_. R package version 0.4.1, <https://github.com/pik-piam/reportbrick>.
Hasse R, Rosemann R (2024). _reportbrick: Reporting package for BRICK_. R package version 0.4.2, <https://github.com/pik-piam/reportbrick>.

A BibTeX entry for LaTeX users is

Expand All @@ -47,7 +47,7 @@ A BibTeX entry for LaTeX users is
title = {reportbrick: Reporting package for BRICK},
author = {Robin Hasse and Ricarda Rosemann},
year = {2024},
note = {R package version 0.4.1},
note = {R package version 0.4.2},
url = {https://github.com/pik-piam/reportbrick},
}
```
2 changes: 2 additions & 0 deletions inst/compareScenarios/preprocessing.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ heating <- c(
"District heating",
"Heat pump",
"Resistive electric",
"Hydrogen heater",
"Gas heater",
"Liquids heater",
"Coal heater"
Expand All @@ -36,6 +37,7 @@ carrier <- c(
"Biomass",
"Heat",
"Electricity",
"Hydrogen",
"Gases",
"Liquids",
"Coal"
Expand Down
10 changes: 6 additions & 4 deletions inst/extdata/sectoral/brickSets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,18 @@ hsr:
dihe: District heating
ehp1: Heat pump
reel: Resistive electric
h2bo: Hydrogen heater
gabo: Gas heater
libo: Liquids heater
sobo: Coal heater
"0": No change
subsets:
all: [biom, dihe, ehp1, reel, gabo, libo, sobo]
all0: [biom, dihe, ehp1, reel, gabo, libo, sobo, "0"]
all: [biom, dihe, ehp1, reel, h2bo, gabo, libo, sobo]
all0: [biom, dihe, ehp1, reel, h2bo, gabo, libo, sobo, "0"]
elec: [ehp1, reel]
child:
hs:
elements: [biom, dihe, ehp1, reel, gabo, libo, sobo]
elements: [biom, dihe, ehp1, reel, h2bo, gabo, libo, sobo]
subsets: [all, elec]


Expand All @@ -44,11 +45,12 @@ carrier:
biomod: Biomass
heat: Heat
elec: Electricity
h2: Hydrogen
gases: Gases
liquids: Liquids
coal: Coal
subsets:
all: [biomod, heat, elec, gases, liquids, coal]
all: [biomod, heat, elec, h2, gases, liquids, coal]
solids: [biomod, coal]


Expand Down

0 comments on commit bfc907f

Please sign in to comment.