Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion of setup to text files #31

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

BastianSalbert
Copy link

@BastianSalbert BastianSalbert commented Apr 10, 2019

Definition of wind farm, turbines, control, wake parameters etc. is now possible in tab-delimited text files.

  • Wind farms can consist of turbines with variable type and hub height, as set up in the text table. Hub height has been removed from the turbine type properties, as it is no such (one turbine type, i.e. rotor diameter, rated power, control characteristics etc. is usually offered by manufacturers with different tower heights).
  • Greedy control LuTs can be multi-dimensional (dimension 1 are rows, dimension 2 colums, dimension 3 is separated with with a ";" row, dimension 4 with ";;" etc.)
    For this purpose, the interfaces to read the text files have been directly integrated in the class constructors, i.e. the object properties are directly defined from the text file contents. The class constructors are then called directly without additional functions to create the objects (see 'DemoSimulation.m'). A new folder 'setupDefinitions' has been created to cummulate the changed/new classdef/function/settings files.
    Now to define a new setup, distinct text files have to be changed/created in setupDefinitions as desired; there cannot be multiple parallel setups in this folder.

Note that currently the text-defined LuTs can only be used in the greedy control strategy, the project maintainers might have good ideas how the generalize the concept of text input for other control strategies.

Definition of wind farm, turbines, control, wake parameters etc. is now possible in tab-delimited text files. Greedy control LuTs can be multi-dimensional (dimension 1 are rows, dimension 2 colums, dimension 3 is separated with with a ";" row, dimension 4 with ";;" etc.)
Therefore, the interfaces to read the text files have been directly integrated in the class constructors, i.e. the object properties are directly defined from the text file contents. The class constructors are then called directly without additional functions to create the objects (see 'DemoSimulation.m'). A new folder 'setupDefinitions' has been created to cummulate the changed/new classdef/function/setup/... files.
@Bartdoekemeijer
Copy link
Collaborator

Can one of the admins verify this patch?

@Bartdoekemeijer Bartdoekemeijer self-requested a review April 10, 2019 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants