Skip to content

Commit

Permalink
Merge pull request NREL#169 from zerweck/patch-1
Browse files Browse the repository at this point in the history
Bugfix: Sort frequency for AEP calculations
  • Loading branch information
bayc authored Nov 18, 2020
2 parents ec89c14 + 3a3da83 commit 6a0cd05
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ Citation
If FLORIS played a role in your research, please cite it. This software can be
cited as:

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

For LaTeX users:

.. code-block:: latex

@misc{FLORIS_2020,
author = {NREL},
title = {{FLORIS. Version 2.2.1},
title = {{FLORIS. Version 2.2.2},
year = {2020},
publisher = {GitHub},
journal = {GitHub repository},
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
# |version| and |release|, also used in various other places throughout the
# built documents.
#
version = "2.2.1"
release = "2.2.1"
version = "2.2.2"
release = "2.2.2"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ Citation
If FLORIS played a role in your research, please cite it. This software can be
cited as:

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

For LaTeX users:

.. code-block:: latex

@misc{FLORIS_2020,
author = {NREL},
title = {{FLORIS. Version 2.2.1}},
title = {{FLORIS. Version 2.2.2}},
year = {2020},
publisher = {GitHub},
journal = {GitHub repository},
Expand Down
1 change: 1 addition & 0 deletions floris/tools/floris_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -1191,6 +1191,7 @@ def get_farm_AEP(
inds = np.argsort(ws)
ws = ws[inds]
wd = wd[inds]
freq = freq[inds]

# keep track of wind speeds where power stops increasing for each wind
# direction
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
EMAIL = "[email protected]"
AUTHOR = "NREL National Wind Technology Center"
REQUIRES_PYTHON = ">=3.6.0"
VERSION = "2.2.1"
VERSION = "2.2.2"

# What packages are required for this module to be executed?
REQUIRED = [
Expand Down

0 comments on commit 6a0cd05

Please sign in to comment.