An open API service indexing awesome lists of open source software.

https://github.com/pypsa/pypsa-animation

Tool to convert PyPSA results to interactive web animations
https://github.com/pypsa/pypsa-animation

Last synced: 10 months ago
JSON representation

Tool to convert PyPSA results to interactive web animations

Awesome Lists containing this project

README

          

################################
PyPSA-animation
################################

.. contents::

.. section-numbering::

About
=====

PyPSA-animation is a tool to convert results from the energy system
simulation tool `Python for Power System Analysis
`_ to interactive web animations.

PyPSA-animation is built primarily in `JavaScript
`_ using the library `D3.js
`_.

It is released as `free software
`_ under the `AGPL
`_.

Example and screenshot
======================

See `PyPSA-Eur-30 `_ for a running example.

Screenshot:

.. image:: http://www.pypsa.org/img/pypsa-animation.png

How to use it
=============

First you have to convert your PyPSA network scenarios into folders of
JSON data files. For this, use the script ``export_network.py``,
adjusting path names for your own scenarios (the current example uses
the data from `PyPSA-Eur-30
`_).

Then adjust the parameters in ``network.js`` and ``index.html``
appropriately.

License
=======

Copyright 2018 `Tom Brown `_

This program is free software: you can redistribute it and/or
modify it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation; either `version 3 of the
License `_, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
`GNU Affero General Public License `_ for more details.