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

DLC Generation - Refactor and New Cases #308

Merged
merged 94 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
012f60c
[DLC] Add skeleton for DLC case input refactoring
abhineet-gupta Apr 10, 2024
115946a
Send openfast outputs to directory of analysis options output
dzalkind Apr 8, 2024
439a091
Start new method of dlc generation
dzalkind Apr 12, 2024
783c1e7
Use new DLC_generator in OM_OF, single DLC only
dzalkind Apr 19, 2024
dc58c8e
Create functions of things that will happen in each DLC
dzalkind Apr 19, 2024
3eb94e1
Tidy up DLC 5.1 before applying elsewhere
dzalkind Apr 19, 2024
9ba946e
Add DLC 1.6, generate multiple DLCs
dzalkind Apr 19, 2024
edef48e
Tidy up new dlc generator more
dzalkind May 3, 2024
713e50c
Apply initial conditions in dlc_generator
dzalkind May 3, 2024
c236e6d
Apply olaf parameters
dzalkind Jun 13, 2024
bfb4ec6
Refactor dlc generator: combine functions
dzalkind Jun 13, 2024
286fb08
Add PSF, windtype, seastate, and label to dlc_options
dzalkind Jun 17, 2024
1db017d
Update DLC generator for 6.1:
dzalkind Jun 24, 2024
66648f6
Run new DLC generator in gc_LoadInputs
dzalkind Jun 24, 2024
55588ec
Apply wind inputs to case_list
dzalkind Jun 24, 2024
3b93afe
DLC: Adding new versions of DLC 1.x
abhineet-gupta Jul 2, 2024
ed2678a
Update DLC 1.6, 5.1 generators
dzalkind Jul 8, 2024
0a4f332
DLC: Add option of using non-turbulent wind in new DLC code
abhineet-gupta Jul 8, 2024
1ba9c2e
Add 50-year sea state
dzalkind Jul 8, 2024
815c6e8
Merge remote-tracking branch 'origin/DLC_RefactorCaseInputs' into DLC…
dzalkind Jul 8, 2024
323c6a4
Re-organize order of functions
dzalkind Jul 8, 2024
e5e7946
Remove yaw_misalign from wind seed calculation, handled by groups now
dzalkind Jul 8, 2024
dbbb1de
Set up DLC 6.3 and re-write generate_new_dlc
dzalkind Jul 8, 2024
44340e4
DLC: Finish DLC 1.5 and progress towards 1.2
abhineet-gupta Jul 22, 2024
9c90257
Add DLC 6.2
dzalkind Jul 22, 2024
7d8d993
Get known dlcs from modeling schema
dzalkind Aug 7, 2024
d039250
Add DLC 3.1, regular startup in NTM
dzalkind Aug 7, 2024
81b6174
Add DLC 6.4
dzalkind Aug 7, 2024
dfe7e09
Remove DLC 12.1
dzalkind Aug 7, 2024
2c460b2
Move new dlc generator to original file and name
dzalkind Aug 7, 2024
48804ba
Merge remote-tracking branch 'origin/develop' into DLC_RefactorCaseIn…
dzalkind Aug 7, 2024
86ef677
Revert inputs for example 05 that tests DLC generator
dzalkind Aug 7, 2024
339856b
Fix small errors in DLC_Generator.py
abhineet-gupta Aug 8, 2024
0c0a716
Set n_ws_dlc11
dzalkind Aug 8, 2024
58f12b4
Fix typo in dlc_generator and fix dlc test by removing DLC 6.5 from e…
abhineet-gupta Aug 9, 2024
e74afbe
Fix dlc11_ws output, it's the number of wind speeds
dzalkind Aug 9, 2024
2d74df6
Merge remote-tracking branch 'origin/DLC_RefactorCaseInputs' into DLC…
dzalkind Aug 9, 2024
176900d
Clean up example 05 modopts
dzalkind Aug 9, 2024
f5ee1c1
Fix DLC 11 counter and DLC 64 wind speeds
dzalkind Aug 9, 2024
71a67b0
Fix a bug where string dlc options were storred with incorrect type
abhineet-gupta Aug 12, 2024
750ca5b
Fix error with DLC 6.4, wind speeds were stored as np-array instead o…
abhineet-gupta Aug 12, 2024
ccac972
Fix issue with DLC 6.4
abhineet-gupta Aug 12, 2024
5976bdd
Add DLC 2.1 and 2.3, change ROSCO version to 2.9.4 and change a varia…
abhineet-gupta Aug 12, 2024
8b8f0f5
Set default 5.1 times if not provided in input
dzalkind Aug 13, 2024
15d377b
Merge remote-tracking branch 'origin/DLC_RefactorCaseInputs' into DLC…
dzalkind Aug 13, 2024
251a6f3
Remove old array inits, add case name to table output
dzalkind Aug 30, 2024
a5ee873
Clean up comments
dzalkind Aug 30, 2024
801c7dc
Fix DLC 6.2 label
dzalkind Aug 30, 2024
2c85110
Write OpenFAST output to stdout as a modeling option
dzalkind Aug 11, 2023
3de00ef
Flip shear ordering to match previous implementation exactly
dzalkind Aug 30, 2024
b43041a
Disable unsteady aero for DLC 1.4
dzalkind Sep 4, 2024
d2aaa02
For DLC 6.2, simulate more yaw misalignments
dzalkind Sep 4, 2024
3217f78
Add met options to dlc_options for output reporting
dzalkind Sep 4, 2024
4d6ae37
Rename wave variables/keys for output reporting to match modopt inputs
dzalkind Sep 4, 2024
5115487
Fix add met options
dzalkind Sep 4, 2024
a6cd1f5
Sync wind_seeds, rand_seeds, and wind_seed naming
dzalkind Sep 4, 2024
87abbf2
Remove wind_speeds, all wind_speed now
dzalkind Sep 4, 2024
0e6a3f5
Fix probabilities dictionary, re-normalize
dzalkind Sep 4, 2024
9605303
Start DLC docs in WEIS
dzalkind Sep 17, 2024
5d522f2
Tidy some docs pages
dzalkind Sep 17, 2024
11e8f79
Merge remote-tracking branch 'origin/docs' into DLC_RefactorCaseInputs
dzalkind Sep 17, 2024
2cc42c0
Merge remote-tracking branch 'origin/docs' into DLC_RefactorCaseInputs
dzalkind Sep 17, 2024
ee324ed
Outline DLC page
dzalkind Sep 18, 2024
61fb81d
Ensure RAFT gets correct DLC data
dzalkind Sep 19, 2024
89c655e
Test the raft input generated in ex15 against a standard input
dzalkind Sep 19, 2024
aaf6d2a
Reorganize to remove globals from dlc_generator
dzalkind Sep 19, 2024
e838be8
Use wind_speed to set URef
dzalkind Sep 19, 2024
419fac1
Point to new RAFT input file, generated with WEIS
dzalkind Oct 2, 2024
498164b
Add DLC for AEP calculations with constant TI
dzalkind Oct 2, 2024
d384942
Try printing RAFT inputs
dzalkind Oct 2, 2024
04c4e50
Disable regression test for now
dzalkind Oct 2, 2024
7cb9330
Assign wave seeds for each case
dzalkind Oct 17, 2024
2496640
Add DLC 7.1 and 7.2
abhineet-gupta Oct 23, 2024
31fafd1
Fix 1-year sea state
dzalkind Oct 25, 2024
b547d48
Merge remote-tracking branch 'origin/DLC_RefactorCaseInputs' into DLC…
dzalkind Oct 25, 2024
8537c13
DLC: Add yaw error as an option for fault cases
abhineet-gupta Oct 27, 2024
754c2dc
Merge remote-tracking branch 'origin/wisdem_317' into DLC_RefactorCas…
dzalkind Nov 7, 2024
1eb9474
Merge branch 'dlc_aep' into DLC_RefactorCaseInputs
dzalkind Nov 7, 2024
5630ae7
Merge remote-tracking branch 'origin/develop' into DLC_RefactorCaseIn…
dzalkind Nov 8, 2024
e46bfcc
Fix DLC generator test
dzalkind Nov 8, 2024
4251871
Merge remote-tracking branch 'origin/develop' into DLC_RefactorCaseIn…
dzalkind Nov 8, 2024
a587a9c
Revert 02 input
dzalkind Nov 8, 2024
3a1fd3d
Tidy new code blocks
dzalkind Nov 8, 2024
1fcef34
Add developer docs
dzalkind Nov 21, 2024
a7dfe20
Merge remote-tracking branch 'origin/develop' into DLC_RefactorCaseIn…
dzalkind Nov 21, 2024
1678781
Outline dlc generator cases
dzalkind Nov 25, 2024
21279d2
Add DLC documentation (1.X)
dzalkind Dec 3, 2024
4ff7158
Add tip clearance channels
dzalkind Dec 3, 2024
d9986c4
Increase WvHiCOff so we can model normal sea states properly
dzalkind Dec 3, 2024
0f39767
Rename case to case_i
dzalkind Dec 3, 2024
c5163a0
DLCDocs: Start documentation for DLC 2.x
abhineet-gupta Dec 4, 2024
7a82155
Fix AEP DLC and PSFs
dzalkind Dec 11, 2024
6285de0
Merge remote-tracking branch 'origin/DLC_RefactorCaseInputs' into DLC…
dzalkind Dec 11, 2024
eeeae10
Move yaw and pitch faults to DLC 2.2 and add excpetions to fault cases
abhineet-gupta Dec 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
352 changes: 349 additions & 3 deletions docs/dlc_generator.rst

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ WEIS Visualization APP

