A grid watch data generator and visualization tool
Python JavaScript Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
map_vis
README.md
city.py
clear_db.py
house.py
maps.py
occupent.py
road.py
sim.py
start.sh
vis.py

README.md

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