Skip to content

Commit

Permalink
Remove unused input args
Browse files Browse the repository at this point in the history
  • Loading branch information
rafmudaf committed Feb 23, 2024
1 parent bb4623a commit fd586ee
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions floris/tools/floris_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,7 @@ def set(
wind_veer: float | None = None,
reference_wind_height: float | None = None,
turbulence_intensities: list[float] | NDArrayFloat | None = None,
# turbulence_kinetic_energy=None,
air_density: float | None = None,
# wake: WakeModelManager = None,
layout_x: list[float] | NDArrayFloat | None = None,
layout_y: list[float] | NDArrayFloat | None = None,
turbine_type: list | None = None,
Expand Down Expand Up @@ -246,9 +244,7 @@ def _reinitialize(
wind_veer: float | None = None,
reference_wind_height: float | None = None,
turbulence_intensities: list[float] | NDArrayFloat | None = None,
# turbulence_kinetic_energy=None,
air_density: float | None = None,
# wake: WakeModelManager = None,
layout_x: list[float] | NDArrayFloat | None = None,
layout_y: list[float] | NDArrayFloat | None = None,
turbine_type: list | None = None,
Expand Down Expand Up @@ -359,12 +355,6 @@ def _reinitialize(
if turbine_library_path is not None:
farm_dict["turbine_library_path"] = turbine_library_path

## Wake
# if wake is not None:
# self.floris.wake = wake
# if turbulence_kinetic_energy is not None:
# pass # TODO: not needed until GCH

if solver_settings is not None:
floris_dict["solver"] = solver_settings

Expand Down

0 comments on commit fd586ee

Please sign in to comment.