The Automatic Adjustment Plugin (AAP) simulator is used to validate the proposed solution outlined in OT-RFC-06. AAP is a configurable OriginTrail node plugin which will attempt to automatically calculate the optimal price (λ setting) on the network based on the service market of the ODN decentralized network.
The simulator let's you create groups of DC and DH nodes with different settings and observe market equilibrium behavior.
The detailed specification behind the AAP plugin which this simulator was designed for is here.
Each simulation can be saved for later inspectin. In order to create a snapshot of a simulation, click on the “Save” link at the bottom left of the simulator. Graph images are saved in the downloads directory while simulation snapshots are located in snapshots directory, which is located in the root directory of the project.
Instructions for installation and configuration of the simulator
git clone https://github.com/OriginTrail/AAP-market-simulator.git
Run backend simulator
cd nodejs && npm install && cd ..
node nodejs/index.js
Run frontend interface
cd react/simulator && npm install && cd ../..
npm start --prefix react/simulator
Env example:
CONFIG_PATH = nodejs/config/config.json
- nodejs version: 9.11.2
- npm version: 5.6.0
Apart from running simulations you can also directly contribute to this project. Please follow the contribution guidelines