A versatile simulation and optimization platform for power-system planning and operations.
Project description
Welcome to GridPath
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.
Installation
Python
GridPath is tested on Python 3.9, 3.10, and 3.11. Get one of those Python versions here.
GridPath Python environment
You should create a Python environment for your GridPath installation, e.g. via
venv
, a lightweight environment manager
that is part of the standard Python distribution. Make sure to create 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:
pip install GridPath
Install GridPath from source
You can alternatively download the GridPath source code and install from source.
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:
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.
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.:
gridpath_run --help
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gridpath-2024.2.0.tar.gz
.
File metadata
- Download URL: gridpath-2024.2.0.tar.gz
- Upload date:
- Size: 645.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edd9fba1e0a74ba5936bc572b5c46d91be222b20cd50b011f204ee6f9f2d0787 |
|
MD5 | 84e7c2128ea3ec8809ecac05ed2a3ded |
|
BLAKE2b-256 | bfdd669816af59113fac652de6b27581d2558dcafd17fd5b41293a24d5fa113a |
File details
Details for the file GridPath-2024.2.0-py3-none-any.whl
.
File metadata
- Download URL: GridPath-2024.2.0-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b886127cd16e07a1417d52f1481d4a06d1a1901e7a5e62ab5ceeb0b051d8e42 |
|
MD5 | 5a5efef3123544bf7235f41dadeaa9d7 |
|
BLAKE2b-256 | af680033559852d93ccae64370ab1c3a992d7f203b4351431892dd3c696cb070 |