WEIS

WEIS is a framework that combines multiple tools to enable design optimization of floating offshore wind turbines.
https://github.com/WISDEM/WEIS

Category: Renewable Energy
Sub Category: Wind Energy

Keywords from Contributors

wind openmdao systems-engineering wisdem wind-turbine aeroelasticity wind-energy wind-farm wind-power amrex

Last synced: about 17 hours ago
JSON representation

Repository metadata

Wind Energy with Integrated Servo-controls Toolset

README.md

WEIS

Coverage Status
Actions Status
Documentation Status
DOI

WEIS, Wind Energy with Integrated Servo-control, performs multifidelity co-design of wind turbines. WEIS is a framework that combines multiple NREL-developed tools to enable design optimization of floating offshore wind turbines.

Author: NREL WISDEM & OpenFAST & Control Teams

Part of the WETO Stack

WEIS is primarily developed with the support of the U.S. Department of Energy and is part of the WETO Software Stack. For more information and other integrated modeling software, see:

Documentation

See local documentation in the docs-directory or access the online version at https://weis.readthedocs.io/en/latest/

Packages

WEIS integrates in a unique workflow four models:

  • WISDEM is a set of models for assessing overall wind plant cost of energy (COE).
  • OpenFAST is the community model for wind turbine simulation to be developed and used by research laboratories, academia, and industry.
  • TurbSim is a stochastic, full-field, turbulent-wind simulator.
  • ROSCO provides an open, modular and fully adaptable baseline wind turbine controller to the scientific community.

In addition, three external libraries are added:

  • pCrunch is a collection of tools to ease the process of parsing large amounts of OpenFAST output data and conduct loads analysis.
  • pyOptSparse is a framework for formulating and efficiently solving nonlinear constrained optimization problems.

The core WEIS modules are:

  • aeroelasticse is a wrapper to call OpenFAST
  • control contains the routines calling ROSCO and the routines supporting distributed aerodynamic control devices, such trailing edge flaps
  • gluecode contains the scripts glueing together all models and libraries
  • multifidelity contains the codes to run multifidelity design optimizations
  • optimization_drivers contains various optimization drivers
  • schema contains the YAML files and corresponding schemas representing the input files to WEIS

Installation

On laptop and personal computers, installation with Anaconda is the recommended approach because of the ability to create self-contained environments suitable for testing and analysis. WEIS requires Anaconda 64-bit. However, the conda command has begun to show its age and we now recommend the one-for-one replacement with the Miniforge3 distribution, which is much more lightweight and more easily solves for the package dependencies. Sometimes, using mamba in place of conda with this distribution speeds up the installation process. WEIS is supported on Linux, MAC, Windows Sub-system for Linux (WSL), and native Windows.

The installation instructions below use the environment name, "weis-env," but any name is acceptable. For those working behind company firewalls, you may have to change the conda authentication with conda config --set ssl_verify no. Proxy servers can also be set with conda config --set proxy_servers.http http://id:pw@address:port and conda config --set proxy_servers.https https://id:pw@address:port.

  1. If you are NOT installing WEIS on DOE's HPC system Kestrel, skip step 0 and run step 1 and 2 (skip step 3). If you are on Kestrel, follow steps 0, 1, and 3, and skip step 2. On Kestrel, start by purging existing modules and load conda

    module purge
    module load conda        
    
  2. In a terminal, setup and activate the Anaconda environment

    conda config --add channels conda-forge
    conda install git
    git clone https://github.com/WISDEM/WEIS.git
    cd WEIS
    git checkout branch_name                         # (Only if you want to switch branches, say "develop")
    conda env create --name weis-env -f environment.yml
    conda activate weis-env                          # (if this does not work, try source activate weis-env)
    conda install -y petsc4py=3.22.2 mpi4py pyoptsparse     # (Mac / Linux only, sometimes Windows users may need to install mpi4py)
    
  3. If you are NOT on Kestrel, install the software
    pip install -e .

  4. If you are on Kestrel, first load some modules and then install:
    module load intel-oneapi-compilers intel-oneapi-mpi intel-oneapi-mkl conda
    pip install --no-deps -e . -v

NOTE: To use WEIS again after installation is complete, you will always need to activate the conda environment first with conda activate weis-env (or source activate weis-env). On Kestrel, make sure to reload the necessary modules

For Windows users, we recommend installing git and the m264 packages in separate environments as some of the libraries appear to conflict such that WISDEM cannot be successfully built from source. The git package is best installed in the base environment.

Developer guide

If you plan to contribute code to WEIS, please first consult the developer guide.

Feedback

For software issues please use https://github.com/WISDEM/WEIS/issues.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: about 2 months ago

Total Commits: 4,040
Total Committers: 37
Avg Commits per committer: 109.189
Development Distribution Score (DDS): 0.663

Commits in past year: 234
Committers in past year: 6
Avg Commits per committer in past year: 39.0
Development Distribution Score (DDS) in past year: 0.543

