Skip to content

TUDelft-DataDrivenControl/vortexwake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vortex Wake

The vortexwake package provides an implementation of free-vortex methods for wind turbine wake modelling in 2D and 3D. It includes partial derivatives for gradient construction using the discrete adjoint. An implementation of the Adam optimiser is included for optimisation.

Full documentation can be found at Documentation.

Installation

Make editable install by cloning development branch from GitHub::

$ git clone https://github.com/TUDelft-DataDrivenControl/vortexwake.git
$ cd vortexwake
$ pip install -e .

Check installation with::

$ python -c "from vortexwake import vortexwake as vw"

Dependencies

Running the code requires Python and numpy. The examples are provided in Jupyter notebooks and use matplotlib for visualisation.

Testing

Run python unittests

$ python -m unittest test_basics.py
$ python -m unittest test_adam.py

Slower integration tests and gradient verification

$ python -m unittest test_slow.py
$ python -m unittest test_fd.py

Citation

If this work plays a role in your research, please cite the following preprint for the paper, available on arXiv:

Maarten J. van den Broek, Delphine De Tavernier, Benjamin Sanderse, Jan-Willem van Wingerden, 'Adjoint Optimisation for Wind Farm Flow Control with a Free-Vortex Wake Model', ArXiv, 2022

@misc{vandenbroek2022vortexwakeArxiv,
    doi = {10.48550/ARXIV.2208.11516},
    url = {https://arxiv.org/abs/2208.11516},
    author = {van den Broek, Maarten J. and De Tavernier, Delphine and Sanderse, Benjamin and van Wingerden, Jan-Willem},
    title = {Adjoint Optimisation for Wind Farm Flow Control with a Free-Vortex Wake Model},
    publisher = {arXiv},
    year = {2022},
}

The code itself may be referenced as:

Maarten J. van den Broek, Vortex Wake, 2022, Available at http://github.com/TUDelft-DataDrivenControl/vortexwake

@misc{vortexwake2022,
    author = {van den Broek, Maarten J.},
    title = {Free-Vortex Wake},
    year = {2022},
    publisher = {GitHub},
    journal = {GitHub repository},
    url = {http://github.com/TUDelft-DataDrivenControl/vortexwake}
}

About

Free-Vortex Wake Modelling with Discrete Adjoint

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages