Replies: 1 comment
-
I really like this idea. Although setting up a default with an empty configuration ( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using FLORIS, we generally get an input file from somewhere (probably the examples/ directory in the repository) and modify it to fit our needs. We use the new input file to initialize
FlorisModel
, and then we generally start changing the inputs programmatically. For example, for anything but a trivial study, we'll always change the layout and wind conditions. Consider the characteristic workflow from Example 10:Therefore, we could classify the inputs to FLORIS as:
Where FLORIS is used within another software, the FLORIS inputs have to be copied, supplied by the user, or somehow retrieved in order for FLORIS to function as a library (see flasc1, flasc2, WAVES). Instead, I propose to provide a method for using FLORIS as a library within a calling code with a logical set of default inputs (i.e. one of the existing example input files + NREL 5 MW turbine). Possible solutions for this are:
FlorisModel
to load a predefined input file if selected:FlorisModel(configuration="defaults")
FlorisModel
to use a predefined input set if no configuration is given:FlorisModel()
Beta Was this translation helpful? Give feedback.
All reactions