Skip to content

Commit

Permalink
Improve retained yaw misalignments test.
Browse files Browse the repository at this point in the history
  • Loading branch information
misi9170 committed Feb 27, 2024
1 parent 44eda54 commit 417490a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/floris_standin_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ def test_FlorisStandin_get_step_yaw_angles():
yaw_angles = [0.0, 10.0]
_, _, fs_tp2, _ = floris_standin.get_step(5.0, yaw_angles)
assert np.allclose(fs_tp, fs_tp2)
assert np.allclose(
default_wind_direction-floris_standin.fi.floris.farm.yaw_angles,
[260.0, 230.0]
)

def test_FlorisStandin_get_step_power_setpoints():
floris_standin = FlorisStandin(CONFIG, AMR_INPUT)
Expand Down

0 comments on commit 417490a

Please sign in to comment.