Farm Optimization and eXtended yield Evaluation Software
Project description
Welcome to foxes
Overview
The software foxes is a modular wind farm simulation and wake modelling toolbox which is based on engineering wake models. It has many applications, for example
- Wind farm optimization, e.g. layout optimization or wake steering,
- Wind farm post-construction analysis,
- Wake model studies, comparison and validation,
- Wind farm simulations invoking complex model chains.
The fast performance of foxes is owed to vectorization and parallelization,
and it is intended to be used for large wind farms and large timeseries inflow data.
The parallelization on local or remote clusters is supported, based on
mpi4py or
dask.distributed.
The wind farm
optimization capabilities invoke the foxes-opt package which
as well supports vectorization and parallelization.
foxes is build upon many years of experience with wake model code development at IWES, starting with the C++ based in-house code flapFOAM (2011-2019) and the Python based direct predecessor flappy (2019-2022).
Documentation: https://fraunhoferiwes.github.io/foxes/index.html
Source code: https://github.com/FraunhoferIWES/foxes
PyPi reference: https://pypi.org/project/foxes/
Anaconda reference: https://anaconda.org/conda-forge/foxes
Citation
Please cite the JOSS paper "FOXES: Farm Optimization and eXtended yield Evaluation Software"
Bibtex:
@article{
Schmidt2023,
author = {Jonas Schmidt and Lukas Vollmer and Martin Dörenkämper and Bernhard Stoevesandt},
title = {FOXES: Farm Optimization and eXtended yield Evaluation Software},
doi = {10.21105/joss.05464},
url = {https://doi.org/10.21105/joss.05464},
year = {2023},
publisher = {The Open Journal},
volume = {8},
number = {86},
pages = {5464},
journal = {Journal of Open Source Software}
}
Requirements
The supported Python versions are Python 3.9...3.13.
Installation
Either install via pip:
pip install foxes
Alternatively, install via conda:
conda install foxes -c conda-forge
Usage
For detailed examples of how to run foxes, check the examples and notebooks folders in this repository. A minimal running example is the following, based on provided static csv data files:
import foxes
if __name__ == "__main__":
states = foxes.input.states.Timeseries("timeseries_3000.csv.gz", ["WS", "WD","TI","RHO"])
farm = foxes.WindFarm()
foxes.input.farm_layout.add_from_file(farm, "test_farm_67.csv", turbine_models=["NREL5MW"])
algo = foxes.algorithms.Downwind(farm, states, ["Jensen_linear_k007"])
farm_results = algo.calc_farm()
print(farm_results)
Testing
For testing, please clone the repository and install the required dependencies:
git clone https://github.com/FraunhoferIWES/foxes.git
cd foxes
pip install -e .[test]
The tests are then run by
pytest tests
Contributing
- Fork foxes on github.
- Create a branch (
git checkout -b new_branch) - Commit your changes (
git commit -am "your awesome message") - Push to the branch (
git push origin new_branch) - Create a pull request here
Acknowledgements
The development of foxes and its predecessors flapFOAM and flappy (internal - non public) has been supported through multiple publicly funded research projects. We acknowledge in particular the funding by the Federal Ministry of Economic Affairs and Climate Action (BMWK) through the projects Smart Wind Farms (grant no. 0325851B), GW-Wakes (0325397B) and X-Wakes (03EE3008A), as well as the funding by the Federal Ministry of Education and Research (BMBF) in the framework of the project H2Digital (03SF0635). We furthermore acknowledge funding by the Horizon Europe project FLOW (Atmospheric Flow, Loads and pOwer for Wind energy - grant id 101084205).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file foxes-1.7.1.tar.gz.
File metadata
- Download URL: foxes-1.7.1.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc6aa2a2064854b6b6d4c80226d53ab491d9e3e9329266d33b0582f7d2107744
|
|
| MD5 |
2fe60289c91e84aefa5ee7c5b1dee44e
|
|
| BLAKE2b-256 |
7127cf823526f7513c05d1fe25db014ea4d4935b3f679202d4a3420c3e9f51a8
|
Provenance
The following attestation bundles were made for foxes-1.7.1.tar.gz:
Publisher:
publish.yml on FraunhoferIWES/foxes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
foxes-1.7.1.tar.gz -
Subject digest:
fc6aa2a2064854b6b6d4c80226d53ab491d9e3e9329266d33b0582f7d2107744 - Sigstore transparency entry: 842529966
- Sigstore integration time:
-
Permalink:
FraunhoferIWES/foxes@542072c39a327a6de48b494b4b9ed1b8b9973451 -
Branch / Tag:
refs/tags/v1.7.1 - Owner: https://github.com/FraunhoferIWES
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@542072c39a327a6de48b494b4b9ed1b8b9973451 -
Trigger Event:
push
-
Statement type:
File details
Details for the file foxes-1.7.1-py3-none-any.whl.
File metadata
- Download URL: foxes-1.7.1-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23d06b2be7de9d398beb300134f950de2fea3ab6b342cb5ef85097184aa45f94
|
|
| MD5 |
8134234e21721a49f53607bd24e15868
|
|
| BLAKE2b-256 |
7992e06b69c7c71667b43f808f6c56b429b61536e2ed4a9a1948522ddbe8ce5c
|
Provenance
The following attestation bundles were made for foxes-1.7.1-py3-none-any.whl:
Publisher:
publish.yml on FraunhoferIWES/foxes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
foxes-1.7.1-py3-none-any.whl -
Subject digest:
23d06b2be7de9d398beb300134f950de2fea3ab6b342cb5ef85097184aa45f94 - Sigstore transparency entry: 842529969
- Sigstore integration time:
-
Permalink:
FraunhoferIWES/foxes@542072c39a327a6de48b494b4b9ed1b8b9973451 -
Branch / Tag:
refs/tags/v1.7.1 - Owner: https://github.com/FraunhoferIWES
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@542072c39a327a6de48b494b4b9ed1b8b9973451 -
Trigger Event:
push
-
Statement type: