Metadata-Version: 2.1
Name: pypsatopo
Version: 1.1.2
Summary: PyPSATopo is a tool that allows generating the topographical representation of any arbitrary PyPSA-based network
Author-email: "Energy Systems Group at Aarhus University (Denmark)" <ricardo.fernandes@mpe.au.dk>
Project-URL: Homepage, https://github.com/ricnogfer/pypsatopo
Keywords: PyPSA,power system,network,visualization,representation,topography
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.2
Description-Content-Type: text/markdown
Requires-Dist: pypsa
Requires-Dist: pandas

PyPSATopo is a tool that allows generating the topographical representation of any arbitrary [PyPSA](https://pypsa.org)-based network (thanks to the [DOT language](https://graphviz.org/doc/info/lang.html)). Besides easing the understanding of a network by providing its graphical representation, the tool helps debug it given that broken links and missing buses are shown in (slightly) different shapes and colors. Technically speaking, PyPSATopo can be thought of as a [reverse engineering](https://en.wikipedia.org/wiki/Reverse_engineering) tool for PyPSA-based networks.

To get a quick overview of the capabilities of PyPSATopo, simply launch it in a terminal as follows:

```bash
python pypsatopo.py
```

This will create a PyPSA-based network made of the following components:

```python
# create dummy (PyPSA-based) network
network = pypsa.Network(name = "My Dummy Network")

# add some dummy components to dummy network
network.add("Bus", "electricity")
network.add("Bus", "hydrogen")
network.add("Generator", "wind", bus = "electricity")
network.add("Generator", "solar", bus = "electricity")
network.add("Load", "transport", bus = "electricity")
network.add("Load", "industry", bus = "hydrogen")
network.add("Store", "battery", bus = "electricity")
network.add("StorageUnit", "hydro", bus = "electricity")
network.add("Link", "electrolysis", bus0 = "electricity", bus1 = "hydrogen")
```
... as well as generate the corresponding topographical representation of the network in the SVG format:

<kbd>
   <img src = "https://raw.githubusercontent.com/ricnogfer/pypsatopo/master/resources/topography.svg" alt = "Topographical representation of network 'My Dummy Network'" style = "background-color: white;" width = 650>
</kbd>

