Created by Erkka Rinne (erkka.rinne@vtt.fi) and Juha Kiviluoma (juha.kiviluoma@vtt.fi).
Create a Python virtual environment using e.g. conda
$ conda create -n spinetoolbox python=3.8
$ conda activate spinetoolbox
Browse to the dir where you downloaded Spine Toolbox and install it:
(spinetoolbox) $ pip install -r requirements.txt
Browse to dir MyJuliaModel in this project and initialize the Julia project
MyJuliaModel (spinetoolbox) $ julia init.jl
Launch Spine Toolbox:
NOTE: Currently, Spine Toolbox has to be launched from the Julia project directory, in this case MyJuliaModel/.
MyJuliaModel (spinetoolbox) $ spinetoolbox
In Spine Toolbox settings, select dir MyJuliaModel as the Julia project on Tools page.
In Spine Toolbox settings, select GAMS executable on Tools page. If you don't have GAMS, you can request a demo license or skip that part of the Toolbox workflow (https://www.gams.com/download/). GAMS version used for the demo is 24.1 (hopefully works with newer versions - it's very simple).