Skip to content

Commit

Permalink
corrected hydrogen price, deleting the use of absolute value, which m…
Browse files Browse the repository at this point in the history
…ight hide incorrect results
  • Loading branch information
sosorior committed Aug 5, 2024
1 parent 6f3071e commit 24ad41d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/reportGeneration.R
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ reportGeneration <- function(gdx, output = NULL, reporting_tau = FALSE) {
o_p2x_disc[, t2, ] <- m_p2x_year[, t2, ] / as.numeric(f_npv[getYears(o_p2x_disc) %in% t2]) # [Geur 2010/GWh]
}
}
o_p2x_disc <- abs(o_p2x_disc) # depending on how the constraint is formulated
#o_p2x_disc <- abs(o_p2x_disc) # depending on how the constraint is formulated

tmp4 <- mbind(tmp4, setNames(o_p2x_disc, "Price|Primary Energy|Hydrogen [electrolysis] (Eur2010/MWh)")) # Convert from Geur/GWh to eur/MWh

Expand Down

0 comments on commit 24ad41d

Please sign in to comment.