Skip to content

Commit

Permalink
Update tuner utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
paulf81 committed Feb 8, 2024
1 parent 8ee4913 commit c96f2eb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions flasc/utilities/tuner_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
import pandas as pd
from floris.tools import FlorisInterface

from flasc.data_processing import (
dataframe_manipulations as dfm,
)
from flasc.data_processing import dataframe_manipulations as dfm
from flasc.utilities.utilities_examples import load_floris_smarteole

# from floris.tools import ParallelComputingInterface
Expand Down Expand Up @@ -119,7 +117,7 @@ def resim_floris(fi_in: FlorisInterface, df_scada: pd.DataFrame, yaw_angles: np.

# Set up the FLORIS model
fi = fi_in.copy()
fi.reinitialize(wind_speeds=wind_speeds, wind_directions=wind_directions, time_series=True)
fi.reinitialize(wind_speeds=wind_speeds, wind_directions=wind_directions)
fi.calculate_wake(yaw_angles=yaw_angles)

# Get the turbines in kW
Expand Down

0 comments on commit c96f2eb

Please sign in to comment.