Add CCGT to the weight factor for conventional carriers

This commit is contained in:
Heronimonimo 2019-02-18 18:36:56 +01:00 committed by Jonas Hörsch
parent 9279c7f027
commit 9c78d6591d

View File

@ -30,7 +30,7 @@ def normed(x):
return (x/x.sum()).fillna(0.)
def weighting_for_country(n, x):
conv_carriers = {'OCGT', 'PHS', 'hydro'}
conv_carriers = {'OCGT','CCGT','PHS', 'hydro'}
gen = (n
.generators.loc[n.generators.carrier.isin(conv_carriers)]
.groupby('bus').p_nom.sum()