FLORIS Wake Modeling Utility

For technical questions regarding FLORIS usage please first search for or post your questions to stackoverflow using the floris tag. Alternatively, email the NREL FLORIS team at NREL.Floris@nrel.gov.

Background and Objectives

This FLORIS framework is designed to provide a computationally inexpensive, controls-oriented modeling tool of the steady-state wake characteristics in a wind farm. The wake models implemented in this version of FLORIS are:

  • Jensen model for velocity deficit

  • Jimenez model for wake deflection

  • Multi zone model for velocity deficit

  • Gaussian models for wake deflection and velocity deficit

  • Gauss-Curl-Hybrid (GCH) model for second-order wake steering effects

  • Curl model for wake deflection and velocity deficit

Further, all wake models can now be overlayed onto spatially heterogenous inflows. More information on all models can be found in Theory Reference.

FLORIS further includes a suite of design and analysis tools useful in wind farm control and co-designed layout optimization. Examples include:

  • Methods for optimization and design of wind farm control and layout

  • Visualization methods for flow analysis

  • Methods for wind rose and annual energy production analysis

  • Methods for analysis of field campaigns of wind farm control

  • Coupling methods to other tools, including SOWFA and CC-Blade

  • Methods to model heterogenous atmospheric conditions

Example applications of these tools are provided in the examples/ folder, and it is highly recommended that new users begin with those in examples/_getting_started.

See [1] for practical information on using floris as a modeling and simulation tool for controls research.

References:

1

J. Annoni, P. Fleming, A. Scholbrock, J. Roadman, S. Dana, C. Adcock, F. Porte-Agel, S. Raach, F. Haizmann, and D. Schlipf. Analysis of control-oriented wake modeling tools using lidar field results. Wind Energy Science, 3(2):819–831, 2018. URL: https://www.wind-energ-sci.net/3/819/2018/, doi:10.5194/wes-3-819-2018.

Citation

https://zenodo.org/badge/178914781.svg

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

FLORIS. Version 2.0.1 (2020). Available at https://github.com/NREL/floris.

For LaTeX users:

@misc{FLORIS_2020,
author = {NREL},
title = {{FLORIS. Version 2.0.1}},
year = {2020},
publisher = {GitHub},
journal = {GitHub repository},
url = {https://github.com/NREL/floris}
}

Installation

The FLORIS repository consists of two primary branches:

  • master - Stable release corresponding to a specific version number.

  • develop - Latest updates including bug fixes and improvements.

These can be cloned (i.e. downloaded) directly from GitHub with one of the following commands:

# master branch
git clone https://github.com/nrel/floris -b master

# develop branch
git clone https://github.com/nrel/floris -b develop

After obtaining the source code, it can be “installed” using pip or another Python package manager. With pip, there are two options:

  • local editable install

  • using a tagged release version from the pip repo

For consistency between all developers, it is recommended to use Python virtual environments; this link provides a great introduction. Using virtual environments in a Jupyter Notebook is described here.

Local Editable Installation

The local editable installation allows developers to maintain an importable instance of FLORIS while continuing to extend it. The alternative is to constantly update python paths within the package to match the local environment.

Before doing the local install, the source code repository must be cloned directly from GitHub:

git clone https://github.com/nrel/floris

Then, using the local editable installation is as simple as running the following command from the parent directory of the cloned repository:

pip install -e floris

Finally, test the installation by starting a python terminal and importing FLORIS:

import floris

pip Repo Installation

The FLORIS version available through the pip repository is typically the latest tagged and released major version. This version represents the most recent stable, tested, and validated code.

In this case, there is no need to download the source code directly. FLORIS and its dependencies can be installed with:

pip install floris

Dependencies

FLORIS has dependencies on various math, statistics, and plotting libraries in addition to other general purpose packages. For the simulation and tool modules, the dependencies are listed in floris/requirements.txt. The documentation has additional requirements listed in floris/docs/requirements.txt.

The requirements files can be used to install everything with:

pip install -r requirements.txt

License

Copyright 2020 NREL

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.