ROSCO

NREL's Reference OpenSource Controller for wind turbine applications.
https://github.com/NREL/ROSCO

Category: Renewable Energy
Sub Category: Wind Energy

Keywords from Contributors

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

Last synced: about 2 hours ago
JSON representation

Repository metadata

A Reference Open Source Controller for Wind Turbines

README.md

NREL's Reference OpenSource Controller (ROSCO) toolbox for wind turbine applications

NREL's Reference OpenSource Controller (ROSCO) for wind turbine applications is a toolset designed to ease controller use and implementation for the wind turbine researcher. Some primary capabilities include:

  • A reference controller with industry-standard functionality
  • Generic tuning of NREL's ROSCO controller
  • Simple 1-DOF turbine simulations for quick controller capability verifications
  • Parsing of OpenFAST input and output files

Part of the WETO Stack

ROSCO 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:

Introduction

The NREL Reference OpenSource Controller (ROSCO) provides an open, modular and fully adaptable baseline wind turbine controller to the scientific community. The ROSCO toolbox leverages this architecture and implementation to provide a generic tuning process for the controller. Because of the open character and modular set-up, scientists are able to collaborate and contribute in making continuous improvements to the code for the controller and the toolbox. The ROSCO controller is implemented in FORTRAN, while the remainder of the toolset is a mostly-python code base with a number of functionalities.

  • ROSCO - the fortran source code for the ROSCO controller.
  • Examples - short working examples of the capabilities of the ROSCO toolbox.
  • Tune_Cases - example generic tuning scripts for a number of open-source reference turbines.
  • Test_Cases - numerous NREL 5MW bases cases to run for controller updates and comparisons. A "test-suite", if you will...
  • Matlab_Toolbox - MATLAB scripts to parse and plot simulation output data.
  • ofTools - A number of scripts to facilitate usage of OpenFAST and manage OpenFAST input and output files.
  • linear - Scripts to aid with the use of linear models for controller tuning and simplified simulation.

Documentation

All relevant documentation about the ROSCO toolbox and ROSCO controller can be found at through ROSCO's readthedocs webpage. Here, users can find the information on installing the ROSCO tools for control purposes. Additionally, there is information on the standard workflow, details of the input files, use cases for the ROSCO tool-chain, and more.

Issues and Discussion

If you find issues with any of the code that resides in this repository, it is encouraged for you to open a GitHub issue. If you have general questions or comments regarding the code, please start a discussion via GitHub. We encourage you to use these resources for all ROSCO-related questions and comments, rather than other resources such as the FAST forums. This helps us keep ROSCO-related items centralized, and provides a singular place for the community to look when they have questions that might arise. Please keep in mind that we will do our very best to respond in a timely manner, but may take a few days to get back to you if you catch us during a busy time.

Compatibility

The ROSCO control library should be compatible with any multi-physics simulator that uses the Bladed-style avrSWAP; this includes any version of OpenFAST.
OpenFAST (after version 3.5.0) has an extended avrSWAP with additional sensors and actuators that can be enabled in the DISCON.IN file using Ext_Interface.
Simulators other than OpenFAST should have Ext_Interface set to 0.

The python-based ROSCO toolbox for tuning control inputs reads an OpenFAST input file during that process.
The openfast-io package is now used for input file reading and writing.
The currently compatible version can be found in the environment.yml file.
OpenFAST inputs used in the controller tuning process should be consistent with that version.

Contributing

If it wasn't obvious from open-source being in the title of the tool-set, this is an open-source code base that we would love for the community to contribute to. If you find yourself fixing any bugs, writing new routines, or even making small typo changes, please submit a pull request.

Survey

Please help us better understand the ROSCO user-base and how we can improve rosco through this brief survey:
ROSCO toolchain survey

Referencing

To reference the ROSCO source code directly, please use the following DOI:
DOI

If the ROSCO Toolbox played a role in your research, please cite it. This software can be
cited as:

NREL: ROSCO. Version 2.4.1, https://github.com/NREL/ROSCO, 2021.

For LaTeX users:

