spine-tools / 2model_demo

Model of 2 demos with Spine Toolbox (Julia using SpineInterface and GAMS)
MIT License
0 stars 0 forks source link

Export data to GAMS #1

Open Alireza64z opened 10 months ago

Alireza64z commented 10 months ago

Hi, I have a keen interest in employing GAMS software as the backbone of my optimization engine for the spine toolbox. I'm currently in search of expert guidance concerning the configuration of exporter and importer/exporter settings. My specific query pertains to the process of extracting input parameters and establishing mappings within GDX files. Could you kindly furnish me with instructions on defining mapping specifications for parameters like demand or capacity? Your valuable assistance in this endeavour would be immensely appreciated.

jkiviluo commented 10 months ago

There is a good example in Backbone. It has been mostly recently used in this repository: https://github.com/TradeRES/TradeRES-Backbone-demo. Download it and open it as Spine Toolbox project. You won't have the input datafiles (not part of public repository), but you can see how the importers and exporters have been setup.

Also Backbone repository itself contains a Spine Toolbox project and at least an exporter from Spine DB to Backbone. It's probably not up-to-date though, but it's another example. https://gitlab.vtt.fi/backbone/backbone