Farm Optimization and eXtended yield Evaluation Software
Project description
foxes
Farm Optimization and eXtended yield Evaluation Software
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.
Currently the modelled time scales are related to 10-min averages or longer periods, and also statistical data like wind rose data can be modelled. High-frequency effects are not supported.
Installation
- We recommend working in a Python virtual environment and install
foxes
there. Such an environment can be created by
python -m venv /path/to/my_venv
and afterwards be activated by
source /path/to/my_venv/bin/activate
You can leave the environment by the command deactivate
.
- As a general user, you can install the latest release by
pip install foxes
This should correspond to the main
branch here at GitHub.
- As a devloper, you can either install from this directory via
pip install -e .
- Alternatively, you can add the path to your local
foxes
clone directory to yourPYTHONPATH
, e.g. by
export PYTHONPATH=`pwd`:$PYTHONPATH
and then run
pip install -r requirements.txt
Minimal example
For detailed examples, check the examples
folder in this repository. A minimal running example is the following, based on provided static csv
data files:
import foxes
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=["Pct"])
mbook = foxes.ModelBook("NREL-5MW-D126-H90.csv")
algo = foxes.algorithms.Downwind(mbook, farm, states, ["Jensen_linear_k007"])
algo.calc_farm()
print(farm_results)
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
File details
Details for the file foxes-0.1.0.tar.gz
.
File metadata
- Download URL: foxes-0.1.0.tar.gz
- Upload date:
- Size: 441.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d68d1988ce64fa54445edeb6e7e1412f854a5de560d291243eabf3011ffb88ef |
|
MD5 | 91ad63286b407ea12156d8e4f4db83d5 |
|
BLAKE2b-256 | 6c21f44b23191b311f0385a285b5ff3bed039dd717a350c03aa2449f2d66cdd3 |
File details
Details for the file foxes-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: foxes-0.1.0-py3-none-any.whl
- Upload date:
- Size: 509.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac1518c95ba0b80c9c4f9ff934a00f32cab21fde7acf3e6c19c0b2f2d599fab9 |
|
MD5 | 8925e3e9e70e452fc0eef35e47df4c81 |
|
BLAKE2b-256 | cceb1a39f009b9d31ec344760a69affa4abeb9729ce524fb50403279ae7792ba |