|
65 | 65 | }
|
66 | 66 |
|
67 | 67 | # [DEA-sheet-names]
|
68 |
| -sheet_names = {'onwind': '20 Onshore turbines', # 2015 |
69 |
| - 'offwind': '21 Offshore turbines', # 2020 |
70 |
| - 'solar-utility': '22 Utility-scale PV', #2020 |
| 68 | +sheet_names = {'onwind': '20 Onshore turbines', # 2015dc |
| 69 | + 'offwind': '21 Offshore turbines', # 2020dc |
| 70 | + 'solar-utility': '22 Utility-scale PV', #2020dc |
71 | 71 | 'solar-utility single-axis tracking': '22 Utility-scale PV tracker', # 2020
|
72 | 72 | 'solar-rooftop residential': '22 Rooftop PV residential', # 2020
|
73 | 73 | 'solar-rooftop commercial': '22 Rooftop PV commercial', # 2020
|
74 |
| - 'OCGT': '52 OCGT - Natural gas', # 2015? |
75 |
| - 'CCGT': '05 Gas turb. CC, steam extract.', # 2015 |
76 |
| - 'oil': '50 Diesel engine farm', # 2015? |
| 74 | + 'OCGT': '52 OCGT - Natural gas', # 2015dc |
| 75 | + 'CCGT': '05 Gas turb. CC, steam extract.', # 2015dc |
| 76 | + 'oil': '50 Diesel engine farm', # 2015dc |
77 | 77 | 'biomass CHP': '09c Straw, Large, 40 degree', # 2015
|
78 | 78 | 'biomass EOP': '09c Straw, Large, 40 degree', # 2015
|
79 | 79 | 'biomass HOP': '09c Straw HOP', # 2015
|
|
89 | 89 | 'central ground-sourced heat pump': '40 Absorption heat pump, DH', # 2015
|
90 | 90 | 'central resistive heater': '41 Electric Boilers', # 2015
|
91 | 91 | 'central gas boiler': '44 Natural Gas DH Only', # 2015
|
92 |
| - 'decentral gas boiler': '202 Natural gas boiler', # <2018 |
93 |
| - 'direct firing gas': '312.a Direct firing Natural Gas', # 2019 |
94 |
| - 'direct firing gas CC': '312.a Direct firing Natural Gas', # 2019 |
95 |
| - 'direct firing solid fuels': '312.b Direct firing Sold Fuels', # 2019 |
96 |
| - 'direct firing solid fuels CC': '312.b Direct firing Sold Fuels', # 2019 |
97 |
| - 'decentral ground-sourced heat pump': '207.7 Ground source existing', # <2018 |
98 |
| - 'decentral air-sourced heat pump': '207.3 Air to water existing', # <2018 |
| 92 | + 'decentral gas boiler': '202 Natural gas boiler', # 2015 |
| 93 | + 'direct firing gas': '312.a Direct firing Natural Gas', # 2019dc |
| 94 | + 'direct firing gas CC': '312.a Direct firing Natural Gas', # 2019dc |
| 95 | + 'direct firing solid fuels': '312.b Direct firing Sold Fuels', # 2019dc |
| 96 | + 'direct firing solid fuels CC': '312.b Direct firing Sold Fuels', # 2019dc |
| 97 | + 'decentral ground-sourced heat pump': '207.7 Ground source existing', # 2015 |
| 98 | + 'decentral air-sourced heat pump': '207.3 Air to water existing', # 2015dc |
99 | 99 | # 'decentral resistive heater': '216 Electric heating',
|
100 | 100 | 'central water tank storage': '140 PTES seasonal', # 2015
|
101 | 101 | # 'decentral water tank storage': '142 Small scale hot water tank',
|
102 | 102 | 'fuel cell': '12 LT-PEMFC CHP', # 2015
|
103 |
| - 'hydrogen storage underground': '151c Hydrogen Storage - Caverns', # 2015 |
104 |
| - 'hydrogen storage tank type 1 including compressor': '151a Hydrogen Storage - Tanks', # 2015 |
105 |
| - 'micro CHP': '219 LT-PEMFC mCHP - natural gas', # 2015 |
106 |
| - 'biogas' : '81 Biogas, Basic plant, small', # 2020 |
107 |
| - 'biogas CC' : '81 Biogas, Basic plant, small', # 2020 |
108 |
| - 'biogas upgrading': '82 Upgrading 3,000 Nm3 per h', # 2020 |
| 103 | + 'hydrogen storage underground': '151c Hydrogen Storage - Caverns', # 2015dc |
| 104 | + 'hydrogen storage tank type 1 including compressor': '151a Hydrogen Storage - Tanks', # 2015dc |
| 105 | + 'micro CHP': '219 LT-PEMFC mCHP - natural gas', # 2015dc |
| 106 | + 'biogas' : '81 Biogas, Basic plant, small', # 2020dc |
| 107 | + 'biogas CC' : '81 Biogas, Basic plant, small', # 2020dc |
| 108 | + 'biogas upgrading': '82 Upgrading 3,000 Nm3 per h', # 2020dc |
109 | 109 | 'battery': '180 Lithium Ion Battery', # 2015
|
110 |
| - 'industrial heat pump medium temperature': '302.a High temp. hp Up to 125 C', # 2019 |
111 |
| - 'industrial heat pump high temperature': '302.b High temp. hp Up to 150', # 2019 |
112 |
| - 'electric boiler steam': '310.1 Electric boiler steam ', # 2019 |
113 |
| - 'gas boiler steam': '311.1c Steam boiler Gas', # 2019 |
114 |
| - 'solid biomass boiler steam': '311.1e Steam boiler Wood', # 2019 |
115 |
| - 'solid biomass boiler steam CC': '311.1e Steam boiler Wood', # 2019 |
| 110 | + 'industrial heat pump medium temperature': '302.a High temp. hp Up to 125 C', # 2019dcd |
| 111 | + 'industrial heat pump high temperature': '302.b High temp. hp Up to 150', # 2019dc |
| 112 | + 'electric boiler steam': '310.1 Electric boiler steam ', # 2019dc |
| 113 | + 'gas boiler steam': '311.1c Steam boiler Gas', # 2019dc |
| 114 | + 'solid biomass boiler steam': '311.1e Steam boiler Wood', # 2019dc |
| 115 | + 'solid biomass boiler steam CC': '311.1e Steam boiler Wood', # 2019dc |
116 | 116 | 'biomass boiler': '204 Biomass boiler, automatic', # <2018
|
117 |
| - 'electrolysis': '86 AEC 100 MW', # 2020 |
118 |
| - 'direct air capture': '403.a Direct air capture', # 2020 |
119 |
| - 'biomass CHP capture': '401.a Post comb - small CHP', # 2020 |
120 |
| - 'cement capture': '401.c Post comb - Cement kiln', # 2020 |
121 |
| - 'BioSNG': '84 Gasif. CFB, Bio-SNG', # 2020 |
122 |
| - 'BtL': '85 Gasif. Ent. Flow FT, liq fu ', # 2020 |
123 |
| - 'biomass-to-methanol': '97 Methanol from biomass gasif.', # 2020 |
124 |
| - 'biogas plus hydrogen': '99 SNG from methan. of biogas', # 2020 |
125 |
| - 'methanolisation': '98 Methanol from hydrogen', # 2020 |
126 |
| - 'Fischer-Tropsch': '102 Hydrogen to Jet', # 2020 |
| 117 | + 'electrolysis': '86 AEC 100 MW', # 2020dc |
| 118 | + 'direct air capture': '403.a Direct air capture', # 2020dc |
| 119 | + 'biomass CHP capture': '401.a Post comb - small CHP', # 2020dc |
| 120 | + 'cement capture': '401.c Post comb - Cement kiln', # 2020dc |
| 121 | + 'BioSNG': '84 Gasif. CFB, Bio-SNG', # 2020dc |
| 122 | + 'BtL': '85 Gasif. Ent. Flow FT, liq fu ', # 2020dc |
| 123 | + 'biomass-to-methanol': '97 Methanol from biomass gasif.', # 2020dc |
| 124 | + 'biogas plus hydrogen': '99 SNG from methan. of biogas', # 2020dc |
| 125 | + 'methanolisation': '98 Methanol from hydrogen', # 2020dc |
| 126 | + 'Fischer-Tropsch': '102 Hydrogen to Jet', # 2020dc |
127 | 127 | 'central hydrogen CHP': '12 LT-PEMFC CHP', # 2015
|
128 |
| - 'Haber-Bosch': '103 Hydrogen to Ammonia', # 2020 |
129 |
| - 'air separation unit': '103 Hydrogen to Ammonia', # 2020 |
| 128 | + 'Haber-Bosch': '103 Hydrogen to Ammonia', # 2015dc |
| 129 | + 'air separation unit': '103 Hydrogen to Ammonia', # 2015dc |
130 | 130 | 'waste CHP': '08 WtE CHP, Large, 50 degree', # 2015
|
131 | 131 | 'waste CHP CC': '08 WtE CHP, Large, 50 degree', # 2015
|
132 | 132 | # 'electricity distribution rural': '101 2 el distri Rural',
|
|
209 | 209 | # since February 2022 DEA uses a new format for the technology data
|
210 | 210 | # all excel sheets of updated technologies have a different layout and are
|
211 | 211 | # given in EUR_2020 money (instead of EUR_2015)
|
212 |
| -new_format = ['solar-utility', |
| 212 | +cost_year_2020 = ['solar-utility', |
213 | 213 | 'solar-utility single-axis tracking',
|
214 | 214 | 'solar-rooftop residential',
|
215 | 215 | 'solar-rooftop commercial',
|
|
226 | 226 | 'biomass-to-methanol',
|
227 | 227 | 'biogas plus hydrogen',
|
228 | 228 | 'methanolisation',
|
229 |
| - 'Fischer-Tropsch', |
230 |
| - 'Haber-Bosch', |
231 |
| - 'air separation unit'] |
| 229 | + 'Fischer-Tropsch' |
| 230 | + ] |
| 231 | + |
| 232 | +cost_year_2019 = ['direct firing gas', |
| 233 | + 'direct firing gas CC', |
| 234 | + 'direct firing solid fuels', |
| 235 | + 'direct firing solid fuels CC', |
| 236 | + 'industrial heat pump medium temperature', |
| 237 | + 'industrial heat pump high temperature', |
| 238 | + 'electric boiler steam', |
| 239 | + 'gas boiler steam', |
| 240 | + 'solid biomass boiler steam', |
| 241 | + 'solid biomass boiler steam CC', |
| 242 | + ] |
| 243 | + |
232 | 244 |
|
233 | 245 | # %% -------- FUNCTIONS ---------------------------------------------------
|
234 | 246 |
|
@@ -287,7 +299,7 @@ def get_data_DEA(tech, data_in, expectation=None):
|
287 | 299 | usecols += f",{uncrtnty_lookup[tech]}"
|
288 | 300 |
|
289 | 301 |
|
290 |
| - if (tech in new_format) or ("renewable_fuels" in excel_file): |
| 302 | + if (tech in cost_year_2019) or (tech in cost_year_2020) or ("renewable_fuels" in excel_file): |
291 | 303 | skiprows = [0]
|
292 | 304 | else:
|
293 | 305 | skiprows = [0,1]
|
@@ -468,7 +480,7 @@ def get_data_DEA(tech, data_in, expectation=None):
|
468 | 480 | df_final = df_final.ffill(axis=1)
|
469 | 481 |
|
470 | 482 | df_final["source"] = source_dict["DEA"] + ", " + excel_file.replace("inputs/","")
|
471 |
| - if tech in new_format and (tech!="electrolysis"): |
| 483 | + if tech in (cost_year_2019+cost_year_2020) and (tech!="electrolysis"): |
472 | 484 | for attr in ["investment", "Fixed O&M"]:
|
473 | 485 | to_drop = df[df.index.str.contains(attr) &
|
474 | 486 | ~df.index.str.contains("\(\*total\)")].index
|
@@ -2198,7 +2210,7 @@ def prepare_inflation_rate(fn):
|
2198 | 2210 | data = add_carbon_capture(data, tech_data)
|
2199 | 2211 |
|
2200 | 2212 | # adjust for inflation
|
2201 |
| - data["currency_year"] = [2015 if x not in new_format else 2020 for x in |
| 2213 | + data["currency_year"] = [2015 if x not in (cost_year_2020 or cost_year_2019) else 2019 if x in cost_year_2019 else 2020 for x in |
2202 | 2214 | data.index.get_level_values(0)]
|
2203 | 2215 |
|
2204 | 2216 |
|
|
0 commit comments