Skip to content

Commit

Permalink
Add reference_wind_height setting to examples where turbine_type is set.
Browse files Browse the repository at this point in the history
  • Loading branch information
misi9170 committed Nov 6, 2024
1 parent 1dcf641 commit 243b64a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
wind_speeds=wind_speeds,
turbulence_intensities=turbulence_intensities,
turbine_type=[turbine_dict],
reference_wind_height=fmodel.reference_wind_height
)
fmodel.run()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@
### Start by visualizing a single turbine in and its wake with the new model
# Load the new TurboPark implementation and switch to constant CT turbine
fmodel_new = FlorisModel("../inputs/turboparkgauss_cubature.yaml")
fmodel_new.set(turbine_type=[const_CT_turb])
fmodel_new.set(
turbine_type=[const_CT_turb],
reference_wind_height=fmodel_new.reference_wind_height
)
fmodel_new.run()
u0 = fmodel_new.wind_speeds[0]

Expand Down Expand Up @@ -94,7 +97,10 @@
### Look at the wake profile at a single downstream distance for a range of wind directions
# Load the original TurboPark implementation and switch to constant CT turbine
fmodel_orig = FlorisModel("../inputs/turbopark_cubature.yaml")
fmodel_orig.set(turbine_type=[const_CT_turb])
fmodel_orig.set(
turbine_type=[const_CT_turb],
reference_wind_height=fmodel_orig.reference_wind_height
)

# Set up and solve flows
wd_array = np.arange(225,315,0.1)
Expand Down

0 comments on commit 243b64a

Please sign in to comment.