From 2e02c8366e184f08711beb669a2bb9da3e1adb83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20H=C3=B6rsch?= Date: Mon, 18 Feb 2019 00:43:09 +0100 Subject: [PATCH] fixup! add_electricity: add CCGT to extendable generators --- scripts/add_electricity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/add_electricity.py b/scripts/add_electricity.py index dcccfe17..13e8bf5d 100644 --- a/scripts/add_electricity.py +++ b/scripts/add_electricity.py @@ -339,7 +339,7 @@ def attach_extendable_generators(n, costs, ppl): if suptech == 'OCGT': ocgt = ppl.loc[ppl.Fueltype.isin(('OCGT', 'CCGT'))].groupby('bus', as_index=False).first() n.madd('Generator', ocgt.index, - suffix=' OCGT' + suffix=' OCGT', bus=ocgt['bus'], carrier=tech, p_nom_extendable=True, @@ -351,7 +351,7 @@ def attach_extendable_generators(n, costs, ppl): elif suptech == 'CCGT': ccgt = ppl.loc[ppl.Fueltype.isin(('OCGT', 'CCGT'))].groupby('bus', as_index=False).first() n.madd('Generator', ccgt.index, - suffix=' CCGT' + suffix=' CCGT', bus=ccgt['bus'], carrier=tech, p_nom_extendable=True,