From ad38016f6dad3225655721b2111b5c308ef8637e Mon Sep 17 00:00:00 2001
From: Philipp Glaum
Date: Mon, 17 Jun 2024 15:22:33 +0200
Subject: [PATCH] prepare_sector_network: add floating wind to update cost
function
---
scripts/prepare_sector_network.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/prepare_sector_network.py b/scripts/prepare_sector_network.py
index ab4096e2..c278734b 100644
--- a/scripts/prepare_sector_network.py
+++ b/scripts/prepare_sector_network.py
@@ -456,7 +456,7 @@ def update_wind_solar_costs(n, costs):
clustermaps = busmap_s.map(busmap)
# code adapted from pypsa-eur/scripts/add_electricity.py
- for connection in ["dc", "ac"]:
+ for connection in ["dc", "ac", "float"]:
tech = "offwind-" + connection
if tech not in n.generators.carrier.values:
continue