https://github.com/timtroendle/forrestgums
https://github.com/timtroendle/forrestgums
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/timtroendle/forrestgums
- Owner: timtroendle
- Created: 2015-11-08T19:51:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-19T07:29:57.000Z (over 10 years ago)
- Last Synced: 2024-06-14T19:12:53.997Z (almost 2 years ago)
- Language: HTML
- Size: 35.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# forrestgums
## User Guide
### Project Configuration
1. create simulation folder
2. create trnsport.gms file
3. command line:
$ git init
$ git add .
$ git commit -m 'initial commit'
$ smt init forrest --main=trnsport.gms --labelgenerator=uuid --datapath=.
$ smt configure --add-plugin=forrest.executable
$ smt configure --add-plugin=forrest.datastore
$ smt configure --executable=gams
$ smt configure --on-changed=store-diff
Use the GAMSListingDataStore instead of the normal FileSystemDataStore. For that replace
``sumatra.datastore.filesystem.FileSystemDataStore`` with ``forrest.datastore.GAMSListingDataStore``
in the ``.smt/project``.
Disallow command line parameters by setting `allow_command_line_parameters`
in `.smt/project` to `false`.
### Run a simulation
$ smt run lo=3
### Start the web server
Start forrestgums in a Sumatra project folder:
$ forrest
## Developer Guide
### Installation
Best install forrest in editable mode:
$ pip install -e .
### Run the test suite
Run the test suite with py.test:
$ py.test