From ba11e20ea64cf7092a12ce234e88b4cf439c2505 Mon Sep 17 00:00:00 2001
From: Marianna Rottoli <rottoli@pik-potsdam.de>
Date: Mon, 9 Mar 2020 17:47:49 +0100
Subject: [PATCH] Bugfix: EDGE iterative manages correctly the demand from
 Hybrid Electric vehicles.

---
 scripts/iterative/EDGE_transport.R | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/iterative/EDGE_transport.R b/scripts/iterative/EDGE_transport.R
index 1a7f4d3..19d7921 100644
--- a/scripts/iterative/EDGE_transport.R
+++ b/scripts/iterative/EDGE_transport.R
@@ -211,7 +211,7 @@ shares_int_dem <- shares_intensity_and_demand(
 
 demByTech <- shares_int_dem[["demand"]] ##in [-]
 intensity <- shares_int_dem[["demandI"]] ##in million pkm/EJ
-norm_demand <- shares_int_dem[["demandF_plot_pkm"]] ## total demand is 1, required for costs
+norm_demand <- shares_int_dem[["demandF_plot_EJ"]] ## total demand is 1, required for costs
 
 
 if (opt$reporting) {
-- 
GitLab