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

FLASC v2.0 #188

Merged
merged 31 commits into from
Apr 10, 2024
Merged

FLASC v2.0 #188

merged 31 commits into from
Apr 10, 2024

Conversation

misi9170
Copy link
Collaborator

@misi9170 misi9170 commented Apr 10, 2024

FLASC v2.0

FLASC v2 aligns FLASC with the recently-release FLORIS v4 and reorganizes the FLASC repository to group like tools more closely.

Key updates, along with associated pull requests, are listed below.


Features and enhancements to align with FLORIS v4

Other new features and enhancements

Bug fixes


Full Changelog: v1.5...v2.0

  • Update the version in
    • flasc/VERSION
  • Create a tag in the NREL/FLASC repository

paulf81 and others added 30 commits January 24, 2024 13:02
Upgrade sqlalchemy requirement to v2
* Wrap heterogeneity estimator in a separate class and add visualizations

* Bug fix for plotting heterogeneous background flow field

* Resolve pdf plotting functionality

* Simplify and clean up example case for heterogeneity map extraction

* Add output pdf to gitignore

* ruff formatting

* Delete commented legacy code snippets

* Remove plotting_dict: unused variable

* Remove bare except and force error instead

---------

Co-authored-by: Paul <paul.fleming@nrel.gov>
…accordingly (#158)

* Add simple function to identify turbines that do not affect turbines of interest, and add function to reduce floris accordingly

* Small bug fix and set wd_array as input

* Ruff formatting and remove unused variables

* Add example

---------

Co-authored-by: Paul <paul.fleming@nrel.gov>
* Apply pandas convention to sqldatabase
* Rename to analysis; will move other functionality here.

* Dissolve dataframe_operations and turbine_analysis folders

* Consolidate model fitting tools.

* Remove raw_data_handling in favor of moving into own repo.

* utilities subdir added, may be collapsed later.

* Imports working for tests.

* Update file paths for examples.

* Tests pass with v3 floris.

* Cleanup move.

* artificatiol examples 00 subdir updated imports.

* 01 subdir running.

* 02_wake_steering_design imports.

* Bugfix: wrong variable checked.

* 03_energy_ratio imports.

* 04_floris_tuning imports.

* Smarteole example imports updated.

* Ruff 1.

* File endings (Ruff 2)

* Remove unused large df reader/writer.

* And unused import.

* preprocessing -> data_processing.

* move bias estimation to data_processing for consistency.

* Move optimization to utilities.

* Ruff.

* Move utilities from specific modules to utilities module.
* turbulence_intensity -> turbuelence_intensities.

* Minor compatibility changes to calculate_florix_approx_table. Left TODOs for better integration with FLORIS v4.

* Avoid use of ParallelInterface as not yet updated. May revert; however, fast as it.

* Ruff

* ruff format

* Update "thrust" to "thrust_coefficient" per change in FLORIS

* Update visualize_cut_plane syntax

* ws_array and wd_array must be same length

* Correct to absolute power

* Update to v4

* Update to matplotlib 3.8 syntax

* bump up matplotlib requirement

* Update 06

* Update example 07

* Update tuning notebook

* Update FLORIS tuning

* Update tuner utilities

* Remove extra hyphen

* Update 06 example

* Update 07 example

* Update 01 notebook

---------

Co-authored-by: Paul <paul.fleming@nrel.gov>
* Add coveralls to ci

* Update coverage runs
* Append index faults by column to avoid only returning last columns faults

* Add test for find_sensor_stuck_faults

* Ruff format.

* Option for returning stuck sensors by column.

* Rerun smarteole examples in case.

* Rerun artificial data examples.
* Update to set()->run(); tests pass.

* WIP; workin g on examples.

* FlorisModel and related changes.

* fi -> fm, likely incomplete.

* .floris. -> .core.

* Updated floris_approx_table calculation.

* Tests passing.

* 00 examples.

* 01 artificial examples.

* 00, 01 from wake_steering_design.

* 02_wake_steering_design examples running.

* Notebooks updated.

* 03_energy_ratio scripts; 05 contains a bug still.

* 04 folder done, but not sure 00 notebook producing correct outputs.

* Smarteole examples running.

* Ruff and isort.

* Undoing updates on _legacy examples.

* ruff format.
* increase usage of wind_data objects

* Small cleanup

* Fix bad output
Merge v2 branch into develop
* More details on FLASC packages, point users to examples.

* Remove trailing whitespace.
@misi9170 misi9170 marked this pull request as ready for review April 10, 2024 04:06
@misi9170 misi9170 merged commit bb25c2a into main Apr 10, 2024
6 checks passed
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

3 participants