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

Enable solve_for_points() with CC model #1058

Merged
merged 6 commits into from
Feb 5, 2025

Conversation

misi9170
Copy link
Collaborator

@misi9170 misi9170 commented Jan 30, 2025

Addresses #1039 (and #1038) by enabling the use of Core.solve_for_points() with the Cumulative Curl model. In the end, this just amounted to ensuring that inputs to function calls in the full_flow_cc_solver() had the correct dimensions (4D).

With this change implemented, examples/examples_get_flow/002_extract_wind_speed_at_points.py can now be run using the "cc" model.

Functional changes are limited to the full_flow_cc_solver(). The other place that the full_flow_cc_solver() is called is in Core.solve_for_viz(). Operation of this does not appear to be affected (as tested by running examples/examples_visualizations/002_visualize_y_cut_plane.py with the "cc" model).

@misi9170 misi9170 changed the title Enable solve_for_points with CC model Enable solve_for_points() with CC model Jan 30, 2025
@misi9170 misi9170 added the enhancement An improvement of an existing feature label Jan 30, 2025
@misi9170 misi9170 marked this pull request as ready for review January 31, 2025 00:49
@misi9170 misi9170 requested a review from rafmudaf January 31, 2025 00:50
@rafmudaf
Copy link
Collaborator

rafmudaf commented Feb 4, 2025

This also fixes places in the CC and TurbOPark solvers where the awc_modes settings were unsorted.

@rafmudaf rafmudaf merged commit 3afc053 into NREL:develop Feb 5, 2025
11 checks passed
@misi9170 misi9170 deleted the ehmt/enable-points branch February 5, 2025 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants