OSeMOSYS / OSeMOSYS_GNU_MathProg

The GNU MathProg implementation of OSeMOSYS
Apache License 2.0
9 stars 14 forks source link

Fast code issues #73

Open edwardxtg opened 3 years ago

edwardxtg commented 3 years ago

Hi all,

I've been having a few issues with the latest release of the fast code (whilst the long code is working as expected).

Emissions constraints haven't been respected by the fast code. Abhi has provided an alternative version of the fast code (attached) in which emissions constraints are respected.

model_new_abhi.txt

Storage neither works in the most recently published fast code nor the fast code shared by Abhi, but works fine with the long code.

I have been navigating these issues with Georgios Avgerinopoulos and it would be great to have a version of the fast code which behaves like the long code with emissions and storage.

Regards Edward

willu47 commented 3 years ago

Thanks @edwardxtg for the bug report and sorry for being slow in picking this up. Thanks for the alternative version of the code - I'll set up a branch to compare these versions. Do you have a minimal example model which demonstrates the faulty behaviour with the current fast code?