GridPath


NameGridPath JSON
Version 0.16.1 PyPI version JSON
download
home_pagehttps://www.gridpath.io
SummaryA versatile simulation and optimization platform for power-system planning and operations.
upload_time2023-12-14 18:40:49
maintainerBlue Marble Analytics LLC
docs_urlNone
author
requires_python
licenseApache v2
keywords energy electricity power renewables planning operations
VCS
bugtrack_url
requirements aiohttp aiosignal alabaster aniso8601 attrs Babel black bokeh certifi charset-normalizer click coverage coveralls dill dnspython docopt docutils eventlet Flask Flask-RESTful Flask-SocketIO frozenlist greenlet GridPath gurobipy idna imagesize itsdangerous Jinja2 MarkupSafe multidict mypy-extensions networkx nose numpy packaging pandas pathspec Pillow platformdirs ply pscript psutil Pygments Pyomo python-dateutil python-engineio python-socketio pytz PyUtilib PyYAML requests six snowballstemmer Sphinx sphinx-argparse sphinxcontrib-applehelp sphinxcontrib-devhelp sphinxcontrib-htmlhelp sphinxcontrib-jsmath sphinxcontrib-qthelp sphinxcontrib-serializinghtml tornado typing_extensions tzdata urllib3 websocket-client Werkzeug yarl
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![GridPath Test Suite Status](https://github.com/blue-marble/gridpath/actions/workflows/test_gridpath.yml/badge.svg?branch=main)](https://github.com/blue-marble/gridpath/actions/workflows/test_gridpath.yml)
[![Documentation Status](https://readthedocs.org/projects/gridpath/badge/?version=latest)](https://gridpath.readthedocs.io/en/latest/?badge=latest)
[![Coverage Status](https://coveralls.io/repos/github/blue-marble/gridpath/badge.svg?branch=main)](https://coveralls.io/github/blue-marble/gridpath?branch=main)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Lint Black](https://github.com/blue-marble/gridpath/actions/workflows/black.yml/badge.svg?branch=main)](https://github.com/blue-marble/gridpath/actions/workflows/black.yml)
[![DOI](https://zenodo.org/badge/65574330.svg)](https://zenodo.org/badge/latestdoi/65574330)

# Welcome to GridPath

<p align="center" width="100%">
    <img src="https://github.com/blue-marble/gridpath/blob/main/doc/graphics/gridpath_logo.png?raw=true" width="20%"/>
</p>

![Approaches](https://github.com/blue-marble/gridpath/blob/main/doc/graphics/approaches.png?raw=true)


GridPath is a versatile power-system planning platform capable of a range of
planning approaches including production-cost, capacity-expansion, 
asset-valuation, and reliability modeling.

# Documentation
GridPath's documentation is hosted on [Read the Docs](https://gridpath.readthedocs.io/en/latest/).

# Installation

## Python
GridPath is tested on Python 3.9, 3.10, and 3.11. Get one of those Python versions [here](https://www.python.org/downloads/ "Python download").

## GridPath Python environment
You should create a Python environment for your GridPath installation, e.g. via 
`venv`, [a lightweight environment manager](https://docs.python.org/3/library/venv.html "venv") 
that is part of the standard Python distribution. Make sure to [create](https://docs.python.org/3/library/venv.html#creating-virtual-environments "create") [activate](https://docs.python.org/3/library/venv.html#how-venvs-work "activate") the environment before installing GridPath.

## Install GridPath from PyPi

Once you have _created and activated_ the GridPath Python environment, you 
can install the latest version of GridPath from PyPi with:

```bash
pip install GridPath
```

## Install GridPath from source

You can alternatively download the GridPath source code and install from 
source.

```bash
pip install .[all]
```

**NOTE:** If you plan to edit the GridPath code, you should install with the `-e` flag.

## Solver
You will need a solver to use this platform. GridPath assumes you will be using Cbc (Coin-or branch and cut) by default, but you can specify a 
different solver.


# Usage

## The gridpath_run and gridpath_run_e2e commands
If you install GridPath via the setup script following the instructions above, 
you can use the command `gridpath_run` to run a scenario from any directory 
-- as long as your GridPath Python environment is enabled -- as follows:
```bash
gridpath_run --scenario SCENARIO_NAME --scenario_location 
/PATH/TO/SCENARIO 
```

If you are using the database, you can use the command `gridpath_run_e2e` to 
run GridPath end-to-end, i.e. get inputs for the scenario from the database, 
solve the scenario problem, import the results into the database, and 
process them. Refer to the documentation for how to build the database.

```bash
gridpath_run_e2e --scenario SCENARIO_NAME --scenario_location 
/PATH/TO/SCENARIO 
```

To see usage and other optional arguments, e.g. how to specify a 
solver, check the help menu, e.g.:
```bash
gridpath_run --help
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://www.gridpath.io",
    "name": "GridPath",
    "maintainer": "Blue Marble Analytics LLC",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "info@gridpath.io",
    "keywords": "energy,electricity,power,renewables,planning,operations",
    "author": "",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/77/ad/8d8989e69bc067393af1c5f8cb21a145ecbb3bd4d22b981eb1f67a3f6afd/GridPath-0.16.1.tar.gz",
    "platform": "MacOS",
    "description": "[![GridPath Test Suite Status](https://github.com/blue-marble/gridpath/actions/workflows/test_gridpath.yml/badge.svg?branch=main)](https://github.com/blue-marble/gridpath/actions/workflows/test_gridpath.yml)\n[![Documentation Status](https://readthedocs.org/projects/gridpath/badge/?version=latest)](https://gridpath.readthedocs.io/en/latest/?badge=latest)\n[![Coverage Status](https://coveralls.io/repos/github/blue-marble/gridpath/badge.svg?branch=main)](https://coveralls.io/github/blue-marble/gridpath?branch=main)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Lint Black](https://github.com/blue-marble/gridpath/actions/workflows/black.yml/badge.svg?branch=main)](https://github.com/blue-marble/gridpath/actions/workflows/black.yml)\n[![DOI](https://zenodo.org/badge/65574330.svg)](https://zenodo.org/badge/latestdoi/65574330)\n\n# Welcome to GridPath\n\n<p align=\"center\" width=\"100%\">\n    <img src=\"https://github.com/blue-marble/gridpath/blob/main/doc/graphics/gridpath_logo.png?raw=true\" width=\"20%\"/>\n</p>\n\n![Approaches](https://github.com/blue-marble/gridpath/blob/main/doc/graphics/approaches.png?raw=true)\n\n\nGridPath is a versatile power-system planning platform capable of a range of\nplanning approaches including production-cost, capacity-expansion, \nasset-valuation, and reliability modeling.\n\n# Documentation\nGridPath's documentation is hosted on [Read the Docs](https://gridpath.readthedocs.io/en/latest/).\n\n# Installation\n\n## Python\nGridPath is tested on Python 3.9, 3.10, and 3.11. Get one of those Python versions [here](https://www.python.org/downloads/ \"Python download\").\n\n## GridPath Python environment\nYou should create a Python environment for your GridPath installation, e.g. via \n`venv`, [a lightweight environment manager](https://docs.python.org/3/library/venv.html \"venv\") \nthat is part of the standard Python distribution. Make sure to [create](https://docs.python.org/3/library/venv.html#creating-virtual-environments \"create\") [activate](https://docs.python.org/3/library/venv.html#how-venvs-work \"activate\") the environment before installing GridPath.\n\n## Install GridPath from PyPi\n\nOnce you have _created and activated_ the GridPath Python environment, you \ncan install the latest version of GridPath from PyPi with:\n\n```bash\npip install GridPath\n```\n\n## Install GridPath from source\n\nYou can alternatively download the GridPath source code and install from \nsource.\n\n```bash\npip install .[all]\n```\n\n**NOTE:** If you plan to edit the GridPath code, you should install with the `-e` flag.\n\n## Solver\nYou will need a solver to use this platform. GridPath assumes you will be using Cbc (Coin-or branch and cut) by default, but you can specify a \ndifferent solver.\n\n\n# Usage\n\n## The gridpath_run and gridpath_run_e2e commands\nIf you install GridPath via the setup script following the instructions above, \nyou can use the command `gridpath_run` to run a scenario from any directory \n-- as long as your GridPath Python environment is enabled -- as follows:\n```bash\ngridpath_run --scenario SCENARIO_NAME --scenario_location \n/PATH/TO/SCENARIO \n```\n\nIf you are using the database, you can use the command `gridpath_run_e2e` to \nrun GridPath end-to-end, i.e. get inputs for the scenario from the database, \nsolve the scenario problem, import the results into the database, and \nprocess them. Refer to the documentation for how to build the database.\n\n```bash\ngridpath_run_e2e --scenario SCENARIO_NAME --scenario_location \n/PATH/TO/SCENARIO \n```\n\nTo see usage and other optional arguments, e.g. how to specify a \nsolver, check the help menu, e.g.:\n```bash\ngridpath_run --help\n```\n",
    "bugtrack_url": null,
    "license": "Apache v2",
    "summary": "A versatile simulation and optimization platform for power-system planning and operations.",
    "version": "0.16.1",
    "project_urls": {
        "Discussions": "https://github.com/blue-marble/gridpath/discussions",
        "Documentation": "https://gridpath.readthedocs.io/en/latest/",
        "Homepage": "https://www.gridpath.io",
        "Issues": "https://github.com/blue-marble/gridpath/issues",
        "Source Code": "https://github.com/blue-marble/gridpath"
    },
    "split_keywords": [
        "energy",
        "electricity",
        "power",
        "renewables",
        "planning",
        "operations"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7e339cd6cc0fb4e33f346516e9f9de0b38713239a52ca865783e64605124b5f1",
                "md5": "9fbe580e823cb49dd6aa14ee6bef3007",
                "sha256": "4e6848ab72fea2925464a20d3f58fbc37c54c2679f9af5b0bd729fbb4627841a"
            },
            "downloads": -1,
            "filename": "GridPath-0.16.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9fbe580e823cb49dd6aa14ee6bef3007",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 1265691,
            "upload_time": "2023-12-14T18:40:47",
            "upload_time_iso_8601": "2023-12-14T18:40:47.701240Z",
            "url": "https://files.pythonhosted.org/packages/7e/33/9cd6cc0fb4e33f346516e9f9de0b38713239a52ca865783e64605124b5f1/GridPath-0.16.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "77ad8d8989e69bc067393af1c5f8cb21a145ecbb3bd4d22b981eb1f67a3f6afd",
                "md5": "c0c2a317547fbc3bba3711985589068f",
                "sha256": "79ea9b1483238c05ce36f61c297788c411e79a62c31a558223ed8745e89228d5"
            },
            "downloads": -1,
            "filename": "GridPath-0.16.1.tar.gz",
            "has_sig": false,
            "md5_digest": "c0c2a317547fbc3bba3711985589068f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 593018,
            "upload_time": "2023-12-14T18:40:49",
            "upload_time_iso_8601": "2023-12-14T18:40:49.787703Z",
            "url": "https://files.pythonhosted.org/packages/77/ad/8d8989e69bc067393af1c5f8cb21a145ecbb3bd4d22b981eb1f67a3f6afd/GridPath-0.16.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-14 18:40:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "blue-marble",
    "github_project": "gridpath",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "aiohttp",
            "specs": [
                [
                    "==",
                    "3.9.1"
                ]
            ]
        },
        {
            "name": "aiosignal",
            "specs": [
                [
                    "==",
                    "1.3.1"
                ]
            ]
        },
        {
            "name": "alabaster",
            "specs": [
                [
                    "==",
                    "0.7.13"
                ]
            ]
        },
        {
            "name": "aniso8601",
            "specs": [
                [
                    "==",
                    "9.0.1"
                ]
            ]
        },
        {
            "name": "attrs",
            "specs": [
                [
                    "==",
                    "23.1.0"
                ]
            ]
        },
        {
            "name": "Babel",
            "specs": [
                [
                    "==",
                    "2.14.0"
                ]
            ]
        },
        {
            "name": "black",
            "specs": [
                [
                    "==",
                    "23.12.0"
                ]
            ]
        },
        {
            "name": "bokeh",
            "specs": [
                [
                    "==",
                    "2.2.3"
                ]
            ]
        },
        {
            "name": "certifi",
            "specs": [
                [
                    "==",
                    "2023.11.17"
                ]
            ]
        },
        {
            "name": "charset-normalizer",
            "specs": [
                [
                    "==",
                    "3.3.2"
                ]
            ]
        },
        {
            "name": "click",
            "specs": [
                [
                    "==",
                    "8.1.7"
                ]
            ]
        },
        {
            "name": "coverage",
            "specs": [
                [
                    "==",
                    "6.5.0"
                ]
            ]
        },
        {
            "name": "coveralls",
            "specs": [
                [
                    "==",
                    "3.3.1"
                ]
            ]
        },
        {
            "name": "dill",
            "specs": [
                [
                    "==",
                    "0.3.7"
                ]
            ]
        },
        {
            "name": "dnspython",
            "specs": [
                [
                    "==",
                    "2.4.2"
                ]
            ]
        },
        {
            "name": "docopt",
            "specs": [
                [
                    "==",
                    "0.6.2"
                ]
            ]
        },
        {
            "name": "docutils",
            "specs": [
                [
                    "==",
                    "0.20.1"
                ]
            ]
        },
        {
            "name": "eventlet",
            "specs": [
                [
                    "==",
                    "0.33.3"
                ]
            ]
        },
        {
            "name": "Flask",
            "specs": [
                [
                    "==",
                    "2.0.1"
                ]
            ]
        },
        {
            "name": "Flask-RESTful",
            "specs": [
                [
                    "==",
                    "0.3.9"
                ]
            ]
        },
        {
            "name": "Flask-SocketIO",
            "specs": [
                [
                    "==",
                    "4.3.2"
                ]
            ]
        },
        {
            "name": "frozenlist",
            "specs": [
                [
                    "==",
                    "1.4.0"
                ]
            ]
        },
        {
            "name": "greenlet",
            "specs": [
                [
                    "==",
                    "3.0.2"
                ]
            ]
        },
        {
            "name": "GridPath",
            "specs": [
                [
                    "==",
                    "0.16.0"
                ]
            ]
        },
        {
            "name": "gurobipy",
            "specs": [
                [
                    "==",
                    "11.0.0"
                ]
            ]
        },
        {
            "name": "idna",
            "specs": [
                [
                    "==",
                    "3.6"
                ]
            ]
        },
        {
            "name": "imagesize",
            "specs": [
                [
                    "==",
                    "1.4.1"
                ]
            ]
        },
        {
            "name": "itsdangerous",
            "specs": [
                [
                    "==",
                    "2.1.2"
                ]
            ]
        },
        {
            "name": "Jinja2",
            "specs": [
                [
                    "==",
                    "3.0.3"
                ]
            ]
        },
        {
            "name": "MarkupSafe",
            "specs": [
                [
                    "==",
                    "2.1.3"
                ]
            ]
        },
        {
            "name": "multidict",
            "specs": [
                [
                    "==",
                    "6.0.4"
                ]
            ]
        },
        {
            "name": "mypy-extensions",
            "specs": [
                [
                    "==",
                    "1.0.0"
                ]
            ]
        },
        {
            "name": "networkx",
            "specs": [
                [
                    "==",
                    "3.1"
                ]
            ]
        },
        {
            "name": "nose",
            "specs": [
                [
                    "==",
                    "1.3.7"
                ]
            ]
        },
        {
            "name": "numpy",
            "specs": [
                [
                    "==",
                    "1.26.2"
                ]
            ]
        },
        {
            "name": "packaging",
            "specs": [
                [
                    "==",
                    "23.2"
                ]
            ]
        },
        {
            "name": "pandas",
            "specs": [
                [
                    "==",
                    "2.1.1"
                ]
            ]
        },
        {
            "name": "pathspec",
            "specs": [
                [
                    "==",
                    "0.12.1"
                ]
            ]
        },
        {
            "name": "Pillow",
            "specs": [
                [
                    "==",
                    "10.1.0"
                ]
            ]
        },
        {
            "name": "platformdirs",
            "specs": [
                [
                    "==",
                    "4.1.0"
                ]
            ]
        },
        {
            "name": "ply",
            "specs": [
                [
                    "==",
                    "3.11"
                ]
            ]
        },
        {
            "name": "pscript",
            "specs": [
                [
                    "==",
                    "0.7.5"
                ]
            ]
        },
        {
            "name": "psutil",
            "specs": [
                [
                    "==",
                    "5.9.6"
                ]
            ]
        },
        {
            "name": "Pygments",
            "specs": [
                [
                    "==",
                    "2.17.2"
                ]
            ]
        },
        {
            "name": "Pyomo",
            "specs": [
                [
                    "==",
                    "6.5.0"
                ]
            ]
        },
        {
            "name": "python-dateutil",
            "specs": [
                [
                    "==",
                    "2.8.2"
                ]
            ]
        },
        {
            "name": "python-engineio",
            "specs": [
                [
                    "==",
                    "3.14.2"
                ]
            ]
        },
        {
            "name": "python-socketio",
            "specs": [
                [
                    "==",
                    "4.6.1"
                ]
            ]
        },
        {
            "name": "pytz",
            "specs": [
                [
                    "==",
                    "2023.3.post1"
                ]
            ]
        },
        {
            "name": "PyUtilib",
            "specs": [
                [
                    "==",
                    "6.0.0"
                ]
            ]
        },
        {
            "name": "PyYAML",
            "specs": [
                [
                    "==",
                    "6.0.1"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    "==",
                    "2.31.0"
                ]
            ]
        },
        {
            "name": "six",
            "specs": [
                [
                    "==",
                    "1.16.0"
                ]
            ]
        },
        {
            "name": "snowballstemmer",
            "specs": [
                [
                    "==",
                    "2.2.0"
                ]
            ]
        },
        {
            "name": "Sphinx",
            "specs": [
                [
                    "==",
                    "7.2.6"
                ]
            ]
        },
        {
            "name": "sphinx-argparse",
            "specs": [
                [
                    "==",
                    "0.4.0"
                ]
            ]
        },
        {
            "name": "sphinxcontrib-applehelp",
            "specs": [
                [
                    "==",
                    "1.0.7"
                ]
            ]
        },
        {
            "name": "sphinxcontrib-devhelp",
            "specs": [
                [
                    "==",
                    "1.0.5"
                ]
            ]
        },
        {
            "name": "sphinxcontrib-htmlhelp",
            "specs": [
                [
                    "==",
                    "2.0.4"
                ]
            ]
        },
        {
            "name": "sphinxcontrib-jsmath",
            "specs": [
                [
                    "==",
                    "1.0.1"
                ]
            ]
        },
        {
            "name": "sphinxcontrib-qthelp",
            "specs": [
                [
                    "==",
                    "1.0.6"
                ]
            ]
        },
        {
            "name": "sphinxcontrib-serializinghtml",
            "specs": [
                [
                    "==",
                    "1.1.9"
                ]
            ]
        },
        {
            "name": "tornado",
            "specs": [
                [
                    "==",
                    "6.4"
                ]
            ]
        },
        {
            "name": "typing_extensions",
            "specs": [
                [
                    "==",
                    "4.9.0"
                ]
            ]
        },
        {
            "name": "tzdata",
            "specs": [
                [
                    "==",
                    "2023.3"
                ]
            ]
        },
        {
            "name": "urllib3",
            "specs": [
                [
                    "==",
                    "2.1.0"
                ]
            ]
        },
        {
            "name": "websocket-client",
            "specs": [
                [
                    "==",
                    "1.7.0"
                ]
            ]
        },
        {
            "name": "Werkzeug",
            "specs": [
                [
                    "==",
                    "2.0.2"
                ]
            ]
        },
        {
            "name": "yarl",
            "specs": [
                [
                    "==",
                    "1.9.4"
                ]
            ]
        }
    ],
    "lcname": "gridpath"
}
        
Elapsed time: 0.19100s