Skip to content

A python version of the NYgrid model.

License

Notifications You must be signed in to change notification settings

sgcc/NYgrid-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NYgrid-python

A python version of the NYgrid model.

Installation

  1. Install Anaconda.
  2. Install Git.
  3. Clone the repository:
git clone https://github.com/boyuan276/NYgrid-python.git
  1. Create a conda environment:
conda env create -f NYgrid-python.yml
  1. Activate the environment:
conda activate NYgrid-python
  1. Install the package:
pip install -e .

Usage

  1. Activate the environment:
conda activate NYgrid-python
  1. Run the model:

Go to the examples folder.

  1. Run the model with default parameters:
python ex_opf_wo_renew.py
  1. 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

About

A python version of the NYgrid model.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 56.3%
  • Jupyter Notebook 43.7%