The docs/2017_TTC_SmartGrid.pdf
file contains the case description.
- 64-bit operating system
- Python 2.7 or higher
- R
- ModelJoin: Java 1.8
- NMF: .NET Framework 4.5.1 and MSBuild on the path
The scripts
directory contains the run.py
script which is used for the following purposes:
run.py -b
-- builds the projectsrun.py -b -s
-- builds the projects without testingrun.py -g
-- generates the instance modelsrun.py -m
-- runs the benchmarkrun.py -v
-- visualizes the results of the latest benchmark
The config
directory contains the configuration for the scripts:
config.json
-- configuration for the model generation and the benchmarkreporting.json
-- configuration for the visualization
The script runs the benchmark for the given number of runs, for the specified tools and change sequences.
The benchmark results are stored in a CSV file. The header for the CSV file is stored in the output/header.csv
file.
Make sure you read the README.md
file in the reporting
directory and install all the requirements for R.
- Start with Eclipse Modeling or Eclipse for DSL Developers.
- Add the http://download.eclipse.org/mmt/qvto/updates/releases update site and install the QVT Operational SDK, version 3.6.0.v20160606-1156.
- Import the
solutions/ModelJoin
project. - If you get compile errors related to character encoding, change the encoding of the project to ISO-8859-1.
Run the de.fzi.ttc2017.smartGrids.App
class as a Java Application with the required settings. For example:
- Arguments
-view outageDetection
- Environment
ChangePath
:../../changes/changeSequence1
Sequences
:1
To implement a tool, you need to create a new directory in the solutions directory and give it a suitable name.