@@ -339,6 +339,7 @@ def get_data_DEA(tech, data_in, expectation=None):
339
339
'Heat input' , 'Heat input' , 'Electricity input' , 'Eletricity input' , 'Heat out' ,
340
340
'capture rate' ,
341
341
"FT Liquids Output, MWh/MWh Total Input" ,
342
+ " - hereof recoverable for district heating [%-points of heat loss]" ,
342
343
" - hereof recoverable for district heating (%-points of heat loss)" ,
343
344
"Bio SNG Output [% of fuel input]" ,
344
345
"Methanol Output" ,
@@ -1913,8 +1914,10 @@ def add_energy_storage_database(costs, data_year):
1913
1914
df_year = (df .year == a )
1914
1915
df .loc [charger_investment_filter & df_year , "value" ] += agg .loc [(tech , a )]/ 2
1915
1916
df .loc [discharger_investment_filter & df_year , "value" ] += agg .loc [(tech , a )]/ 2
1916
-
1917
- df .loc [:,"technology" ] = df ["technology" ] + "-" + df ["technology_type" ]
1917
+
1918
+ index = df .loc [df ["technology_type" ]!= "nan" ].index
1919
+ df .technology_type .replace ("nan" , np .nan , inplace = True )
1920
+ df .loc [index ,"technology" ] = df .loc [index , "technology" ] + "-" + df .loc [index , "technology_type" ]
1918
1921
1919
1922
# aggregate technology_type and unit
1920
1923
df = df .groupby (["technology" , "unit" , "year" ]).agg ({
0 commit comments