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 H2 heating #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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