Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DLC Generation - Refactor and New Cases (#308)
* [DLC] Add skeleton for DLC case input refactoring * Send openfast outputs to directory of analysis options output * Start new method of dlc generation * Use new DLC_generator in OM_OF, single DLC only * Create functions of things that will happen in each DLC * Tidy up DLC 5.1 before applying elsewhere * Add DLC 1.6, generate multiple DLCs * Tidy up new dlc generator more * Apply initial conditions in dlc_generator * Apply olaf parameters * Refactor dlc generator: combine functions * Add PSF, windtype, seastate, and label to dlc_options * Update DLC generator for 6.1: Turn off generator at shutdown_time Expand default options Include wave_mod Apply PSF Catch error in first generic_case_input Only apply ICs in operational DLCs * Run new DLC generator in gc_LoadInputs * Apply wind inputs to case_list * DLC: Adding new versions of DLC 1.x * Update DLC 1.6, 5.1 generators * DLC: Add option of using non-turbulent wind in new DLC code * Add 50-year sea state * Re-organize order of functions * Remove yaw_misalign from wind seed calculation, handled by groups now * Set up DLC 6.3 and re-write generate_new_dlc * DLC: Finish DLC 1.5 and progress towards 1.2 * Add DLC 6.2 * Get known dlcs from modeling schema * Add DLC 3.1, regular startup in NTM * Add DLC 6.4 * Remove DLC 12.1 * Move new dlc generator to original file and name * Revert inputs for example 05 that tests DLC generator * Fix small errors in DLC_Generator.py * Set n_ws_dlc11 * Fix typo in dlc_generator and fix dlc test by removing DLC 6.5 from example 5 * Fix dlc11_ws output, it's the number of wind speeds * Clean up example 05 modopts * Fix DLC 11 counter and DLC 64 wind speeds * Fix a bug where string dlc options were storred with incorrect type * Fix error with DLC 6.4, wind speeds were stored as np-array instead of list * Fix issue with DLC 6.4 * Add DLC 2.1 and 2.3, change ROSCO version to 2.9.4 and change a variable name in IEC_CoeherentGusts.py * Set default 5.1 times if not provided in input * Remove old array inits, add case name to table output * Clean up comments * Fix DLC 6.2 label * Write OpenFAST output to stdout as a modeling option * Flip shear ordering to match previous implementation exactly * Disable unsteady aero for DLC 1.4 * For DLC 6.2, simulate more yaw misalignments * Add met options to dlc_options for output reporting * Rename wave variables/keys for output reporting to match modopt inputs * Fix add met options * Sync wind_seeds, rand_seeds, and wind_seed naming * Remove wind_speeds, all wind_speed now * Fix probabilities dictionary, re-normalize * Start DLC docs in WEIS * Tidy some docs pages * Outline DLC page * Ensure RAFT gets correct DLC data * Test the raft input generated in ex15 against a standard input * Reorganize to remove globals from dlc_generator * Use wind_speed to set URef * Point to new RAFT input file, generated with WEIS * Add DLC for AEP calculations with constant TI * Try printing RAFT inputs * Disable regression test for now * Assign wave seeds for each case * Add DLC 7.1 and 7.2 * Fix 1-year sea state * DLC: Add yaw error as an option for fault cases * 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 * Fix AEP DLC and PSFs * Move yaw and pitch faults to DLC 2.2 and add excpetions to fault cases --------- Co-authored-by: AbhineetGupta <[email protected]>
- Loading branch information