how_weis_viz_works

DLC Generator
=============

.. toctree::
:maxdepth: 2

dlc_generator


Optimization in WEIS
====================
Expand Down
4 changes: 2 additions & 2 deletions docs/inputs/geometry_schema.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Significant effort has been invested to develop an _ontology_ for wind turbines
Full documentation of the WISDEM geometry input file can be found at the `WindIO documentation <https://windio.readthedocs.io/en/latest/source/turbine.html>`_


.. jsonschema:: geometry_schema.json
:hide_key_if_empty: /**/default
.. .. jsonschema:: geometry_schema.json
.. :hide_key_if_empty: /**/default

16 changes: 0 additions & 16 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,16 +0,0 @@
# Requirements list for WEIS

# simulation
matplotlib
numpy
scipy
openmdao>=3.2
simpy
marmot-agents

# docs
sphinx>2.0
numpydoc
sphinxcontrib-bibtex<2.0.0
sphinx-rtd-theme
# sphinx-autoapi
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies:
- pip
- pyhams>=1.3
#- pyoptsparse
- rosco>=2.9.2
- rosco>=2.9.4
- smt
- wisdem>=3.16.4
- pip:
Expand Down
2 changes: 1 addition & 1 deletion examples/02_run_openfast_cases/modeling_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ DLC_driver:
- DLC: "6.1"
analysis_time: 10.
transient_time: 0.1
wind_speed: [46.789]
turbulent_wind:
HubHt: 142
RefHt: 142
GridHeight: 275
GridWidth: 275
URef: 46.789
PLExp: 0.14
IECturbc: 0.12

