foxes
A modular wind farm simulation and wake modelling toolbox which is based on engineering wake models.
https://github.com/fraunhoferiwes/foxes
Category: Renewable Energy
Sub Category: Wind Energy
Keywords from Contributors
optimize measur archiving transforms animals observation conversion projection compose generic
Last synced: about 21 hours ago
JSON representation
Repository metadata
Farm Optimization and eXtended yield Evaluation Software
- Host: GitHub
- URL: https://github.com/fraunhoferiwes/foxes
- Owner: FraunhoferIWES
- License: mit
- Created: 2022-04-28T05:02:11.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2026-06-17T08:31:00.000Z (8 days ago)
- Last Synced: 2026-06-18T12:04:48.726Z (7 days ago)
- Language: Python
- Size: 45.1 MB
- Stars: 39
- Watchers: 2
- Forks: 11
- Open Issues: 2
- Releases: 99
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Citation: CITATION.cff
README.md
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
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).
Citation (CITATION.cff)
cff-version: "1.2.0"
authors:
- family-names: Schmidt
given-names: Jonas
orcid: "https://orcid.org/0000-0002-8191-8141"
- family-names: Vollmer
given-names: Lukas
- family-names: Dörenkämper
given-names: Martin
orcid: "https://orcid.org/0000-0002-0210-5733"
- family-names: Stoevesandt
given-names: Bernhard
orcid: "https://orcid.org/0000-0001-6626-1084"
contact:
- family-names: Schmidt
given-names: Jonas
orcid: "https://orcid.org/0000-0002-8191-8141"
doi: 10.5281/zenodo.8027929
message: If you use this software, please cite our article in the
Journal of Open Source Software.
preferred-citation:
authors:
- family-names: Schmidt
given-names: Jonas
orcid: "https://orcid.org/0000-0002-8191-8141"
- family-names: Vollmer
given-names: Lukas
- family-names: Dörenkämper
given-names: Martin
orcid: "https://orcid.org/0000-0002-0210-5733"
- family-names: Stoevesandt
given-names: Bernhard
orcid: "https://orcid.org/0000-0001-6626-1084"
date-published: 2023-06-28
doi: 10.21105/joss.05464
issn: 2475-9066
issue: 86
journal: Journal of Open Source Software
publisher:
name: Open Journals
start: 5464
title: "FOXES: Farm Optimization and eXtended yield Evaluation
Software"
type: article
url: "https://joss.theoj.org/papers/10.21105/joss.05464"
volume: 8
title: "FOXES: Farm Optimization and eXtended yield Evaluation Software"
Owner metadata
- Name: FraunhoferIWES
- Login: FraunhoferIWES
- Email:
- Kind: organization
- Description:
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/88376562?v=4
- Repositories: 4
- Last ynced at: 2023-04-08T21:39:25.267Z
- Profile URL: https://github.com/FraunhoferIWES
GitHub Events
Total
- Release event: 12
- Delete event: 5
- Pull request event: 5
- Fork event: 1
- Issues event: 5
- Watch event: 11
- Issue comment event: 12
- Push event: 275
- Pull request review comment event: 2
- Pull request review event: 6
- Create event: 19
Last Year
- Release event: 4
- Delete event: 1
- Pull request event: 2
- Watch event: 1
- Issue comment event: 3
- Push event: 143
- Pull request review event: 2
- Create event: 5
Committers metadata
Last synced: 3 days ago
Total Commits: 2,034
Total Committers: 13
Avg Commits per committer: 156.462
Development Distribution Score (DDS): 0.428
Commits in past year: 461
Committers in past year: 7
Avg Commits per committer in past year: 65.857
Development Distribution Score (DDS) in past year: 0.154
| Name | Commits | |
|---|---|---|
| Jonas Schmidt | j****t@i****e | 1164 |
| Jonas Schulte | j****e@i****e | 771 |
| MellBeli | b****h@i****e | 55 |
| Balthazar Sengers | b****s@i****e | 25 |
| simonIWES | 1****S | 5 |
| dependabot[bot] | 4****] | 4 |
| Lukas Vollmer | l****r@i****e | 3 |
| Rafael M Mudafort | r****t@n****v | 2 |
| Qianyu Zheng | 1****5 | 1 |
| Marcus Wiens | m****s@i****e | 1 |
| Lukas | l****r@u****e | 1 |
| Hassan Kassem | h****m@i****e | 1 |
| Correoso Garcia | U****8@e****l | 1 |
Committer domains:
- iwes.fraunhofer.de: 7
- uni-oldenburg.de: 1
- nrel.gov: 1
Issue and Pull Request metadata
Last synced: 7 days ago
Total issues: 21
Total pull requests: 28
Average time to close issues: 3 months
Average time to close pull requests: 3 days
Total issue authors: 8
Total pull request authors: 7
Average comments per issue: 2.52
Average comments per pull request: 0.61
Merged pull request: 23
Bot issues: 0
Bot pull requests: 5
Past year issues: 4
Past year pull requests: 5
Past year average time to close issues: 1 day
Past year average time to close pull requests: about 4 hours
Past year issue authors: 3
Past year pull request authors: 3
Past year average comments per issue: 1.75
Past year average comments per pull request: 0.6
Past year merged pull request: 5
Past year bot issues: 0
Past year bot pull requests: 3
Top Issue Authors
- SchmJo (9)
- Wissant (3)
- isdanni (2)
- kikocorreoso (2)
- ngutranquoc (2)
- bjarketol (1)
- shasegawa-2211 (1)
- prof-abdelrahman (1)
Top Pull Request Authors
- SchmJo (14)
- dependabot[bot] (5)
- simonIWES (4)
- kikocorreoso (2)
- qzheng75 (1)
- kyleniemeyer (1)
- rafmudaf (1)
Top Issue Labels
- enhancement (8)
- bug (6)
- suggestion (3)
- documentation (1)
Top Pull Request Labels
- enhancement (5)
- dependencies (5)
- python (3)
- bug (1)
Package metadata
- Total packages: 3
-
Total downloads:
- pypi: 1,879 last-month
- Total dependent packages: 0 (may contain duplicates)
- Total dependent repositories: 1 (may contain duplicates)
- Total versions: 205
- Total maintainers: 1
proxy.golang.org: github.com/FraunhoferIWES/foxes
- Homepage:
- Documentation: https://pkg.go.dev/github.com/FraunhoferIWES/foxes#section-documentation
- Licenses: mit
- Latest release: v1.8.1 (published 13 days ago)
- Last Synced: 2026-06-22T14:01:02.294Z (3 days ago)
- Versions: 54
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.395%
- Average: 5.576%
- Dependent repos count: 5.758%
proxy.golang.org: github.com/fraunhoferiwes/foxes
- Homepage:
- Documentation: https://pkg.go.dev/github.com/fraunhoferiwes/foxes#section-documentation
- Licenses: mit
- Latest release: v1.8.1 (published 13 days ago)
- Last Synced: 2026-06-22T14:01:02.903Z (3 days ago)
- Versions: 54
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.395%
- Average: 5.576%
- Dependent repos count: 5.758%
pypi.org: foxes
Farm Optimization and eXtended yield Evaluation Software
- Homepage: https://github.com/FraunhoferIWES/foxes
- Documentation: https://fraunhoferiwes.github.io/foxes
- Licenses: MIT
- Latest release: 1.8.1 (published 13 days ago)
- Last Synced: 2026-06-22T14:01:01.122Z (3 days ago)
- Versions: 97
- Dependent Packages: 0
- Dependent Repositories: 1
- Downloads: 1,879 Last month
-
Rankings:
- Dependent packages count: 10.126%
- Forks count: 14.239%
- Stargazers count: 14.246%
- Average: 15.486%
- Downloads: 17.285%
- Dependent repos count: 21.535%
- Maintainers (1)
Dependencies
- actions/checkout v3 composite
- actions/setup-python v3 composite
Score: 13.818080253466874