Skip to main content

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.

Source code: https://github.com/FraunhoferIWES/foxes PyPi reference: https://pypi.org/project/foxes/

Requirements

The installation requires Python >= 3.7.

Installation

Virtual Python environment

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

All subsequent installation commands via pip can then be executed directly within the active environment without changes. After your work with foxes is done you can leave the environment by the command deactivate.

Standard users

  • As a standard user, you can install the latest release via pip by
pip install foxes

This in general corresponds to the main branch at github. Alternatively, you can decide to install the latest pre-release developments by

pip install git+https://github.com/FraunhoferIWES/foxes/tree/dev

Developers

  • The first step as a developer is to clone the foxes repository by
git clone https://github.com/FraunhoferIWES/foxes.git

Enter the root directory by cd foxes. Then you can either install from this directory via

pip install -e .
  • Alternatively, add the foxes directory to your PYTHONPATH, e.g. by running
export PYTHONPATH=`pwd`:$PYTHONPATH

from the root foxes directory, and then

pip install -r requirements.txt

Minimal example

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

foxes-0.1.1.tar.gz (449.1 kB view details)

Uploaded Source

Built Distribution

foxes-0.1.1-py3-none-any.whl (491.8 kB view details)

Uploaded Python 3

File details

Details for the file foxes-0.1.1.tar.gz.

File metadata

  • Download URL: foxes-0.1.1.tar.gz
  • Upload date:
  • Size: 449.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for foxes-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6c8883e8f6e7cfd0748ceeff03bf3954f85c3fcca5af98eb663407144c624d16
MD5 0f2e445a2d3236f787644993fdbcf015
BLAKE2b-256 2a216f1a4ac76f5d4284649e5eddd87bfbf9fbeded38ed1a6ea1d83353903e11

See more details on using hashes here.

File details

Details for the file foxes-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: foxes-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 491.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for foxes-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 adac74ed64007b0f1b0763920551cbfed115f8f7fdd0329d1e1a9d5316b5fc6e
MD5 75b901bbec22404d4c5a8b637b5c1123
BLAKE2b-256 580fd0863fc30bfa9aef3a5e06c1cdd22122201c005d5fcfc1367f14bd01f26a

See more details on using hashes here.

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