Closed jennirinker closed 1 year ago
@gbarter I've finished the yaml and HAWC2 update, so it's time for us to discuss some things before I can add more commits.
Specific discussion topics (outlined in detail in each section below):
I have intentionally changed the tower definition in the yaml file slightly to not match the design document. Specifically, I removed the 15.001 line and changed the 15.0 thickness to 39.496. This was to remove a vertical jump in the structural properties of the tower.
My proposal/implementation is that the yaml content for the monopile looks like this | Station [m] | Thickness [mm] |
---|---|---|
... | ... | |
10 | 42.242 | |
10.001 | 41.058 | |
15 | 41.058 |
and the content for the tower looks like this | Station [m] | Thickness [mm] |
---|---|---|
15.000 | 39.496 | |
28.000 | 39.496 | |
28.001 | 36.456 | |
... | ... |
I'm not sure if my updates in the yaml definition impacts the OpenFAST or Excel files. Do you need to regenerate those files?
If you do need to remake those files, feel free to commit/push them to the fix_onshore_tower_interpretation
branch.
I think it could be worthwhile to make a wiki page (or documentation somewhere) that explains how the HAWC2 and OpenFAST tower models are created from the yaml, and how the yaml is interpreted. HAWC2 is relatively straightforward and is in the original report, but I can't remember if the OpenFAST procedure (WISDEM) is also written there?
There are are few different things that I could add to the testing suite, and I'd like to get your opinion on which are the best for the repo:
The most rigorous would be 1, 2, and 3, but that depends on how the OpenFAST tower properties are calculated from the yaml. What do you think?
Current status of yaml/HAWC2/OpenFAST properties. Note that yaml no longer matches original design at base for reason explained above; HAWC2 matches yaml, OpenFAST matches neither.
Good stuff @jennirinker !
In answer to your questions and comments:
Current status:
Looks pretty good to me!
This is now ready for review/merge, with a few small caveats (see final section below).
Because the Excel is the exact tower definition as written in the report, it has a small bump as the thickness transitions from 15.000 m to 15.0001 m. This is fine, IMO. I have written the tests such that they correct this value before comparison with yaml/OpenFAST/HAWC2.
I added a test that:
This is sufficient in my opinion -- let me know if you think something else should be added.
I also rearranged slightly an older test, but no functionality was changed.
Now that the OpenFAST/HAWC2 towers match almost exactly, I agree a short wiki entry in the FAQs is fine. What about:
Question: Why is are the tower properties for the onshore/monopile model different than in the report? There is a discrete jump in the thickness from 15.000 to 15.001 m in the original tower design, but in the yaml and in OpenFAST/HAWC2, the "tower" body is modelled from 15 m upwards. To prevent these models having a discrete jump in thickness in the bottom part of the tower, the properties at the base are changed slightly. Please see Issue #147 and pull request #149 for more details.
This PR is addressing the issues with the monopile/onshore tower documented in #147. It is currently a work in progress and should not be merged. I will use this comment as a master tracker for the status of the PR, and subsequent comments will contain discussions on specifics.
Purpose
Correct the tower yaml, model files, Excel file to match the design and add a test or two.
Type of change
What types of change is it?
Testing
To be described after we discuss what we want to test.
Tasks to complete before merge
Final checklist