The current implementation is summing flow_cap_new across vintagesteps no matter what investment period you're in. So, in 2030 it is the sum of new capacity costs in 2020, 2030, 2040, and 2050! It should just be 2020 and 2030, or not even 2020 if the technology lifetime < 10 years.
The current implementation is summing
flow_cap_new
acrossvintagesteps
no matter what investment period you're in. So, in 2030 it is the sum of new capacity costs in 2020, 2030, 2040, and 2050! It should just be 2020 and 2030, or not even 2020 if the technology lifetime < 10 years.