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
- Host: GitHub
- URL: https://github.com/pypsa/pypsa-animation
- Owner: PyPSA
- License: agpl-3.0
- Created: 2018-02-17T18:46:31.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-11-25T19:12:41.000Z (about 4 years ago)
- Last Synced: 2025-04-15T07:07:30.207Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 77.1 KB
- Stars: 18
- Watchers: 7
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
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.