Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spine-tools/emp-e-2-models-demo
https://github.com/spine-tools/emp-e-2-models-demo
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/spine-tools/emp-e-2-models-demo
- Owner: spine-tools
- License: mit
- Created: 2020-10-08T08:59:05.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-11T14:09:57.000Z (almost 4 years ago)
- Last Synced: 2024-02-02T17:15:00.934Z (11 months ago)
- Language: Python
- Size: 72.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Spine Toolbox two-models demo for EMP-E
=========================Created by Erkka Rinne ([email protected]) and Juha Kiviluoma ([email protected]).
Requirements
------------- Python 3.7
- [SpineToolbox](https://github.com/Spine-project/Spine-Toolbox/)
- [Julia 1.4 or later](https://julialang.org/downloads/)
- [GAMS version 24.1 or later](https://gams.com/download/)Setting up
----------1. Create a Python virtual environment using e.g. [conda](https://docs.conda.io/en/latest/miniconda.html)
```
$ conda create -n spinetoolbox python=3.7
$ conda activate spinetoolbox
```2. Browse to the dir where you downloaded Spine Toolbox and install it:
```
(spinetoolbox) $ pip install -r requirements.txt
```3. Browse to dir *MyJuliaModel* in this project and initialize the Julia project
```
MyJuliaModel (spinetoolbox) $ julia init.jl
```4. Launch Spine Toolbox:
> NOTE: Currently, Spine Toolbox has to be launched *from the Julia
> project directory*, in this case *MyJuliaModel/*.
```
MyJuliaModel (spinetoolbox) $ spinetoolbox
```5. In Spine Toolbox settings, select dir *MyJuliaModel* as the Julia project on **Tools** page.