forked from WISDEM/WEIS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'ROSCO/' changes from e86b860d..40a4edc9
40a4edc9 F/zmq (WISDEM#145) b45fb430 External Control Interface (WISDEM#141) 9ca75e1e Robust control updates (WISDEM#139) 0bf504ee Pass through (WISDEM#136) 75e7fb8d RAAW Updates (WISDEM#133) 50a2f90e Add OpenFAST channels that Simulink reads (WISDEM#135) 5cdb0b5f Pitch Actuator and IPC updates (WISDEM#123) e035a7d9 Flip Ct and Cq table allocation (WISDEM#130) bd0562cd sigma + ipc (WISDEM#125) d5201923 Update docs to reflect CI process e9c9378e Merge remote-tracking branch 'upstream/develop' into develop 4126adbf Bladed readthedocs (WISDEM#117) d7d15b04 Update version in API change docs 8c312875 Bladed docs (WISDEM#116) 5f18bf8c Increment version number 9b5499d7 ipc (WISDEM#105) a857211f Allow default inputs (WISDEM#110) REVERT: e86b860d delete extra F_FlpCornerFrerq REVERT: e7e10e66 Merge remote-tracking branch 'origin/f/ipc' into f/ipc REVERT: bee2e8e5 improved flap controller filtering REVERT: 427f2ac5 refactor flap tuning for normalization methods REVERT: de5ebc1c Update ROSCO Simulink model with IPC example REVERT: 77dcc15a Revert "Print OL inputs" REVERT: f6bea78d Print shape REVERT: ec401f37 Print more stuf REVERT: 69e87c49 Make example shorter REVERT: 8623c86e Print OL inputs REVERT: 4e2dac46 Allow logging level 3 REVERT: 8e2a642b Print OL inputs REVERT: 58573a71 Disable other examples REVERT: bf72b14f Revert "Use PriPath and RootName to name dbg files" REVERT: ad4409db Merge remote-tracking branch 'nja/f/ipc' into f/ipc REVERT: 285f7b0e Print AvrSWAP REVERT: 062fcaa5 Use PriPath and RootName to name dbg files REVERT: 38a13da4 add control packageg REVERT: a9f43b94 Print when finished with ROSCO REVERT: 58b4e1b5 Update discons - resolve conflict REVERT: c8b23371 Merge remote-tracking branch 'upstream/develop' into f/ipc REVERT: 480c7c4a Disable logging level REVERT: 3beca3eb Clean up, hone in on debug call REVERT: 5692ab84 Add more debugging lines 2 REVERT: a568be6a Add more debugging lines REVERT: e119569f Debug OL reading REVERT: 0971f300 Set wind speed, rotor speed IC in example 14 REVERT: a362dc47 Fix OL_Input reading REVERT: b4c75584 Update DISCONs again REVERT: db919993 Fix Material parameter path REVERT: 1dc03765 shorten simulation time REVERT: 5cb3725e Allow IPC to command pitch value below peak shaving saturation limit REVERT: 07753d8c Add IPC tuning vars REVERT: 6caf61ed cleanup and streaamline run_examples REVERT: 1e5398f9 add examples to readme REVERT: 26bd784e Update cp surfaces and DISCONS REVERT: 7f3d89a3 Add example 13 for IPC REVERT: e35f20a1 expand pitch_initial to 30 degrees REVERT: 7760bcd7 update coord reader/writer REVERT: c1d7908d Add IEA15MW_OL.yaml REVERT: 9a75c711 ignore dbg2 files REVERT: 28099671 Update Polars to point to coord files REVERT: b6ba2535 make sure IPC_KP is positive REVERT: 03f2b761 fix ipc gain printing bug REVERT: 9bc06254 fix variable names REVERT: 02e08f7d add IPC gains to schema for pass-through ability REVERT: 86f3a9c4 numerical qualifiers for error handling REVERT: abd83d73 Add IPC_KP to api changes REVERT: 844b0693 add CMakeFiles to gitignore REVERT: 2ade0153 add mutichannel plotting with tuples REVERT: 7e5e2a3d Error checking foro flp or ipc REVERT: 79e5d540 Addd IPC_KP to DISCON.IN REVERT: 0111087a Fix comments in ColemanTransformInverse REVERT: fded9d42 Add cyclic flap conrol REVERT: dbd81afd Better logic for filtering RootMOOP and fix notch filter slopes bug REVERT: 5e40ac40 Add IPC and filtered RootMyc to registry REVERT: 823f5f00 Add proportional control and cleanup IPC REVERT: 065befa7 Fix performance table paths REVERT: afca92fc Update surface and DISCON.INs REVERT: 262d3f6f rename aerodynblade inputs REVERT: ee00f678 remove interpolation of blade chord and twist git-subtree-dir: ROSCO git-subtree-split: 40a4edc9fc15430d7bd21f895c00a7bf7455add6
- Loading branch information
1 parent
d3ac52c
commit 3b8a5af
Showing
90 changed files
with
6,464 additions
and
2,952 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
''' | ||
----------- Example_15 -------------- | ||
Use the runFAST scripts to set up an example, use pass through in yaml | ||
------------------------------------- | ||
In this example: | ||
- use run_FAST_ROSCO class to set up a test case | ||
''' | ||
|
||
import os | ||
from ROSCO_toolbox.ofTools.case_gen.run_FAST import run_FAST_ROSCO | ||
from ROSCO_toolbox.ofTools.case_gen import CaseLibrary as cl | ||
|
||
|
||
#directories | ||
this_dir = os.path.dirname(os.path.abspath(__file__)) | ||
rosco_dir = os.path.dirname(this_dir) | ||
example_out_dir = os.path.join(this_dir,'examples_out') | ||
os.makedirs(example_out_dir,exist_ok=True) | ||
|
||
|
||
def main(): | ||
# Simulation config | ||
r = run_FAST_ROSCO() | ||
|
||
parameter_filename = os.path.join(rosco_dir,'Tune_Cases/NREL5MW_PassThrough.yaml') | ||
run_dir = os.path.join(example_out_dir,'15_PassThrough') | ||
os.makedirs(run_dir,exist_ok=True) | ||
|
||
# Step wind simulation | ||
r.tuning_yaml = parameter_filename | ||
r.wind_case_fcn = cl.simp_step | ||
r.wind_case_opts = { | ||
'U_start': [10], | ||
'U_end': [15], | ||
'wind_dir': run_dir | ||
} | ||
r.save_dir = run_dir | ||
|
||
r.run_FAST() | ||
|
||
|
||
if __name__=="__main__": | ||
main() |
Oops, something went wrong.