Fix double space in existing capacities
The `name_suffix` variable already includes a space after the bus name.
This commit is contained in:
parent
c505ea174e
commit
a4a2af5404
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user