polca / premise

Coupling Integrated Assessment Models output with Life Cycle Assessment.
BSD 3-Clause "New" or "Revised" License
100 stars 45 forks source link

Fix lifetimes bug with 'Storage, Hydrogen' #126

Closed Stew-McD closed 8 months ago

Stew-McD commented 8 months ago

When running consequential dbs (doesn't matter which scenario) with the latest premise and bw2, there is a problem that arises at the unpack IAM data stage. See screenshot below.

The array shapes are mismatched in the tech and the lifetimes.

This can be fixed by adding the missing technology 'Storage, Hydrogen' to the lifetimes.yaml (I gave it a 35 yr lifetime, based on the other hydrogen assets)

It's just a one line change (but the commits to this branch are multiple because I haven't done this very often :) )

image