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

Transmission visualization #132

Closed trevorb1 closed 2 years ago

trevorb1 commented 2 years ago

Description

Transmission capacity/flow graphs added to the workflow

Issue Ticket Number

closes #131

Documentation

trevorb1 commented 2 years ago

Thanks for adding the trade flow script @maartenbrinkerink ! Regarding the issue you created, I wasnt able to recreate it...

When I did try to just conda install basemap into my existing osemosys-global environment, I got a conflict error that couldn't be resolved. I just deleted the environment via the command conda env remove -n osemosys-global and recreated it using the environment file you updated (conda env create -f workflow/envs/osemosys-global.yaml). All the packages installed (including basemap) without error. Then everything ran fine.

Are you able to run the workflow after recreating the environment? Or were you getting a different error then just a package conflict?

maartenbrinkerink commented 2 years ago

Thanks @trevorb1, recreating the env file did the trick. Note that the first run failed because Gurobi was loaded in the config file as solver. For the .4 release it would probably be best to convert back to cbc and to not include any pre-determined capacities either (transmission lines in BBIN)?

trevorb1 commented 2 years ago

Good point on setting the config file back to defaults for the version release, @maartenbrinkerink. Thanks, Il do that now!