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

Model file used to run with the python script needs to be edited to run #53

Closed tniet closed 2 months ago

tniet commented 3 years ago

The model file needed to run OSeMOSYS global is not the same as the fast code at https://github.com/OSeMOSYS/OSeMOSYS_GNU_MathProg/tree/master/src. Do we need to advocate for an additional model file in the OSeMOSYS repo that is setup for the python script or for the OSeMOSYS fast code to be changed to be python script compatible? My initial view is that we should advocate for the fast code to be migrated to run by default with the script - this is the fastest way to run the model, and the fast code should be the fastest way to run the model. Other thoughts? If we have a preferred structure we can ask for this on the OSeMOSYS repo.

willu47 commented 3 years ago

Ideally, you'd use a specific release of the OSeMOSYS code (e.g. downloaded from Github releases on OSeMOSYS_GNU_MathProg).

tniet commented 3 years ago

Yes @willu47, but the fastest way to run the model isn't with a released version - maybe (per your note at https://github.com/OSeMOSYS/OSeMOSYS_GNU_MathProg/issues/66#issuecomment-827865127), we need to consider what the fast code is meant to be? I would argue that it should be the fastest way to run models (I'll comment on the MathProg issue as well).

On a related note, I wonder if @trevorb1 can run with the fast and the script and let us know the difference in processing times?

tniet commented 3 years ago

Hey @willu47 - yes, ideally we'd use a release version. However, that's not the fastest way to run the model as GNU MathProg isn't very efficient at creating the MODEx crossover sets. This is related to the issue at https://github.com/OSeMOSYS/OSeMOSYS_GNU_MathProg/issues/66 that you posted and I will comment further there.

Maybe @trevorb1 can run with the fast code and with the pre-processing script and let us know the time difference?

trevorb1 commented 3 years ago

@tniet Definitely! I was hoping to have the answer for you today on the time differences, but the pre-processed file has been running all day and hasn't solved yet. I will update on time differences once I have that information.

maartenbrinkerink commented 2 months ago

@trevorb1 @tniet this is above my paygrade. Is this still relevant or can it be closed?

trevorb1 commented 2 months ago

I think we can close this; thanks for flagging @maartenbrinkerink! We have a model file that works, and discussion on maintaining different versions of the model file already exist on the main repo, I believe.