A python version of the NYgrid model.
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 .
- Activate the environment:
conda activate NYgrid-python
- Run the model:
Go to the examples
folder.
- 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.