diff --git a/scripts/prepare_sector_network.py b/scripts/prepare_sector_network.py index c7f9b8b3f..38b5492c4 100755 --- a/scripts/prepare_sector_network.py +++ b/scripts/prepare_sector_network.py @@ -1887,7 +1887,7 @@ def add_fuel_cell_cars(n, p_set, fuel_cell_share, temperature): suffix=" land transport fuel cell", bus=spatial.h2.nodes, carrier="land transport fuel cell", - p_set=profile, + p_set=profile.loc[n.snapshots], ) @@ -1926,7 +1926,7 @@ def add_ice_cars(n, p_set, ice_share, temperature): spatial.oil.land_transport, bus=spatial.oil.land_transport, carrier="land transport oil", - p_set=profile, + p_set=profile.loc[n.snapshots], ) n.add(