@misc{ROSCO_toolbox_2021,
    author = {NREL},
    title = {{ROSCO. Version 2.4.1}},
    year = {2021},
    publisher = {GitHub},
    journal = {GitHub repository},
    url = {https://github.com/NREL/ROSCO}
    }

If the ROSCO generic tuning theory and implementation played a roll in your research, please cite the following paper

@Article{wes-2021-19,
AUTHOR = {Abbas, N. and Zalkind, D. and Pao, L. and Wright, A.},
TITLE = {A Reference Open-Source Controller for Fixed and Floating Offshore Wind Turbines},
JOURNAL = {Wind Energy Science Discussions},
VOLUME = {2021},
YEAR = {2021},
PAGES = {1--33},
URL = {https://wes.copernicus.org/preprints/wes-2021-19/},
DOI = {10.5194/wes-2021-19}
}

Additional Contributors and Acknowledgments

Primary contributions to ROSCO have been provided by researchers the National Renewable Energy Laboratory and the University of Colorado Boulder. Additionally, the ROSCO controller was built upon the foundations of the Delft Research Controller. Much of the intellect behind these contributions has been inspired or derived from an extensive amount of work in the literature. The bulk of this has been cited through the primary publications about this work.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 3 days ago

Total Commits: 433
Total Committers: 15
Avg Commits per committer: 28.867
Development Distribution Score (DDS): 0.402

Commits in past year: 13
Committers in past year: 2
Avg Commits per committer in past year: 6.5
Development Distribution Score (DDS) in past year: 0.077

Name Email Commits
Nikhar Abbas n****s@c****u 259
Sebastiaan Mulders s****s@t****l 79
dzalkind 6****d 69
Rafael M Mudafort r****f@g****m 8
Bartdoekemeijer B****r@t****l 4
nikhar-abbas n****s@g****m 3
info@sebastiaanmulders.nl i****o@s****l 2
Gustavo Hylander 7****r 2
jnsburke 7****e 1
Pietro Bortolotti p****i@g****m 1
Garrett Barter g****r@n****v 1
David Heffernan d****f@g****m 1
Abhineet Gupta a****a@n****v 1
Sebastiaan Mulders s****d@t****t 1
Bart Doekemeijer b****r@h****c 1

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 178
Total pull requests: 264
Average time to close issues: about 2 months
Average time to close pull requests: 21 days
Total issue authors: 106
Total pull request authors: 35
Average comments per issue: 3.55
Average comments per pull request: 0.74
Merged pull request: 207
Bot issues: 0
Bot pull requests: 0

Past year issues: 35
Past year pull requests: 42
Past year average time to close issues: 26 days
Past year average time to close pull requests: 13 days
Past year issue authors: 26
Past year pull request authors: 8
Past year average comments per issue: 2.29
Past year average comments per pull request: 0.88
Past year merged pull request: 28
Past year bot issues: 0
Past year bot pull requests: 0

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

Top Issue Authors

  • dzalkind (13)
  • ghylander (7)
  • rdamiani (6)
  • WANG-KUI-TJU (5)
  • Tomedssa (4)
  • Fede-274 (4)
  • SYZ622 (4)
  • ElioDaka (3)
  • Yuksel-Rudy (3)
  • TheMercer (3)
  • lqw075 (3)
  • R-Quancard (3)
  • Sam-Ramsahoye (3)
  • abelvanweert123 (3)
  • GBA217 (3)

Top Pull Request Authors

  • dzalkind (125)
  • nikhar-abbas (46)
  • abhineet-gupta (14)
  • gbarter (11)
  • ptrbortolotti (7)
  • rthedin (5)
  • Zeffar (4)
  • dstockhouse (4)
  • mfekrysaidahmed (3)
  • AthulKrishnaSundarrajan (3)
  • aclerc (3)
  • rafmudaf (3)
  • jfrederik-nrel (3)
  • mayankchetan (3)
  • ArnoldTUB (2)

Top Issue Labels

  • help wanted (1)
  • question (1)

Top Pull Request Labels


Package metadata

proxy.golang.org: github.com/nrel/rosco

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/nrel/rosco#section-documentation
  • Licenses: apache-2.0
  • Latest release: v2.10.3+incompatible (published 29 days ago)
  • Last Synced: 2025-12-24T04:05:32.333Z (2 days ago)
  • Versions: 31
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 6.999%
    • Average: 8.173%
    • Dependent repos count: 9.346%
conda-forge.org: rosco

NREL-developed wind turbine controller for bladed-style communications

  • Homepage: https://github.com/NREL/rosco
  • Licenses: Apache-2.0
  • Latest release: 2.6.0 (published over 3 years ago)
  • Last Synced: 2025-12-01T10:03:15.010Z (25 days ago)
  • Versions: 11
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Forks count: 22.356%
    • Dependent repos count: 34.025%
    • Average: 35.997%
    • Stargazers count: 36.431%
    • Dependent packages count: 51.175%
pypi.org: rosco

A reference open source controller toolset for wind turbine applications.

  • Homepage: https://github.com/NREL/ROSCO
  • Documentation: https://rosco.readthedocs.io
  • Licenses: Apache-2.0
  • Latest release: 2.10.3 (published 29 days ago)
  • Last Synced: 2025-12-24T04:05:30.892Z (2 days ago)
  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 3,066 Last month
  • Rankings:
    • Dependent packages count: 10.051%
    • Average: 38.205%
    • Dependent repos count: 66.36%
  • Maintainers (1)

Dependencies

.github/workflows/CI_rosco-compile.yml actions
  • actions/checkout v3 composite
  • conda-incubator/setup-miniconda v2 composite
docs/requirements.txt pypi
  • furo *
  • sphinx >4.0.0
setup.py pypi
.github/workflows/Publish_ROSCO.yml actions
  • actions/checkout v3 composite
  • actions/checkout v4 composite
  • actions/download-artifact v4 composite
  • actions/upload-artifact v4 composite
  • awvwgk/setup-fortran v1 composite
  • pypa/cibuildwheel v2.16.2 composite
  • pypa/gh-action-pypi-publish release/v1 composite
environment.yml conda
  • cmake
  • cmake-build-extension
  • compilers
  • control
  • make
  • matplotlib
  • ninja
  • numpy
  • pandas
  • pyparsing
  • pytest
  • pyyaml
  • pyzmq
  • scipy
  • sphinx_rtd_theme
  • treon
  • wisdem
pyproject.toml pypi
  • control *
  • matplotlib *
  • numpy *
  • pandas *
  • pyYAML *
  • pyparsing *
  • pyzmq *
  • ruamel.yaml *
  • scipy *
  • treon *
  • wisdem *

Score: 15.805409567436694