pypsatopo


Namepypsatopo JSON
Version 0.11.0 PyPI version JSON
download
home_page
SummaryPyPSATopo is a tool that allows generating the topographical representation of any arbitrary PyPSA-based network
upload_time2023-11-28 10:32:15
maintainer
docs_urlNone
author
requires_python>=3.2
license
keywords pypsa power system network visualization representation topography
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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", "oil")
network.add("Bus", "electricity")
network.add("Bus", "transport")
network.add("Generator", "oil", bus = "oil")
network.add("Generator", "solar", bus = "electricity")
network.add("Load", "vehicle", bus = "transport")
network.add("Store", "battery", bus = "electricity")
network.add("Link", "ICEV", bus0 = "oil", bus1 = "transport")
network.add("Link", "BEV", bus0 = "electricity", bus1 = "transport")
```
... 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 = 520>
</kbd>


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "pypsatopo",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.2",
    "maintainer_email": "",
    "keywords": "PyPSA,power system,network,visualization,representation,topography",
    "author": "",
    "author_email": "\"Energy Systems Group at Aarhus University (Denmark)\" <ricardo.fernandes@mpe.au.dk>",
    "download_url": "https://files.pythonhosted.org/packages/60/9c/6d55f1d3308991428b1e857cf46dc51bf7ae353da323aa8eb96db1e3dba1/pypsatopo-0.11.0.tar.gz",
    "platform": null,
    "description": "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.\n\nTo get a quick overview of the capabilities of PyPSATopo, simply launch it in a terminal as follows:\n\n```bash\npython pypsatopo.py\n```\n\nThis will create a PyPSA-based network made of the following components:\n\n```python\n# create dummy (PyPSA-based) network\nnetwork = pypsa.Network(name = \"My Dummy Network\")\n\n# add some dummy components to dummy network\nnetwork.add(\"Bus\", \"oil\")\nnetwork.add(\"Bus\", \"electricity\")\nnetwork.add(\"Bus\", \"transport\")\nnetwork.add(\"Generator\", \"oil\", bus = \"oil\")\nnetwork.add(\"Generator\", \"solar\", bus = \"electricity\")\nnetwork.add(\"Load\", \"vehicle\", bus = \"transport\")\nnetwork.add(\"Store\", \"battery\", bus = \"electricity\")\nnetwork.add(\"Link\", \"ICEV\", bus0 = \"oil\", bus1 = \"transport\")\nnetwork.add(\"Link\", \"BEV\", bus0 = \"electricity\", bus1 = \"transport\")\n```\n... as well as generate the corresponding topographical representation of the network in the SVG format:\n\n<kbd>\n   <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 = 520>\n</kbd>\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "PyPSATopo is a tool that allows generating the topographical representation of any arbitrary PyPSA-based network",
    "version": "0.11.0",
    "project_urls": {
        "Homepage": "https://github.com/ricnogfer/pypsatopo"
    },
    "split_keywords": [
        "pypsa",
        "power system",
        "network",
        "visualization",
        "representation",
        "topography"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "eb32df9f3df40dea104fd65c0f6fd84eb9e6c48d8b7ffb20837857c1c693f76f",
                "md5": "825d7a3f69c53d8bfc52ea111ed44b90",
                "sha256": "1d4ff4effbfbdd7f5f576c89b68022a7cdee710a21e65e6a707b2b0ee95a3750"
            },
            "downloads": -1,
            "filename": "pypsatopo-0.11.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "825d7a3f69c53d8bfc52ea111ed44b90",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.2",
            "size": 16264,
            "upload_time": "2023-11-28T10:32:14",
            "upload_time_iso_8601": "2023-11-28T10:32:14.245801Z",
            "url": "https://files.pythonhosted.org/packages/eb/32/df9f3df40dea104fd65c0f6fd84eb9e6c48d8b7ffb20837857c1c693f76f/pypsatopo-0.11.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "609c6d55f1d3308991428b1e857cf46dc51bf7ae353da323aa8eb96db1e3dba1",
                "md5": "f3047f66f4faecd5cdd90cc478f0a396",
                "sha256": "9a775c653ae15ddf0eaea79a75cb9bdf190f7d8c395610cb6c91c4fbd7022118"
            },
            "downloads": -1,
            "filename": "pypsatopo-0.11.0.tar.gz",
            "has_sig": false,
            "md5_digest": "f3047f66f4faecd5cdd90cc478f0a396",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.2",
            "size": 16051,
            "upload_time": "2023-11-28T10:32:15",
            "upload_time_iso_8601": "2023-11-28T10:32:15.964962Z",
            "url": "https://files.pythonhosted.org/packages/60/9c/6d55f1d3308991428b1e857cf46dc51bf7ae353da323aa8eb96db1e3dba1/pypsatopo-0.11.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-28 10:32:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ricnogfer",
    "github_project": "pypsatopo",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pypsatopo"
}
        
Elapsed time: 0.14012s