OSeMOSYS / osemosys_global

A global power system model generator for OSeMOSYS
https://osemosys-global.readthedocs.io/
GNU Affero General Public License v3.0
27 stars 14 forks source link

bug fix for issue-156 #157

Closed trevorb1 closed 1 year ago

trevorb1 commented 1 year ago

Description

Fixes bug described in issue #156, where if a user defined capacity and no invest technology use the same technology, the model breaks because of a double definition. In the solution, the user defined capacity value will override the no invest technology value.

Issue Ticket Number

Closes #156

Documentation

na

trevorb1 commented 1 year ago

@Simone111git, do you want to do a review and let me know if the solution works for you please!

SimoneOseiOwusu commented 1 year ago

It worked! Thanks!