ixmp icon indicating copy to clipboard operation
ixmp copied to clipboard

Export scenario to gdx

Open DIUANA opened this issue 4 years ago • 6 comments

Hi. I would like to know how to export the scenario to a gdx file in order to debug a scenario?

In the previous version the function to_gdx was available but it is not working in the latest release.

I tried to take advantage from the backend functions but they are demanding about some dependencies I guess

from ixmp.backend import jdbc
jdbc.JDBCBackend.write_gdx(scenario, 'path' )

it returns: 'Scenario' object has no attribute 'jindex'

Does ixmp still have a simple function to generate gdx file withou solve the scenario?

DIUANA avatar Jan 26 '20 16:01 DIUANA