Skip to content

Commit

Permalink
Fix links to invalid documentation pages
Browse files Browse the repository at this point in the history
And a broken section of the turbine interaction notebook
  • Loading branch information
rafmudaf committed Jan 4, 2024
1 parent ebdf9a1 commit b88dc7b
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 24 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ submit a new feature, let us know in

We rely heavily on git and GitHub, so be sure to review the
contributing guidelines in the
[online documentation](https://floris.readthedocs.io/en/main/source/developers.html).
[online documentation](https://nrel.github.io/floris/dev_guide.html).
2 changes: 1 addition & 1 deletion docs/dev_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ Be sure to complete each step in the sequence as described.
surprises in this regard prior to a release. However, it's a good
opportunity to ensure that the documentation is up to date and there
are no obvious issues.
Check this by opening the documentation website at https://nrel.github.io/floris/intro.html
Check this by opening the documentation website at https://nrel.github.io/floris
and scrolling through the pages.
Also, verify that the automated build process has successfully completed
for the commits to `develop` in [GitHub Actions](https://github.com/NREL/floris/actions/workflows/deploy-pages.yaml).
Expand Down
46 changes: 28 additions & 18 deletions docs/turbine_interaction.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/26_empirical_gauss_velocity_deficit_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations under
# the License.

# See https://nrel.github.io/floris/intro.html for documentation
# See https://nrel.github.io/floris for documentation


import copy
Expand Down
2 changes: 1 addition & 1 deletion examples/27_empirical_gauss_deflection_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations under
# the License.

# See https://nrel.github.io/floris/intro.html for documentation
# See https://nrel.github.io/floris for documentation


import copy
Expand Down
4 changes: 2 additions & 2 deletions floris/turbine_library/turbine_previewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def Ct_curve(
tilt_angle=np.full(shape, self.turbine.ref_tilt_cp_ct),
ref_tilt_cp_ct=np.full(shape_single, self.turbine.ref_tilt_cp_ct),
fCt=fCt_interps[k],
tilt_interp=[(self.turbine.turbine_type, self.turbine.tilt_interp)],
tilt_interp={self.turbine.turbine_type: self.turbine.tilt_interp},
correct_cp_ct_for_tilt=np.zeros(shape_single, dtype=bool),
turbine_type_map=np.full(shape_single, self.turbine.turbine_type)
).flatten()
Expand All @@ -199,7 +199,7 @@ def Ct_curve(
tilt_angle=np.full(shape, self.turbine.ref_tilt_cp_ct),
ref_tilt_cp_ct=np.full(shape, self.turbine.ref_tilt_cp_ct),
fCt={self.turbine.turbine_type: self.turbine.fCt_interp},
tilt_interp=[(self.turbine.turbine_type, self.turbine.tilt_interp)],
tilt_interp={self.turbine.turbine_type: self.turbine.tilt_interp},
correct_cp_ct_for_tilt=np.zeros(shape, dtype=bool),
turbine_type_map=np.full(shape, self.turbine.turbine_type),
).flatten()
Expand Down

0 comments on commit b88dc7b

Please sign in to comment.