Fix double space in existing capacities

The `name_suffix` variable already includes a space after the bus name.
This commit is contained in:
Koen van Greevenbroek 2024-04-25 18:05:41 +02:00
parent c505ea174e
commit a4a2af5404

View File

@ -310,7 +310,7 @@ def add_power_capacities_installed_before_baseyear(n, grouping_years, costs, bas
n.madd(
"Generator",
new_capacity.index,
suffix=" " + name_suffix,
suffix=name_suffix,
bus=new_capacity.index,
carrier=generator,
p_nom=new_capacity,