Skip to content

Commit

Permalink
[BUGFIX] Error when yaw angles are used with TurbOPark (#811)
Browse files Browse the repository at this point in the history
  • Loading branch information
misi9170 authored Feb 20, 2024
1 parent a88a154 commit c7f8f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion floris/simulation/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ def turbopark_solver(

# Model calculations
# NOTE: exponential
if not np.all(farm.yaw_angles_sorted):
if np.any(farm.yaw_angles_sorted):
model_manager.deflection_model.logger.warning(
"WARNING: Deflection with the TurbOPark model has not been fully validated."
"This is an initial implementation, and we advise you use at your own risk"
Expand Down

0 comments on commit c7f8f36

Please sign in to comment.