@@ -154,15 +154,23 @@ def carbon_component_fossils(costs, co2_price):
154154 costs .at [("Fischer-Tropsch" , "efficiency" ), "value" ] = (
155155 1 / costs .at [("Fischer-Tropsch" , "hydrogen-input" ), "value" ]
156156 )
157-
157+
158158 # increase FOM of offshore wind connection (fix for costs.csv)
159159 costs .loc [("offwind-dc-connection-submarine" , "FOM" ), "value" ] = 0.35
160- costs .loc [("offwind-dc-connection-submarine" , "FOM" ), "unit" ] = costs .at [("offwind" , "FOM" ), "unit" ]
160+ costs .loc [("offwind-dc-connection-submarine" , "FOM" ), "unit" ] = costs .at [
161+ ("offwind" , "FOM" ), "unit"
162+ ]
161163 costs .loc [("offwind-dc-connection-underground" , "FOM" ), "value" ] = 0.35
162- costs .loc [("offwind-dc-connection-underground" , "FOM" ), "unit" ] = costs .at [("offwind" , "FOM" ), "unit" ]
164+ costs .loc [("offwind-dc-connection-underground" , "FOM" ), "unit" ] = costs .at [
165+ ("offwind" , "FOM" ), "unit"
166+ ]
163167 costs .loc [("offwind-ac-connection-submarine" , "FOM" ), "value" ] = 0.35
164- costs .loc [("offwind-ac-connection-submarine" , "FOM" ), "unit" ] = costs .at [("offwind" , "FOM" ), "unit" ]
168+ costs .loc [("offwind-ac-connection-submarine" , "FOM" ), "unit" ] = costs .at [
169+ ("offwind" , "FOM" ), "unit"
170+ ]
165171 costs .loc [("offwind-ac-connection-underground" , "FOM" ), "value" ] = 0.35
166- costs .loc [("offwind-ac-connection-underground" , "FOM" ), "unit" ] = costs .at [("offwind" , "FOM" ), "unit" ]
172+ costs .loc [("offwind-ac-connection-underground" , "FOM" ), "unit" ] = costs .at [
173+ ("offwind" , "FOM" ), "unit"
174+ ]
167175
168176 costs .to_csv (snakemake .output [0 ])
0 commit comments