A python version of the NYgrid model
Project description
NYgrid-python
A python version of the NYgrid model.
It contains the following components:
- Optimal power flow (OPF) model
- Renewable integration
- Building electrification
- Battery storage
- Electric vehicle (EV) charging
Installation
git clone https://github.com/boyuan276/NYgrid-python.git
- Create a conda environment:
conda env create -f NYgrid-python.yml
- Activate the environment:
conda activate NYgrid-python
- Install the package:
pip install -e .
Usage
- Activate the environment:
conda activate NYgrid-python
-
Run the model:
-
Go to the
examplesfolder. -
Run the model with default parameters:
python ex_opf_wo_renew.py -
Run the model with renewable integration:
# With future distributed solar integration python ex_opf_w_future_solar.py # With offshore wind integration python ex_opf_w_offshore_wind.py # With solar, offshore wind, and building electrification integration python ex_opf_w_renew.py
-
Note: Renewable timeseries data need to be prepared before running the model.
See also
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nygrid-0.1.0.tar.gz.
File metadata
- Download URL: nygrid-0.1.0.tar.gz
- Upload date:
- Size: 33.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b070d3cf78e6d271f7ce09fee17d936482231924a32c071fafaedb10bcdc16f0
|
|
| MD5 |
b8473d36c7b4c5f7950fb76d697bee4e
|
|
| BLAKE2b-256 |
eef57f611717d179f65d5c07eeb38a117df1ead884dfe3a434fe55ea4f35b8aa
|
File details
Details for the file nygrid-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nygrid-0.1.0-py3-none-any.whl
- Upload date:
- Size: 33.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a17a4d9271666d25b5884e51ed172ea6ef932e5d8ac1160805b18ec6f45682df
|
|
| MD5 |
af39d14942e2186d0b2b6b65737688e9
|
|
| BLAKE2b-256 |
65617e4be2ade416cbacf731096ca9a2f4370944d5c7e41b5f5a415b9a63c337
|