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 first search for or post your questions to stackoverflow <https://stackoverflow.com/questions/tagged/floris>_ using the floris tag. Alternatively, please contact Jen King <mailto:jennifer.king@nrel.gov>, Paul Fleming <mailto:paul.fleming@nrel.gov>, Chris Bay <mailto:chris.bay@nrel.gov>, and Rafael Mudafort <mailto:rafael.mudafort@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
  • 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

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.
  2. Bay, C.J., King, J., Fleming, P., Mudafort, R., and Martínez-Tossas, L.A.: Unlocking the Full Potential of Wake Steering: Implementation and Assessment of a Controls-Oriented Model <https://www.wind-energ-sci-discuss.net/wes-2019-19/>__, submitted to Wind Energy Science Discussions, Copernicus Publications, 2019.

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 1.1.5 (2019). Available at https://github.com/nrel/floris.

For LaTeX users:

.. code-block:: latex

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

.. _installation:

Installation

Using pip, FLORIS can be installed in two ways

  • 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 <https://realpython.com/blog/python/python-virtual-environments-a-primer/>_ provides a great introduction. Using virtual environments in a Jupyter Notebook is described here <https://help.pythonanywhere.com/pages/IPythonNotebookVirtualenvs/>_.

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:

.. code-block:: bash

    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:

.. code-block:: bash

    pip install -e floris

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

.. code-block:: bash

    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:

.. code-block:: bash

    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:

.. code-block:: bash

    pip install -r requirements.txt

License
=======

Copyright 2019 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-1.1.6.tar.gz (64.6 kB view details)

Uploaded Source

Built Distribution

FLORIS-1.1.6-py3-none-any.whl (86.1 kB view details)

Uploaded Python 3

File details

Details for the file FLORIS-1.1.6.tar.gz.

File metadata

  • Download URL: FLORIS-1.1.6.tar.gz
  • Upload date:
  • Size: 64.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

File hashes

Hashes for FLORIS-1.1.6.tar.gz
Algorithm Hash digest
SHA256 69324b215d6fe92bff824e15bf3e1e663107d8662a947d65b73298f9f34dc5c3
MD5 5d2d4f2f2f64ec4157252a970700cd5c
BLAKE2b-256 bf4cb7ea3084c294d6cdc9a2f43331a76d159cd3bc7527ff1d811cc2cf3e433a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: FLORIS-1.1.6-py3-none-any.whl
  • Upload date:
  • Size: 86.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

File hashes

Hashes for FLORIS-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ec2d5e6859ec34286ca84415dd10128258b0dbbb84ecc952708e9548130f9c22
MD5 b0bde48b28ebb870d483243974540e2e
BLAKE2b-256 3f696e689c1ab393e0b1c882734312f3c3ae8d24577fbdee2030acdee78121db

See more details on using hashes here.

Provenance

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