polca / premise

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

Update marginal_mixes.py #79

Closed B-Maes closed 2 years ago

B-Maes commented 2 years ago

There was a problem where, with negative growth, measurement method 4 and 5 would already calculate (part of) the marginal mix, which turned the values positive. In the next general step (starts at line 713) these would then be kicked out because they are positive now, leaving no marginal suppliers. Now they will still be negative and kept as they should be