Skip to main content

A controls-oriented engineering wake model.

Project description

FLORIS Wake Modeling Utility

Further documentation is available at http://floris.readthedocs.io/.

For technical questions regarding FLORIS usage please post your questions to GitHub Discussions <https://github.com/NREL/floris/discussions>_ on the FLORIS repository. We no longer plan to actively answer questions on StackOverflow and will use GitHub Discussions as the main forum for FLORIS. Alternatively, email the NREL FLORIS team at christopher.bay@nrel.gov <mailto:christopher.bay@nrel.gov>, bart.doekemeijer@nrel.gov <mailto:bart.doekemeijer@nrel.gov>, rafael.mudafort@nrel.gov <mailto:rafael.mudafort@nrel.gov>, or paul.fleming@nrel.gov <mailto:paul.fleming@nrel.gov>.

.. image:: https://github.com/nrel/floris/workflows/Automated%20tests%20%26%20code%20coverage/badge.svg :target: https://github.com/nrel/floris/actions .. image:: https://codecov.io/gh/nrel/floris/branch/develop/graph/badge.svg :target: https://codecov.io/gh/nrel/floris .. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black

Background and Objectives

This FLORIS framework is designed to provide a computationally efficient, 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
  • Gauss model for wake deflection and velocity deficit
  • Multi zone model for wake deflection and velocity deficit
  • Curl model for wake deflection and velocity deficit
  • TurbOPark model for wake velocity deficit

More information on all of these models can be found in the theory <https://floris.readthedocs.io/en/develop/source/theory.html>_ section of the online documentation.

A couple of publications with practical information on using floris as a modeling and simulation tool for controls research are

  1. Annoni, J., Fleming, P., Scholbrock, A., Roadman, J., Dana, S., Adcock, C., Porté-Agel, F, Raach, S., Haizmann, F., and Schlipf, D.: Analysis of control-oriented wake modeling tools using lidar field results <https://www.wind-energ-sci.net/3/819/2018/>__, in: Wind Energy Science, vol. 3, pp. 819-831, Copernicus Publications, 2018.

Citation

.. image:: https://zenodo.org/badge/178914781.svg :target: https://zenodo.org/badge/latestdoi/178914781

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

FLORIS. Version 2.5.2 (2021). Available at https://github.com/NREL/floris.

For LaTeX users:

.. code-block:: latex

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

.. _installation:

Installation

For full installation instructions, see https://floris.readthedocs.io/en/latest/source/installation.html.

Users who want to run FLORIS without downloading the full source code can install with pip or conda, as shown below.

.. code-block:: bash

# Using pip...
pip install floris         # Latest version
pip install floris==1.1.0  # Specified version number

# Using conda...
conda install -c conda-forge floris        # Latest version
conda install -c conda-forge floris=1.1.0  # Specified version number

To download the source code and use the local code, download the project and add it to your Python path:

.. code-block:: bash

# Download the source code.
git clone https://github.com/NREL/floris.git

# Install into your Python environment
pip install -e floris

Finally, users who will be contributing code to the project should align their environment with the linting and formatting tools used by the FLORIS development team. This is enabled in the setup.py script and can be activated with these commands:

.. code-block:: bash

git clone https://github.com/NREL/floris.git -b develop
cd floris
pip install -e '.[develop]'
pre-commit install

After any form of installation, the environment should be tested. Within a Python shell or a Python script, this code should display information:

.. code-block:: python

import floris
print( help( floris ) )
print( dir( floris ) )
print( help( floris.simulation ) )

License

Copyright 2021 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

http://www.apache.org/licenses/LICENSE-2.0

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

floris-2.5.2.tar.gz (165.8 kB view details)

Uploaded Source

Built Distribution

FLORIS-2.5.2-py3-none-any.whl (242.2 kB view details)

Uploaded Python 3

File details

Details for the file floris-2.5.2.tar.gz.

File metadata

  • Download URL: floris-2.5.2.tar.gz
  • Upload date:
  • Size: 165.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for floris-2.5.2.tar.gz
Algorithm Hash digest
SHA256 ae60a8d26ea9088c98fa8766628e211c51a70862b04698b67335722bf0184088
MD5 2bbccdd6cf3f701b234d5a5f16405111
BLAKE2b-256 ea415e675ec341355af5c830460ed29e01d7f7da8d46e0d024df40d819b1515b

See more details on using hashes here.

File details

Details for the file FLORIS-2.5.2-py3-none-any.whl.

File metadata

  • Download URL: FLORIS-2.5.2-py3-none-any.whl
  • Upload date:
  • Size: 242.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for FLORIS-2.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ce8dc5f754fc6f756cfcb3d4243ee0a1562840dca513b55fe5679087fa2c9b1d
MD5 722e8ebf25f76be7ecaf378eb1f25670
BLAKE2b-256 462d4b48e35deb5dbfc0294c23acd7e63483e19e15aa3b545e23f4e1ffb63313

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page