Name Email Commits
Nikhar Abbas n****s@c****u 1362
dzalkind d****d@n****v 994
Garrett Barter g****r@n****v 711
pibo p****i@g****m 400
John Jasa j****1@g****m 310
Sebastiaan Mulders s****s@t****l 79
Rafael M Mudafort r****f@g****m 39
Paul p****g@n****v 26
Jake Nunemaker j****r@g****m 24
Mayank Chetan m****n@g****m 21
Eliot Quon e****n@n****v 9
Sora Ryu 6****u 6
yqliaohk y****o@u****u 6
nikhar-abbas n****s@g****m 6
dakotaramos r****y@g****m 5
Cory Frontin c****n@n****v 5
AthulKrishnaSundarrajan r****l@g****m 4
Bartdoekemeijer B****r@t****l 4
Evan Gaertner e****r@g****m 3
Emmanuel Branlard e****d@n****v 3
gbarter g****r@e****v 2
Pietro Bortolotti p****o@e****v 2
Daniel Zalkind d****d@k****v 2
info@sebastiaanmulders.nl i****o@s****l 2
Yong Hoon Lee y****e@o****m 2
Abhineet Gupta a****a@n****v 2
Alicia Key a****7 1
Sebastiaan Mulders s****d@t****t 1
Mayank Chetan m****n@x****v 1
Daniel Zalkind d****d@x****v 1
and 7 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 2 months ago

Total issues: 136
Total pull requests: 357
Average time to close issues: 3 months
Average time to close pull requests: 14 days
Total issue authors: 49
Total pull request authors: 19
Average comments per issue: 3.65
Average comments per pull request: 1.27
Merged pull request: 291
Bot issues: 0
Bot pull requests: 0

Past year issues: 47
Past year pull requests: 105
Past year average time to close issues: 21 days
Past year average time to close pull requests: 11 days
Past year issue authors: 18
Past year pull request authors: 9
Past year average comments per issue: 2.19
Past year average comments per pull request: 1.42
Past year merged pull request: 77
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/WISDEM/WEIS

Top Issue Authors

  • yonghoonlee (21)
  • mlidGWT (9)
  • dzalkind (9)
  • hymdrj (7)
  • TheMercer (7)
  • johnjasa (6)
  • ptrbortolotti (6)
  • DeepFriedDerp (6)
  • mcollu (5)
  • bluemiracle4862 (4)
  • EVElove444 (4)
  • Russell9798 (3)
  • fangjianju (3)
  • Wying301 (3)
  • amineeva-GWT (3)

Top Pull Request Authors

  • ptrbortolotti (90)
  • dzalkind (88)
  • gbarter (72)
  • johnjasa (22)
  • mayankchetan (16)
  • nikhar-abbas (11)
  • cfrontin (9)
  • yqliaohk (9)
  • AthulKrishnaSundarrajan (7)
  • abhineet-gupta (6)
  • sora-ryu (5)
  • rafmudaf (5)
  • ewquon (5)
  • yonghoonlee (5)
  • ebranlard (2)

Top Issue Labels

  • bug (2)
  • enhancement (1)

Top Pull Request Labels

  • enhancement (2)
  • bug (1)

Dependencies

docs/requirements.txt pypi
  • marmot-agents *
  • matplotlib *
  • numpy *
  • numpydoc *
  • openmdao >=3.2
  • scipy *
  • simpy *
  • sphinx >2.0
  • sphinx-rtd-theme *
  • sphinxcontrib-bibtex <2.0.0
setup.py pypi
  • control *
  • dill *
  • fatpack *
  • jsonmerge *
  • nlopt *
  • numpy *
  • openmdao >=3.4
  • scipy *
  • smt *
.github/workflows/CI_WEIS.yml actions
  • actions/checkout v2 composite
  • s-weigand/setup-conda v1 composite
.github/workflows/run_exhaustive_examples.yml actions
  • actions/checkout v2 composite
  • s-weigand/setup-conda v1 composite
pyproject.toml pypi
  • marmot-agents >=0.2.5
  • mat4py *
  • moorpy *
  • nlopt *
  • numpy *
  • openmdao <3.28
  • openpyxl *
  • openraft *
  • osqp *
  • pcrunch *
  • pyhams *
  • rosco *
  • scipy *
  • smt *
  • wisdem *
environment.yml conda
  • anyio
  • argon2-cffi
  • arrow
  • async-lru
  • babel
  • beautifulsoup4
  • bleach
  • cffi
  • comm
  • debugpy
  • decorator
  • dill
  • executing
  • fqdn
  • git
  • ipython
  • isoduration
  • jedi
  • jinja2
  • json5
  • jsonmerge
  • jupyter
  • jupyterlab
  • markupsafe
  • mat4py
  • matplotlib
  • meson
  • mistune
  • moorpy
  • ninja
  • nlopt
  • notebook
  • openfast
  • openpyxl
  • openraft
  • osqp
  • overrides
  • pandas
  • parso
  • patsy
  • pcrunch
  • pexpect
  • pip
  • platformdirs
  • psutil
  • ptyprocess
  • pydoe3
  • pygments
  • pyhams
  • pyoptsparse
  • python-json-logger
  • pyzmq
  • qdldl-python
  • qtpy
  • rosco
  • scikit-learn
  • setuptools
  • smt
  • tornado
  • traitlets
  • treon
  • webencodings
  • wisdem

Score: 7.980365765111246