Skip to content

Commit

Permalink
corrected space_cooling heat
Browse files Browse the repository at this point in the history
  • Loading branch information
hagento committed Jul 27, 2024
1 parent 9fe0562 commit 7de66de
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions R/calcFEbyEUEC.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ calcFEbyEUEC <- function() {
semi_join(sharesEU, by = c("period"))


# remove district space cooling from disaggregation
exclude <- exclude %>%
mutate(enduse = "space_cooling",
carrier = "heat")


#--- Prepare toolDisaggregate Input

# combine the already disaggregated data
Expand Down Expand Up @@ -168,6 +174,22 @@ calcFEbyEUEC <- function() {
select(-"regionAgg"))


# Since the data on district cooling is very sparse and the low global penetration
# of the technology, we assume that all historic cooling demand is covered by
# electricity but assume that district cooling might play a more significant role
# in the future.

dataCorr <- dataFull %>%
select(-"enduse", -"carrier", -"value") %>%
unique() %>%
mutate(enduse = "space_cooling",
carrier = "heat",
value = 0)

dataFull <- rbind(dataCorr, dataFull)




# OUTPUT ---------------------------------------------------------------------

Expand Down

0 comments on commit 7de66de

Please sign in to comment.