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

Clean up and simplify some things #437

Merged
merged 2 commits into from
Jun 1, 2022
Merged

Conversation

rafmudaf
Copy link
Collaborator

Feature or improvement description
The biggest change here is that I've removed the wake model model_string attribute. This was left over from v2, and in v3 we map model strings directly to their model definitions in the Wake class. While FLORIS doesn't use this attribute internally, @paulf81 @pjstanle is this something you or others use in your scripts?

Otherwise, this pull request removes the outdated Curl model class and other code and import-statements that aren't used.

Related issue, if one exists
None, just spring cleaning.

Impacted areas of the software
Wake model definitions, most files in floris.simulation, and floris_interface imports

This is left over from v2 and not used in v3. Currently, we map model strings to model definitions directly in the Wake class.
@rafmudaf rafmudaf requested review from paulf81 and bayc May 27, 2022 22:56
Copy link
Collaborator

@paulf81 paulf81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @rafmudaf this sounds good, I wasn't using the model_string myself

@rafmudaf rafmudaf merged commit f30abbc into NREL:develop Jun 1, 2022
@rafmudaf rafmudaf mentioned this pull request Sep 12, 2022
5 tasks
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.

None yet

2 participants