Expand Down
43 changes: 5 additions & 38 deletions examples/02_run_openfast_cases/modeling_options_loads.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,49 +50,16 @@ DLC_driver:
wave_height50: 9.7
wave_period50: 13.6
DLCs:
# - DLC: "1.1"
# n_seeds: 1
# wind_speed: [4]
# - DLC: "1.3"
# n_seeds: 6
# - DLC: "1.4"
# wind_speed: [8.6, 10.6, 12.6]
# n_seeds: 2
# n_azimuth: 3
# - DLC: "1.5"
# - DLC: "1.6"
# n_seeds: 1
# wind_speed: [12]
# yaw_misalign: [-8,8]
# analysis_time: 10.
# transient_time: 0.
# - DLC: "1.6"
# n_seeds: 1
# wind_speed: [12]
# wave_heading: [30]
# analysis_time: 10.
# transient_time: 0.
# - DLC: "6.3"
# n_seeds: 6
- DLC: "1.6"
wind_speed: [8,15]
n_seeds: 2
analysis_time: 10.
transient_time: 0.0
- DLC: "5.1"
wind_speed: [12]
n_seeds: 1
n_azimuth: 3
analysis_time: 20.
shutdown_time: 10.
transient_time: 0.0
# - DLC: "6.5"
# yaw_misalign: [-8.,8.]
# wave_height: [12.57]
# wave_period: [16.0]
# transient_time: 0.0
# wave_gamma: [1.2]
# analysis_time: 10.
# turbulent_wind:
# HubHt: 140
# GridHeight: 220
# GridWidth: 220
# URef: 54.8339
# PLExp: 0.12


13 changes: 0 additions & 13 deletions examples/05_IEA-3.4-130-RWT/modeling_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,19 +128,6 @@ DLC_driver:
ws_bin_size: 10
analysis_time: 5.
transient_time: 5.
- DLC: "6.5"
yaw_misalign: [-8.,8.]
wave_height: [12.57]
wave_period: [16.0]
transient_time: 0.0
wave_gamma: [1.2]
analysis_time: 10.
# turbulent_wind:
# HubHt: 140
# GridHeight: 220
# GridWidth: 220
# URef: 54.8339
# PLExp: 0.12

# - DLC: Custom
# wind_speed: [10., 12, 14]
Expand Down
Loading
Loading