+
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
03b0c1f
bug fix in vizFileGen and changes to handle Jul 2024 Kestrel updates …
mayankchetan Aug 27, 2024
7f77a6f
Revise documentation
dzalkind Aug 28, 2024
3a25943
Merge branch 'WISDEM:develop' into develop
sora-ryu Aug 28, 2024
f45aede
no need to manipulate turbsim grid for olaf anymore (#313)
ptrbortolotti Sep 4, 2024
b651a8c
Debug arg parsing error while launching the app & Contribute Initial …
sora-ryu Sep 4, 2024
2594d13
Remove duplicate numpydoc
dzalkind Sep 4, 2024
971cf10
Sync readthedocs yaml with WISDEM
dzalkind Sep 4, 2024
5231cbe
Add numpydoc to environment
dzalkind Sep 4, 2024
6ae16f1
Set up readthedocs inputs: css, js, bibtex
dzalkind Sep 5, 2024
f8c7c37
Remove old input docs
dzalkind Sep 5, 2024
09630cc
Merge branch 'WISDEM:develop' into develop
sora-ryu Sep 5, 2024
495a26c
Fix images for weis viz
dzalkind Sep 5, 2024
e49dee3
Add input schema docs following WISDEM
dzalkind Sep 5, 2024
14745d1
adjust spar caps opt to wisdem 3p16
ptrbortolotti Sep 16, 2024
b00cf57
Add input schema files
dzalkind Sep 17, 2024
397ba52
Optimization cleanup to fix and conform to viz changes. (#305)
cfrontin Sep 18, 2024
72fd340
Add note about mpi4py for windows users
dzalkind Oct 2, 2024
7d699d9
Fix connections to drivese_post
dzalkind Oct 18, 2024
ece712f
Set run directories relative to input files
dzalkind Oct 23, 2024
2d8932d
Get member ids from modopts
dzalkind Oct 23, 2024
2bbd538
Tidy OC3 example
dzalkind Oct 23, 2024
3fffb47
Re-enable testing of OC3 spar
dzalkind Oct 23, 2024
5e11848
Send aero-only hub loads to WISDEM
dzalkind Oct 23, 2024
55d95ea
Disable potential flow modeling for fixed substructures
dzalkind Oct 25, 2024
10e7a86
Disable second tower mode in OC3 example for now
dzalkind Nov 7, 2024
245cedc
Merge remote-tracking branch 'origin/main' into develop
dzalkind Nov 8, 2024
f9c248c
Merge branch 'docs' into develop
dzalkind Nov 8, 2024
5f55ee9
align with new orbit changes
gbarter Nov 12, 2024
9046a16
Merge branch 'develop' into wisdem_317
gbarter Nov 18, 2024
faf0efc
Merge pull request #320 from WISDEM/wisdem_317
gbarter Nov 19, 2024
479b073
Merge remote-tracking branch 'origin/main' into docs
dzalkind Nov 20, 2024
0a35f4a
Upgrade mpi (#321)
ptrbortolotti Nov 20, 2024
c9baac6
Merge branch 'docs' into develop
dzalkind Nov 20, 2024
7c3d759
Merge remote-tracking branch 'origin/develop' into develop
dzalkind Nov 20, 2024
44799c7
Remove temporary simple_types
dzalkind Nov 20, 2024
cc3ac5f
Updates for Optimization study (#323)
dzalkind Nov 21, 2024
02cfd94
prep for next release
gbarter Nov 22, 2024
dfea9e8
adjust paths when relative (path for turbsim exe and path for infloww…
ptrbortolotti Dec 10, 2024
eedc910
DLC Generation - Refactor and New Cases (#308)
dzalkind Dec 12, 2024
6488f1a
remove logic for olaf/openmp
ptrbortolotti Dec 18, 2024
a49cc3b
support in setting mpi parameters
ptrbortolotti Dec 19, 2024
f62be3f
add documentation page
ptrbortolotti Dec 19, 2024
00f9713
example for simple call to openfast with mpi
ptrbortolotti Dec 20, 2024
9cb54d3
postpone return so that we can stack the preMPI call and the actual W…
ptrbortolotti Dec 21, 2024
9882405
work in progress, mpi settings moved into modeling options
ptrbortolotti Dec 22, 2024
ca3a4d8
adjust if statements
ptrbortolotti Dec 22, 2024
139263a
broadcast mod and opt options
ptrbortolotti Dec 22, 2024
77ad691
more progress, not there yet
ptrbortolotti Dec 22, 2024
ce527f6
sequential or preMPI and actual weis call now working
ptrbortolotti Dec 24, 2024
86fef37
better, but MPI can still hang
ptrbortolotti Dec 24, 2024
cf4fcee
adjust if settings, things seem to be running fine now
ptrbortolotti Dec 27, 2024
97a6bb1
fix last typos
ptrbortolotti Dec 27, 2024
ee0f6bc
add tests, switch to mpiexec
ptrbortolotti Dec 27, 2024
36d1653
remove sbatch kestrel (can't mantain...) and shorten OF sims
ptrbortolotti Dec 27, 2024
9ad56b5
remove outdated py file
ptrbortolotti Dec 27, 2024
e9aa791
suppress print statements when not needed
ptrbortolotti Dec 27, 2024
a5a71cf
adjust if condition
ptrbortolotti Dec 27, 2024
fcae582
lock openfast wisdem and rosco
ptrbortolotti Dec 27, 2024
005cd35
adjust list of examples run during testing
ptrbortolotti Dec 29, 2024
58b697c
try again
ptrbortolotti Dec 30, 2024
5a9bc96
Tidy up weis_driver_loads
dzalkind Dec 30, 2024
08ebbf3
Print information about modeling options to user
dzalkind Dec 30, 2024
b903ba1
Simplify weis_driver_loads more
dzalkind Dec 30, 2024
fc4cf7c
Make control example case
dzalkind Dec 30, 2024
7aedb7c
Count elements in each design variable
dzalkind Dec 30, 2024
9a99005
bring back weis_driver_model_only
ptrbortolotti Jan 2, 2025
00f02c7
update front scripts examples 3 4 5
ptrbortolotti Jan 2, 2025
29fcb49
Merge pull request #330 from WISDEM/mpi_v2
ptrbortolotti Jan 3, 2025
72c7ff2
move to single ref_turbine directory
gbarter Jan 3, 2025
1528914
remove redundant ref turbine files
gbarter Jan 3, 2025
4693368
remove redundant ref turbine files
gbarter Jan 3, 2025
e642832
update to latest gha versions
gbarter Jan 4, 2025
299eac7
refresh to new directory structure
gbarter Jan 5, 2025
90fce03
fix single/double quote confusion
gbarter Jan 5, 2025
61bd059
Merge pull request #332 from WISDEM/hackathon
gbarter Jan 6, 2025
52d98c4
Add user-defined OpenFAST mapping and groups through modeling options…
dzalkind Jan 10, 2025
91d8351
New weis main.py (#333)
gbarter Jan 10, 2025
956a2e1
cleanup of coveralls as there were competing configs
gbarter Jan 10, 2025
3c69386
WIP on control_testbench: e5475e16 Tidy, point to initial conditions
dzalkind Jan 7, 2025
267f263
try with coveralls actions
gbarter Jan 10, 2025
3aa11e9
Fix 02_control_sm example
dzalkind Jan 10, 2025
b1f6725
Shorten examples in 17 and add to tests
dzalkind Jan 10, 2025
51cd50b
Move analysis notebooks in IEA-22 example
dzalkind Jan 10, 2025
dc74e63
Move analysis scripts back to main dir
dzalkind Jan 10, 2025
6cdc317
Add example for DOE + RAFT, working with MPI
dzalkind Jan 10, 2025
0e255a5
Move ex17 to weis_main setup and test with SLSQP
dzalkind Jan 10, 2025
218dd5b
Add RAFT-MPI setups to testing
dzalkind Jan 10, 2025
9e8d970
Merge pull request #337 from WISDEM/coveralls
gbarter Jan 10, 2025
311669a
condense to one ci file and rely on unittest decorators to skip exhau…
gbarter Jan 10, 2025
4dfd5b0
include changes from other PR
gbarter Jan 10, 2025
3ae7464
Merge pull request #338 from WISDEM/examples
gbarter Jan 10, 2025
ac000f2
Merge branch 'develop' into ci_actions
gbarter Jan 10, 2025
2d10640
revert some of the coverall changes
gbarter Jan 11, 2025
66b2387
add needed test packages
gbarter Jan 11, 2025
c2559f8
Merge pull request #340 from WISDEM/ci_actions
gbarter Jan 11, 2025
e9dfdc9
Switch to openfast_io and update to OpenFAST v4.0.0
mayankchetan Jan 12, 2025
905b35e
updating examples to run
mayankchetan Jan 12, 2025
98ca009
Merge remote-tracking branch 'origin/develop' into openfast_io
mayankchetan Jan 13, 2025
a6b86b3
new page documenting parallelization (#343)
ptrbortolotti Jan 14, 2025
73e56c5
updates for testing
mayankchetan Jan 14, 2025
066d8c8
OpenFAST 4.0 prep (#7)
dzalkind Jan 14, 2025
7b306b7
updating OpenFAST yaml
mayankchetan Jan 14, 2025
cb877cc
examples 02 & 06 working
mayankchetan Jan 15, 2025
7638df3
all tests pass! :D
mayankchetan Jan 15, 2025
654348c
Openfast input dir relative to modeling options
dzalkind Jan 28, 2025
c5ed916
Ensure backwards compatibility in user overrides of OpenFAST
dzalkind Jan 28, 2025
9d795bd
Remove MC's specific openfast
dzalkind Jan 28, 2025
9286492
Allow OpenFAST modeling options to override wisdem model
dzalkind Jan 28, 2025
ddddecd
Update example SeaState/HydroDyn inputs
dzalkind Jan 28, 2025
0c86e2a
Change linearization inputs to SS
dzalkind Jan 28, 2025
9eece3b
Another Level3 -> OpenFAST dict change
dzalkind Jan 28, 2025
7dc98ac
Update basic example 3 to be strip theory only, no 2nd tower mode
dzalkind Jan 28, 2025
910b1e6
Increment ROSCO version
dzalkind Jan 29, 2025
f9400a4
HydroDyn -> SeaState in modopts
dzalkind Jan 29, 2025
e81b99e
Skip print_yaml
dzalkind Jan 29, 2025
0840ffa
Fix PotFile path issue
dzalkind Jan 29, 2025
afb6747
Skip python 3.9
dzalkind Jan 29, 2025
11d0482
Update OLAF parameters using modeling options
dzalkind Jan 29, 2025
2cdbdde
Skip nodalOutputs test, no longer on repo
dzalkind Jan 29, 2025
b3dc9aa
Make wind measurement locations a list
dzalkind Jan 29, 2025
ab15232
Initialize BeamDyn in fst_vt, set TwOutNd to list of strings
dzalkind Jan 30, 2025
9618d44
Remove WavePkShp default
dzalkind Jan 30, 2025
3aeddbc
Clean up depreciation of PtfmMass_Init
dzalkind Jan 30, 2025
0636afd
Tidy up schema and naming of wave quantities
dzalkind Jan 30, 2025
1d99955
Remove initial PropPot defs
dzalkind Jan 30, 2025
d101abd
Fix run_general
dzalkind Jan 30, 2025
29f21c2
Use previously generated .ss* inputs for linearization, update AD inputs
dzalkind Jan 30, 2025
1534bc0
Fix default WAMITULEN
dzalkind Jan 30, 2025
c741a04
Merge pull request #341 from mayankchetan/openfast_io
gbarter Feb 2, 2025
2524b37
trying latest versions of openfast and rosco
gbarter Feb 2, 2025
8e70e3d
Merge branch 'main' into develop
gbarter Feb 3, 2025
87541a1
Merge branch 'WISDEM:develop' into develop
sora-ryu Feb 3, 2025
955b3b3
adjust node numbering monopile channels, not always 9
ptrbortolotti Feb 10, 2025
12c73d4
mpi setup was broken because of leftover Level2 and Level3 flags
ptrbortolotti Feb 11, 2025
95d933e
more changes required for Level3 vs OpenFAST flags
ptrbortolotti Feb 11, 2025
b76235a
this fixes the MPI=None, although i don't understand where the None c…
ptrbortolotti Feb 11, 2025
36cddd6
Change to LD_SLSQP
dzalkind Feb 11, 2025
34f72b2
Print test logs so we can figure out which ones take long
dzalkind Feb 11, 2025
560b94a
Change openmpi to mpich
dzalkind Feb 11, 2025
921a444
Fix arg typo
dzalkind Feb 11, 2025
38ba73a
cut analysis time to 1 s, transient time to 0 s
ptrbortolotti Feb 11, 2025
a1070dc
Try petsc4py 3.22.2
dzalkind Feb 11, 2025
833bbdf
Skip tests, get right to DOE for now
dzalkind Feb 11, 2025
fa194d2
Merge remote-tracking branch 'origin/monopile_channels' into monopile…
dzalkind Feb 11, 2025
e0aefb3
shorten example 12
ptrbortolotti Feb 11, 2025
5c51ae2
Merge branch 'blade_struct_opt' of https://github.com/WISDEM/WEIS int…
ptrbortolotti Feb 11, 2025
6f55de2
Revert "Skip tests, get right to DOE for now"
dzalkind Feb 11, 2025
041b91d
Merge remote-tracking branch 'origin/monopile_channels' into monopile…
dzalkind Feb 11, 2025
299902a
Revert "Change openmpi to mpich"
dzalkind Feb 12, 2025
577554b
Remove openmpi
dzalkind Feb 12, 2025
9dcc05d
update readme, after that we're ready to merge
ptrbortolotti Feb 12, 2025
1fb9adf
Merge pull request #350 from WISDEM/monopile_channels
ptrbortolotti Feb 12, 2025
b0738fe
WEIS v1.5 (#351)
dzalkind Feb 13, 2025
c56cf19
Merge branch 'main' into develop
dzalkind Feb 13, 2025
3eb310a
update turbsim utils
ptrbortolotti Feb 17, 2025
84e9046
Revert gen_oloc example to use openfast_io
dzalkind Feb 17, 2025
70867bc
Revert "Revert gen_oloc example to use openfast_io"
dzalkind Feb 17, 2025
071351b
coherent wind at least 60 sec long (openfast sims can still be short)
ptrbortolotti Feb 17, 2025
63ead69
Merge pull request #352 from WISDEM/turbsim_path
ptrbortolotti Feb 18, 2025
fa3c609
WEIS Input Visualization (#334)
sora-ryu Feb 18, 2025
635ffd4
Merge branch 'WISDEM:develop' into develop
sora-ryu Feb 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 0 additions & 5 deletions .coverageac

This file was deleted.

64 changes: 57 additions & 7 deletions .github/workflows/CI_WEIS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macOS-13", "macOS-latest", "windows-latest"] # mac13 is intel, mac-14 arm
python-version: ["3.9","3.10","3.11","3.12"]
python-version: ["3.10","3.11","3.12"]

steps:
- uses: actions/checkout@v4

- name: Install conda/mamba
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
# https://github.com/marketplace/actions/setup-miniconda
with:
# To use mamba, uncomment here, comment out the miniforge line
Expand All @@ -43,11 +43,11 @@ jobs:
- name: Add dependencies ubuntu specific
if: false == contains( matrix.os, 'windows')
run: |
conda install -y petsc4py mpi4py openmpi pyoptsparse
conda install -y petsc4py=3.22.2 mpi4py pyoptsparse

- name: Add test packages
run: |
conda install -y pytest pytest-cov coveralls
conda install -y pytest pytest-cov coveralls treon gdown

- name: Show custom environment
run: |
Expand Down Expand Up @@ -80,17 +80,67 @@ jobs:
#- name: List tests
# run: |
# pytest --collect-only weis

# Test walkthrough notebook
- name: Test postprocessing notebooks
if: contains( matrix.os, 'ubuntu') && contains( github.event_name, 'pull_request')
env:
RUN_EXHAUSTIVE: 1
run: |
cd examples/16_postprocessing
gdown --no-check-certificate 1AtLjjX5xpPqlHkfwDqeUj6VBMOYWcjmV
unzip outputs
treon plot_FAST.ipynb
treon rev_DLCs_WEIS.ipynb
treon rev_Opt.ipynb
treon rev_WEIS_CSV.ipynb

# Run all tests within WEIS, but not computationally expensive examples
- name: Run tests within WEIS
if: false == contains( matrix.os, 'ubuntu') || contains( github.event_name, 'push')
run: |
pytest --cov-config=.coverageac --cov=weis -p no:warnings --disable-warnings weis

pytest -p no:warnings --disable-warnings --cov=weis weis

# Run long tests in on pull request
- name: Run exhaustive
if: contains( matrix.os, 'ubuntu') && contains( github.event_name, 'pull_request')
env:
RUN_EXHAUSTIVE: 1
run: |
pytest -p no:warnings -s --disable-warnings weis

# Run parallel script calling OpenFAST
- name: Run parallel cases
if: contains( matrix.os, 'ubuntu') && contains( github.event_name, 'pull_request')
env:
RUN_EXHAUSTIVE: 1
run: |
cd examples/02_run_openfast_cases
mpiexec -np 2 python weis_driver_loads.py
cd ../03_NREL5MW_OC3_spar
mpiexec -np 2 python weis_driver.py
cd ../05_IEA-3.4-130-RWT
mpiexec -np 2 python weis_driver.py
cd ../09_design_of_experiments
mpiexec -n 2 python DOE_raft.py
mpiexec -n 2 --bind-to core python DOE_openfast.py
python postprocess_results.py
cd ../17_IEA22_Optimization
mpiexec -n 2 python driver_weis_raft_opt.py

# Run scripts within dac folder
# - name: Run examples distributed aerodynamic control
# run: |
# cd examples/dac_flaps
# python dac_driver.py

# Run coveralls
- name: Run coveralls
if: contains( matrix.os, 'ubuntu') && contains( matrix.python-version, '3.11')
#uses: coverallsapp/github-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#uses: coverallsapp/github-action@v2
#with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
run: |
coveralls --service=github
97 changes: 0 additions & 97 deletions .github/workflows/run_exhaustive_examples.yml

This file was deleted.

5 changes: 3 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "mambaforge-4.10"
python: "mambaforge-22.9"
jobs:
# Read the docs needs a couple packages not in the environment file
pre_install:
- conda install cmake compilers
- conda install -y cmake compilers sphinx sphinxcontrib-bibtex sphinx-jsonschema
- conda install sphinx_rtd_theme>=1.3


# Shouldn't need conda for building the docs, but it is an option
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ The installation instructions below use the environment name, "weis-env," but an

2. Add in final packages and install the software

conda install -y petsc4py mpi4py pyoptsparse # (Mac / Linux only)
conda install -y petsc4py=3.22.2 mpi4py pyoptsparse # (Mac / Linux only, sometimes Windows users may need to install mpi4py)
pip install -e .

3. Instructions specific for DOE HPC system Eagle. Before executing the setup script, do:
Expand Down
65 changes: 65 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
/* dl.class, dl.method, dl.attribute {
display: inline-block;
padding-top: 15px;
padding-bottom: 15px;
}

dl.class, dl.method, dl.attribute {
border-top: groove;
border-top-color: darkgrey;
} */

dl.class::before {
content: ' ';
width: auto;
display: block;
border-top: 4px solid black;
margin-top: 35px;
margin-left: -30px;
padding-bottom: 35px;
}

dl.method::before {
content: ' ';
width: auto;
display: block;
border-top: 1px solid black;
margin-top: 15px;
margin-left: -30px;
padding-bottom: 15px;
}

dl.function::before {
content: ' ';
width: auto;
display: block;
border-top: 1px solid black;
margin-top: 15px;
margin-left: -30px;
padding-bottom: 15px;
}

dl.attribute::before {
content: ' ';
width: auto;
display: block;
border-top: 1px solid black;
margin-top: 15px;
margin-left: -30px;
padding-bottom: 15px;
}


.wy-nav-content {
max-width: 1100px !important;
}

.wy-table-responsive td,
.wy-table-responsive th {
white-space: normal;
}

.wy-table-responsive table.word-wrap td,
.wy-table-responsive table.word-wrap th {
white-space: inherit;
}
3 changes: 3 additions & 0 deletions docs/_static/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
$(document).ready( function () {
$('table.datatable').DataTable();
} );
20 changes: 20 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
'sphinxcontrib.bibtex',
'sphinx.ext.intersphinx',
'sphinx_rtd_theme',
'sphinx-jsonschema',
# 'autoapi.extension',
# 'embed-n2',
]
Expand Down Expand Up @@ -106,3 +107,22 @@
'searchbox.html'
]
}

html_css_files = [
'https://cdn.datatables.net/1.10.23/css/jquery.dataTables.min.css',
"custom.css",
]

html_js_files = [
'https://cdn.datatables.net/1.10.23/js/jquery.dataTables.min.js',
'main.js',
]

# Bibtex configuration
bibtex_bibfiles = ["references.bib"]

jsonschema_options = {
'lift_title': True,
'lift_description': True,
'lift_definitions': True,
}
Loading
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载