/sim-gridy

A grid watch data generator and visualization tool

Primary LanguagePython

Sim Gridy

This is a work in process simulation for Grid Watch. There are a number of weights you can change around in sim.py.

The flow of this is sim is sim.py fills a mongo table. If you don't want to visualize, you can stop here.

To visualize the data run vis.py. This does some processing on the sim data turning relevant variables for visualization into JSON. Then you want to run your node server. Navigate to localhost:3000 to see you visualization.

The commands:

Start mongodb

./start.sh 

This will start the actual sim to populate the database

python sim.py

This filters the data and formats it to JSON

python vis.py

Run your local server

node index.js

Look at the pretty visualization

localhost:3000