https://github.com/blutjens/wisosuper
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.0%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: blutjens
- Default Branch: main
- Size: 1.03 GB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
WiSoSuper: Benchmarking Super-Resolution Models on Wind and Solar Data
Caltech SURF Project for 2020-2021
Rupa Kurinchi-Vendhan, Björn Lütjens, Ritwik Gupta, Lucien Werner*, Dava Newman
Abstract
As the United States constructs additional renewable wind and solar energy power plants, policy makers in charge of operational decision making, scheduling, and resource allocation are faced with challenges introduced by the variability in spatial resolution in solar irradiance and wind speeds. Physics-based short-term forecasting models predict wind speeds and solar irradiance fields at coarse resolutions. Thus, machine learning-based super-resolution methods have been developed to provide higher fidelity for decision making. We generate a machine-learning ready dataset of wind and solar data from NREL databases. Additionally, we present a benchmark of super-resolution methods against this data. In addition to simple interpolation methods, we investigate three machine learning methods: the physics-informed resolution-enhancing generative adversarial network (PhIREGAN) model, the enhanced super-resolution generative adversarial network (ESRGAN), and an enhanced deep super-resolution (EDSR) network.
Dataset
The dataset used for this project is available through the data.ipynb notebook. This file also contains instructions for generating your own machine learning-ready dataset, with flexibility to change the parameters inputted to NREL's WIND Toolkit and NSRDB.
Quick Links:
Training
To train the PhIREGAN, ESRGAN, or EDSR models to achieve 5x super-resolution (SR), use the following commands.
PhIREGAN
main.py --model=phiregan --mode=train --data_dir=path/to/train/data --data_type=data_type
Here, data should be a folder of TFRecords. The data_type can either be wind or solar. To train the SR CNN, replace phiregan with srcnn.
ESRGAN
main.py --model=esrgan --mode=train --data_dir=path/to/train/data
As opposed to the PhIREGAN, the data directories for EDSR and ESRGAN must be a folder with HR and LR subdirectories of images.
EDSR
main.py --model=edsr --mode=train --data_dir=path/to/train/data --valid_dir=path/to/valid/data --cuda=0
Testing
Once you have trained your models, use the commands below to run them on test data.
PhIREGAN
main.py --model=phiregan --mode=test --data_dir=path/to/test/data --data_type=data_type
To test the SR CNN, replace phiregan with srcnn.
ESRGAN
main.py --model=esrgan --mode=test --data_dir=path/to/test/data --save_dir=path/to/save
Here, save_dir is the directory where SR outputs should be saved.
EDSR
main.py --model=edsr --mode=test --data_dir=path/to/test/data --save_dir=path/to/save --model_path=path/to/model --cuda=0
Comparison
To calculate the standard image quality metric values for the SR outputs of each model, use test.py. Alternatively, you can generate kinetic energy spectra using energy.py and normalized semivariograms using semivariogram.py.
Owner
- Name: Björn Lütjens (he/him)
- Login: blutjens
- Kind: user
- Company: MIT
- Website: https://blutjens.github.io/
- Twitter: bjornlutjens
- Repositories: 31
- Profile: https://github.com/blutjens
Postdoctoral Associate in tackling climate change with AI @ MIT. Project overview at https://blutjens.github.io/
GitHub Events
Total
Last Year
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| rupakv0827 | r****n@g****m | 38 |
| rupakv0287 | r****7@g****m | 5 |
| Rupa Kurinchi-Vendhan | 6****n | 4 |
| Rupa Kurinchi-Vendhan | 6****7 | 1 |
Issues and Pull Requests
Last synced: over 2 years ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- Keras ==2.1.6
- Keras-Applications ==1.0.7
- Keras-Preprocessing ==1.0.9
- Markdown ==3.1.1
- Pillow ==6.0.0
- PyWavelets ==1.0.3
- PyYAML ==5.1
- Werkzeug ==0.15.4
- absl-py ==0.7.1
- alt-model-checkpoint ==1.0.1
- astor ==0.8.0
- bleach ==1.5.0
- cycler ==0.10.0
- data ==0.4
- decorator ==4.4.0
- funcsigs ==1.0.2
- gast ==0.2.2
- grpcio ==1.21.1
- h5py ==2.9.0
- html5lib ==0.9999999
- imageio ==2.5.0
- kiwisolver ==1.1.0
- matplotlib ==3.0.3
- mock ==3.0.5
- networkx ==2.3
- numpy ==1.16.3
- protobuf ==3.7.1
- pyparsing ==2.4.0
- python-dateutil ==2.8.0
- scikit-image ==0.15.0
- scipy ==1.3.0
- six ==1.12.0
- tensorboard ==1.9.0
- tensorboardX ==1.7
- tensorflow-gpu ==1.9.0
- termcolor ==1.1.0
- numpy ==1.16.2
- python-openCV ==4.1.0
- scikit-learn ==0.20.3
- tensorflow-gpu ==1.12.0