Conversion of setup to text files #31
Open
+794
−1,332
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Definition of wind farm, turbines, control, wake parameters etc. is now possible in tab-delimited text files.
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.