Skip to content

Project tries to track all tesla megapack installations (>10MWh)

License

Notifications You must be signed in to change notification settings

lorenz-g/tesla-megapack-tracker

Repository files navigation

Table of Contents:

tesla-megapack-tracker

  • project tries to track all tesla megapack (>10MWh) installations and other big batteries where government data sources are available (>10MWh or 10MW)
  • the site is hosted via github pages and this is the link:

map of image

project structure

for now:

  • raw data (tesla and other manufacturers) are in projects.csv file
  • the generated website is in the docs folder (it is called docs because of github pages)
  • To generate the website, install the dependencies with pip install -r requirements.txt and run python generate/website.py. It is recommended to setup a python virtualenv for the project beforehand (can use pip install pip-tools and pip-compile requirements.in to create an up to date version of requirements)
    • all python code lives in the generate folder
  • To develop it is handy to use a tool like watchexec to listen to file changes and then rebuild the site. Some handy commands are in the ./Makefile
  • to edit the CSV files, it is best to use Libre Office
  • the external government data is the misc folder
  • the blog entries are written in Markdown and in the misc

eventually:

  • every battery installation has a toml file located in the battery-projects
  • in case there are multiple stages to a project, they will be in that file
  • the naming of the toml file is date_id_project-name, e.g. 2020-01-01_4_first-megapack-project

for the cars vs stationary:

  • raw data is in the cars-vs-stationary.csv file
  • using the vehicle production numbers (from the tesla quarterly press releases)
  • estimating the avg model 3/y battery with 60kWh and the model s/x with 90kwh
    • in the future could also add a new column use a more precise estimate per quarter, but fine for now.

good information sources

This has grown, so you can find it here now: Big Battery Info Sources

for profit usage

  • if you are a corporate and can use some the data here please do. You can also sell it on (but please respect the MIT license to give credit where it's due)
  • and if you have used it, please consider contributing some info/insights back to the project via pull requests. Thanks 👏

want to contribute?

  • battery projects
    • just add them to the projects.csv file and submit a PR (Pull Request)
  • feature / website improvements
    • there is a TODO file. You can just grab sth there.
  • new government integration
    • they are the best to keep data up to date. Feel free to add one.
  • blog post
    • just write / amend one and submit a PR.

changelog

  • you can find the changelog file here: ./misc/2021-08-30-changelog.md
  • not everything is documented here. The git commit history should be more complete.

inspiration

There are many other great trackers about various tesla stats, such as:

About

Project tries to track all tesla megapack installations (>10MWh)

Topics

Resources

License

Stars

Watchers

Forks