From 8de155c4269dfaa66f66301d8e460723c21cb752 Mon Sep 17 00:00:00 2001 From: 0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q <pehl@pik-potsdam.de> Date: Wed, 5 Feb 2020 14:21:01 +0100 Subject: [PATCH] fix typo from ebab344b - summing over vm_prodFE with se2fe tuples lead to division by zero --- modules/37_industry/fixed_shares/postsolve.gms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/37_industry/fixed_shares/postsolve.gms b/modules/37_industry/fixed_shares/postsolve.gms index b679e6e..314d19e 100644 --- a/modules/37_industry/fixed_shares/postsolve.gms +++ b/modules/37_industry/fixed_shares/postsolve.gms @@ -20,7 +20,7 @@ loop (enty$( sameas(enty,"co2") OR sameas(enty,"cco2") ), !! share of SE in FE production * ( vm_prodFE.l(ttot,regi,entySE,entyFE,te2) / sum(se2fe2(entySE2,entyFE,te3), - vm_prodSE.l(ttot,regi,entySE2,entyFE,te3) + vm_prodFE.l(ttot,regi,entySE2,entyFE,te3) ) ) ) -- GitLab