Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RAFT v1.3.1 #64

Merged
merged 7 commits into from
Sep 25, 2024
Merged

RAFT v1.3.1 #64

merged 7 commits into from
Sep 25, 2024

Conversation

lucas-carmo
Copy link
Contributor

Purpose

This PR Includes bug fixes that we found after v1.3.0:

  • We were overwriting the maximum tension of the mooring lines with the minimum tension in the output dictionary. This bug was introduced quite recently by commit a22d868 when we added minimum values to the output dictionary (2f47591)
  • The plotting functions for case visualization were double counting the FOWT position, thus resulting in weird visualizations (68a615a)
  • Fixes in MHK modeling (469caa0)
  • New optional "currentMod" switch in the moorings section of the input YAML file which is used to pass current information to MoorPy (0: no current; 1: uniform current included in MoorPy) (6046b13)
  • The computation of hydrodynamic forces with BEM coefficients wasn't properly accounting for wave incidence and body orientation (d7268c3, 81697c7, and 6337880)

Type of change

What types of change is it?

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (non-backwards-compatible fix or feature)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Documentation update
  • Maintenance update
  • Other (please describe)

Testing

We still do not have tests that cover the fixes listed above, but we plan to include something in the future.

Checklist

  • I have run existing tests which pass locally with my changes
  • I have added new tests or examples that prove my fix is effective or that my feature works
  • I have added necessary documentation

lucas-carmo and others added 7 commits September 17, 2024 08:59
…d > 0

- Added optional "currentMod" switch in the moorings section of the YAML.
  (0: no current; 1: uniform current included in MoorPy).
wave_heading was assumed to be in radians but it is in degrees
- The interpolation performed in calcHydroExcitation() assumes that the wave incidences in self.BEM_headings() are sorted. This wasn't the case when the input was read from WAMIT with incidences from -180deg to 180deg due to converting the heading to a range between 0 and 360deg. Now we sort the hydro forces read from a .3 file according to the headings in the 0 to 360 deg range

- There was a "If True:" that should've been removed in the past but we forgot

- The BEM hydro forces weren't accounting for body orientation, but now they do
We were double counting for fowt position in the array (x_ref, y_ref). This was causing the platform and rotor visualization to be quite far from where they actually are for units not at (0,0)
- All work was done/tested in with the RM1_Floating RAFT model
- Added the option to include a nacelle member in the turbine dictionary
- - Only models buoyancy and hydrodynamics (but added mass and drag coefficients are set to 0)
- Added better outputting for cavitation in raft_fowt and rotor
- Fixed some plotting issues I created in a previous commit (need to setPosition of all FOWTs in a Model)
- Deleted/commented out the section for excess inertial loads on the rotor when operating
- Clean up a lot of the RM1 YAML
- - Reformatted a lot of the comments
- - Added 20mm end caps to increase the platform mass and be more realistic
- - Added a print warning for members with a rA below rB
- - Adjusted/tuned the axial added mass coefficients for the heave plates (1.0 -> 0.4)
- - Increased shell density of the tower for extra components
- - Added a nacelle (only counts towards buoyancy and hydrodynamics)
- - - Drag set to zero, added mass to zero, also 8500 density for additional components
- - Updated the other mRNA/IxRNA/IrRNA based on new OpenFAST information
- - Overhang now has new convention in opposite way
- - Idrivetrain controls gyroscopic damping, speed_gain controls blockage
- - Cleaned up the mooring section too with the updated 4-Line mooring system
- Adjusted the overhang to be the right convention in all the other designs
When transforming excitation coefficients to be relative to the incident wave heading rather than to the global frame, we were using the unsorted headings vector (heads) instead of the sorted headings vector (self.BEM_headings)
@lucas-carmo lucas-carmo merged commit e69d755 into master Sep 25, 2024
14 checks passed
@lucas-carmo lucas-carmo deleted the rc-1.3.1 branch September 25, 2024 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants