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 17 forks source link

Powerplant data functions #198

Closed maartenbrinkerink closed 1 month ago

maartenbrinkerink commented 2 months ago

Description

Large overhaul of the powerplant_data script by splitting 'main' in individual functions as it was incredibly difficult to navigate and problem solve. Have not yet separated transmission from the powerplant_data script (next step).

Issue Ticket Number

Documentation

maartenbrinkerink commented 2 months ago

@trevorb1 I've finished the refactoring of the powerplant script which on my end is now functional both standalone from main as well as by running the full workflow. If you have time could you do a review at this point?

Note that I've moved the configurable variables to support the standalone functioning of the set of scripts from main to constants to contain the number of places where users should be looking for custom changes. If you agree with this approach I suggest to apply the same for the demand folder. Let me know!