Skip to content

Conversation

@dzalkind
Copy link
Collaborator

@dzalkind dzalkind commented Jan 5, 2026

Purpose

  • Add a series of notebooks, inputs, and drivers used to create new aeroelastic models based on the WEIS workshop.
  • Support for OpenFAST 4.2.0
  • An attempt at making pcrunch processing leaner (weis/aeroelasticse/runFAST_pywrapper.py)
  • Adding turbulence class/TI to wind file name (weis/aeroelasticse/utils.py). When DLCs were run across different TIs with the same seed, the filename was the same, so it is not updated.
  • A bug fix in weis/main.py that made it so MPI and TEST_MODE could not be used simultaneously. Should speed up parallel CI tests considerably.

Type of change

What types of change is it?
Select the appropriate type(s) that describe this PR

  • 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

Explain the steps needed to test the new code to verify that it does indeed address the issue and produce the expected behavior.

Checklist

Put an x in the boxes that apply.

  • 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

@coveralls
Copy link

coveralls commented Jan 30, 2026

Pull Request Test Coverage Report for Build 21686438999

Details

  • 1 of 3 (33.33%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 58.388%

Changes Missing Coverage Covered Lines Changed/Added Lines %
weis/aeroelasticse/runFAST_pywrapper.py 0 1 0.0%
weis/main.py 0 1 0.0%
Totals Coverage Status
Change from base Build 21263922918: 0.01%
Covered Lines: 8322
Relevant Lines: 14253

💛 - Coveralls

@dzalkind dzalkind merged commit f051c6d into develop Feb 4, 2026
18 checks passed
@dzalkind dzalkind deleted the workshop_scripts branch February 4, 2026 23:00
dzalkind added a commit that referenced this pull request Feb 6, 2026
* Updates for running a large number of cases (#441)

* Enable using previously generated wind inputs

* Set up user input for skipping previously finished openfast calls

* Make default overwrite_outputs True, like previous functionality

* Rectangular update (#447)

* Fix DLC generator test

* Revert 02 input

* Tidy new code blocks

* Add developer docs

* Outline dlc generator cases

* Add DLC documentation (1.X)

* Add tip clearance channels

* Increase WvHiCOff so we can model normal sea states properly

* Rename case to case_i

* DLCDocs: Start documentation for DLC 2.x

* Add fatigue processing input

* Update DLC 1.2 case generation with wind/wave direction, etc.

* Fix typo

* Initial add of OrcaFlex translation scripts/inputs

* Add more tower translation to OrcaFlex notebook

* Set up member-based hydro coefficients

* Add new potential model override

* run user-defined blade elastic properties

* Let NumSegs be a mod opt, set wtrdepth consistently, moordyn ordering

* Update BEM_dir when PotFile is provided

* Add WEIS example for running orcaflex based input

* Add back NumSegs input for MoorDyn

* Add member-based Cb

* Point to correct ROSCO yaml

* Changes default Cb to 1

* Fix numsegs error message

* Skip member-based hydro coeffs for monopiles

* Add blank IEA-15 yaml

* Fix potential model override

* Add time period calculations for freedecay DLC

* Modify get_signalperiods to better identify peaks

* Related updates for user-defined blade properties

* Add force excursion DLC

* Updated dlc driver and example 02 - loads to AeroDyn changes from v4.x

* Add startup and shutdown DLCs

* Modify DLCs to make them more accurate according to IEC standards

* Fix shutdown dlc to allow for better default values and fix yaw_misalignemnt in DLC 6.x and 7.x

* Fix merge conflicts

* Allow RAFT to have user-define potential flow model

* Initialize WaterKin

* Add steady, step and ramp DLCs

* Add DLC 10.1 and 10.2 and fix small bugs

* Initialize WaterKin

* Reduce fault times for DLC tests and small bugfix

* Streamline post_processing, dicts don't need to be returned, error prone

* Add default wind speed to some DLCs

* Fix bug with wind file generation

* Fix bug introduced in  DLC 6.4

* Fix more tests for DLCs

* Fix more DLC tests and options for DLC 4.2

* Fix DLC 4.2 and adjust test timings.

* Revert FAST_exe addition to dlc_driver tests

* Set default value for PLExp for windtype2

* Add descriptions to some DLCs

* Add comments to mooring failure DLCs

* Rename Steady,Ramp and Step DLCs to steady, ramp and step

* Fix bug with dlc 2.3

* Add user_bts option to allow for user defined wind

* Add user_bts option for more wind types

* Add userwind DLC

* Fix user bts, set wind heading for steady dlc

* Fix static load application with new case generator

* Set wave_model for each DLC

* Add wind_heading to userwind DLC

* Set AxCp to zero for potential_model_override = 3

* Pass rigid bodies to RAFT

* beginning migration to windiov2

* can now run through at least one example

* Finish merge and OF 4.1 support for pot_mod_override = 3

* more examples running

* Joints have names, openfast only

* fixing more tests and examples

* testing improvements

* more test fixes

* Update DLC 1.2: set n_seeds and n_cases to simulate from table

* Make DLC 1.2 warning slightly better

* Change sign of wave_direction, wave_direction_fatigue is in met coords

* Start working on HydroDyn

* Updates for hydrodyn

* Update connection to elastodyn mass_den

* Fix excursion load after merge

* Add mooring DELs, chain and placeholder params

* Change directories for exe runs of OpenFAST, too

* Make AEP output calcs safer

* Add step loading with stc for freedecay dlc

* trying with wisdem windio2

* fixing command option

* trying less restrictive model options writing

* making sure to test py313

* some progress, but have to sync on raft changes too

* Updates for SubDyn, first working version

* initialize TTFAdisp_initial

* fix typo

* again

* lower it to 3pc

* Cleaned used and duplication

* compute P_out_std

* add openmdao outputs

* Cleaned monopile part

* fix output power curve

* initialize rho air earlier

* fix if n_seed=1

* Model files update

* fix section_offset_y and section_offset_x in visualizer

* gha update

* some more viz app progress

* Joints have names, openfast only

* Fix Ca_coarse definition

* fixed unit tests

* consistency in 15mw files, enabling unit tests

* wisdem integration and examples debugging progress

* testing improvements

* setting truth values

* trap all zeros in mode shapes

* Make merit figure checks lower case

* remove conflicting schema for merit figure

* trying again with kestrel-generated truth archive

* fix rectangular by pulling from windio branch directly

* redo tagging

* typo in url

* sync with floatingse changes

* hams is choking on the big mesh for rectangular volturnus

* Try m2-pkg-config in windows

* changing to strip theory so hams does not choke on the size of the mesh

* Revert into to RAFT viz test

* Install bs4 in conda

* Sync tower design geometry/modeling with regular IEA-15 inputs

* compute AEP quantities if DLC 1.1 or DLC AEP, skip otherwise

* Sync TMD example with vanilla Volturnus geometry/modeling

* Activate test mode for overrides example

* make sure ontology is updated in both weis and wisdem before being written out

* Fix tiny typo

* Fixed node and property IDs

* Update volturnUS hydro model coefficients to avoid negative coeff errors

* Fixes for monopiles

* Give example 18 a test_run mode

* Re-organize examples

* Test fatigue preprocessing

* Add fatigue example

* Fix all dlc tests

* Reorganize potential flow modeling options, first attempt

* Speed up BEM test temporarily

* Updates for strip theory only volturnUS model

* Removed intersection_mesh override

* Add concentrated masses for ballast

* volturnUS model work in progress

* Fix DLC 1.4 default wind speeds

* Fix DLC 1.4 default wind speeds

* Clean up add_concentrated_mass temporarily

* Clean up merge

* Add subdyn concentrated masses for variable ballast and bulkheads

* Make two cases for IEA-15 semi modeling

* Fix all dlc test

* Try testing via CI with feature branches

* Fix typo

* Fix issue with member coefficients when the members are split for OF

* Give oc3 spar some coefficients

* Fix monopile example, working on both IEA 15 models

* Use newest WISDEM in CI

* Re-enable feature branch of RAFT

* Fix bug mapping conc mass to incorrect nearest joint

* Do semi driver only on ubuntu because of mesh dependencies

* Update member numbers only in offshore configs

* Clean up outdated TODOs

* Test BEM only on ubuntu

* Set MoI of concentrated masses to CG of ballast/bulkhead

* Clean up PR changes

* Allow both TI and TI_factor for AEP calculations

* Align CI platforms with wisdem

* Point to hybrid modeling options in test_BEM

* Set plexp even for user-defined wind inputs

* Fix and test force excursion DLC

* Fix and test userwind dlc

* Send RAFT correct BEM_dir if defined, fix duplicate code

* Enable dlc_generation without modeling option input, increment n_cases

* Fix f-string error

* Add userwave DLC

* Re-set RAFT BEM_dir only if it's not running pyHAMS

* Use openmpi=4

* Try skipping dlc 2.4 to see if that fixes test

* Re-enable 2.4 and increase default DT

* Revert "Use openmpi=4"

This reverts commit 34e73d6.

* Try mpirun

* Use conda forge for mpi packages

* Back to mpiexec and search for executable

* Try pinning packages

* Point to strip theory modeling options

* Skip installation of trimesh

* Remote which mpiexec

* adding trimesh

* some debugging outputs

* ubuntu openmpi?

* ubuntu mpich?

* should resolve the weird mpi issues

* use experimental pcrunch

* use the latest pcrunch

* Use environment yml to install RAFT dev for now

* Fix visualization test, yaw is not visualized

* Update input yamls from WISDEM, including user_elastic

* Fix more numpy openmdao float casts

* Sync IEA-22 model with WISDEM, remove stiffeners

* restoring stiffeners in iea22 model with correct deg spacing for longitudinal

---------

Co-authored-by: AbhineetGupta <abhineet.gupta@nrel.gov>
Co-authored-by: yqliaohk <yqliao@umich.edu>
Co-authored-by: Garrett Barter <garrett.barter@nrel.gov>
Co-authored-by: ptrbortolotti <ptrbortolotti@gmail.com>

* fix units discrepancy in damage calculation with latest version of pcrunch

* update minimum versions

* New org (#454)

* update new org name

* missed a few

* Add WEIS Workshop Notebooks/Scripts for Model Creation (#453)

* Don't collect all outputs when running mpi

* Add chapter 1 inputs and testing

* Add chapter 2, stage 2,3,3.5

* Add stage 4

* Skip plot if in test mode

* Add chapter 3, no drivers

* Update workshop functions

* Clean up chapter 1, no drivers

* Add TI/class to turbsim file name

* Clean up chapter 1, add readme, use optimized rosco in tuning yaml

* Tidy up chapter 1 and 2 more

* Add all models/inputs for model creation

* Add stage 1 drivers/inputs

* Test notebooks in CI

* Test model creation drivers in CI

* Point to newly generated rosco yaml

* Re-number model creation process examples to 11

* Fix path to model

* Add HubIner_Teeter to openfast_io

* Update OpenFAST inputs from IEA repo

* Don't use pre-computed results

* Reduce examples run for faster iteration (revert later)

* Fix output directory in chapter3

* Enable tests required for viz testing

* Fix bug that didn't quite use test mode with MPI

* Revert "Reduce examples run for faster iteration (revert later)"

This reverts commit c633d4e.

* Clean up runFAST_pywrapper changes

* Clean up merge that repeated code

* Revert skipping of RUN_EXHAUSTIVE on not linux

* Use test_run in openfast doe to speed up CI

* Set TEST_RUN to false by default

* Skip installation of dev versions of wisdem/raft

* Add note about RAFT

* Update version in toml

---------

Co-authored-by: AbhineetGupta <abhineet.gupta@nrel.gov>
Co-authored-by: yqliaohk <yqliao@umich.edu>
Co-authored-by: Garrett Barter <garrett.barter@nrel.gov>
Co-authored-by: ptrbortolotti <ptrbortolotti@gmail.com>
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.

4 participants