Skip to content

Commit

Permalink
Squashed 'ROSCO/' changes from 7e100154..05e9eef
Browse files Browse the repository at this point in the history
05e9eef Merge pull request #55 from dzalkind/f/deallocate
1c8b9a1 Skip mac testing of examples
4c43f4a Skip examples in windows for now
991a406 Run examples instead of testing on other platforms
466f876 Test examples on macOS and windows
c569815 Close discon library after every sim run
0f2707f Revert deallocation stuff
cf59354 Update example_05 to run simple simulation twice and check result
e9a93ee Try new dlclose function
8e28217 Clean up comments
e201b5d Deallocate arrays in ROSCO, check in example_05
874c760 change rotor speed constraint to be epsilon
002f5c2 Revert ServoDyn change
42c6544 Make _Toolbox vs_minspeed in rotor frame to match ROSCO
0274161 Merge remote-tracking branch 'upstream/develop' into oneROSCO2
9075090 Rename to CI_rosco
d5943b5 Compile ROSCO from ROSCO dir
1713360 Only check Fl filter parameters if Fl_Mode > 0, fix example_05
714f56d Integrate schema into turbine, controller, and examples
7b77ffc Add schema and update empty tuning yaml inputs, not connected yet
560dc5f Clean up example_05, wind files
5f7c02c Let example_05 run independently from 04
87ecf66 Make example_04 consistent with others
2ec4e79 Only check FlpCornerFreq if using Flp control, fixes example 05
a552a8d Clean up example_07
84de6f4 Clean up example_06
a36b662 Fix and point example_04 to Tune_Cases/
ba28744 Update verbiage around using ofTools vs. weis
3ea48e2 Fix and point example_01 to Tune_Cases/
f9a2519 Remove Examples/DISCON.IN from git
814948c Fix .gitignore
7ecd200 Merge ROSCO and _toolbox gitignore
29344ef Remove parameters_files
115e303 Add back pesky ErrVar
2e13c0b Move cmake-related files to ROSCO
a68c21e move ROSCO source to ROSCO folder
95d5bcf add ROSCO without submodule
c64a553 Merge remote-tracking branch 'rosco_toolbox/develop' into oneROSCO2
c15bbfd Increment Version, OF3.0 (#57)
3a36b5e Update Testing (#58)
f0c2561 Merge branch 'develop' of https://github.com/NREL/ROSCO into develop
e0d001b Update turbine.py (#56)
8ee78e5 Merge pull request #54 from NREL/docs
209fd81 make uppercase
662b04b fix bullets
c72e805 Update headers
b13bc34 typo fix
f4116b3 add survey
5899ec1 add survey
08ef420 Merge remote-tracking branch 'upstream/develop' into docs
2e7aa6f Merge pull request #53 from dzalkind/weis
e9247ee Revert controller to develop: TSR_at_minspeed
2cc92c9 Add peak shaving back to UMaine Semi example
db7b959 Update UMaine Semi test case input
691c157 Revert tune cases to develop
611d834 Revert examples and test cases to develop
279cb32 Read turbine variables using weis if available
8a05fea Merge remote-tracking branch 'upstream/develop' into weis
3e8ce68 Update IEA-15MW semi example: use peak shaving w/ ps_percen=0.8 (#50)
b57376d Fix FA_HPFCornerFreq, WE_CP name to match ROSCO variable, WE_CP_n (#51)
3b69cd9 Specify number of gain scheduling points for pitch, wind speed with input (#52)
1ea9835 Draft: Clarifying docs for Windows users (mingw) (#44)
d894940 Docs (#49)
fd7b0b1 Merge commit '2d3c83c16cfd935bfd73f883e144e258fce4718c' into docs
71567be Remove italics in headers
6087eb1 move table of contents
a75b926 Point to WES preprint
2d3c83c Update rosco_toolbox.rst (#47)
b7ef93e Update control interface: add nacelle IMU, method to kill discon (#42)
c87da84 Merge commit '381ae2862ee58d9684ef5c69270eef4956ce1813' into weis
381ae28 CI Testing (#41)
d748c9f Merge remote-tracking branch 'upstream/develop' into weis
da6b56c Merge pull request #40 from nikhar-abbas/b/interp
67d5d36 Write example_07 (min pitch) output to new figure
3750beb Remove double instance of rated wind speed in controller.v
9e89ef8 Make interpolation function monotonic
65c4020 linear interpolation
9b123f1 Update examples to test in weis environment, working
53343d1 Delete history file
07b46b6 Update version to 2.2.0
15976f5 Merge branch 'develop' into weis
b813a22 Clean up testing scripts
1a5e9ae Point submodule to main branch of ROSCO
6d6fa78 Merge branch 'develop' of https://github.com/NREL/ROSCO_toolbox into develop
8cd8388 Fix paths, print outputs to pdf, add submit script
5469f16 Merge remote-tracking branch 'upstream/develop' into develop
96ec34d Update IEA-15MW Tune and Test Cases
d0d4165 Merge pull request #38 from nikhar-abbas/develop
bb5a8e2 ROSCO install path bug fix
b3ab9c6 Update gitignore, DISCON example
d647d0a Revise documentation 2
53ed6f0 Revise documentation
08d6044 Break lines up for readability, minor edits, re-organize TOC
f466822 Point Test_Cases/ to ROSCO in install/lib
72bbaf8 Update version and names in __init__.py
0032cdc Point submodule to main
764fae0 Merge remote-tracking branch 'upstream/develop' into develop
fb1a122 Update simulink model input channel names, running
bf3b3fd Merge pull request #33 from NREL/f/docs
97b36e5 Merge remote-tracking branch 'upstream/develop' into f/docs
d1ba1f1 formatting
b70ca27 Add ROSCO page
667b2c1 Table formatting
5900d63 Add ROSCO inputs
d1fee5a Toctree update, formatting
788173f typo fix
0952950 Merge branch 'f/docs' of https://github.com/NREL/ROSCO_toolbox into f/docs
5a3db3e Add ROSCO toolbox instruction to contents
112b960 ROSCO toolbox specific intructions - initial commit
2825f74 Add mingw, fix capitalization
d4e46ff Add draft of workflow/standard use
7d28a6f Get rid of annoying spectral warning
25ef7a7 Update ROSCO install dir, other setup fun stuff
52465fe Merge remote-tracking branch 'upstream/develop' into weis
0e17b73 Merge pull request #36 from dzalkind/f/auto_test
3454fc0 Merge remote-tracking branch 'upstream/develop' into weis
a916119 Separate examples into individual tests
4c00d6b Add run_examples script for doing that
6497b50 Make IEA-15MW test in example 06 longer
3707cfe Update example DISCON
b7439ad Move example 08 output to folder
7d181e6 Make pitch control GS points equal to where it's sampled
6c2c37e Move outputs of examples to folder
7a26d5f Merge pull request #35 from nikhar-abbas/f/flp_updates
3257995 write kappa to self
d58d1ac remove 0.7 from flpwise damping conversion
86fadcb Add units for system poles
c8e3f77 Merge pull request #34 from nikhar-abbas/f/DISCON_cleanup
df28b09 fix units in write_DISCON
ed019eb Add significant digits to wind speed lookup tables
bd13c02 Merge pull request #32 from nikhar-abbas/f/compiling
08c9ae7 Merge pull request #31 from dzalkind/openfast_250
6742026 fix version number
4a76068 Fix indexing
f516eb1 Updated example outputs
f072f2e Use generic full file paths
6ef5d52 Define windspeeds by 30 pts, not windspeed increments
e9c56eb Update Version
1c5c363 Some placeholder info
cabcd34 Cleanup for readthedocs
63d4d48 Remove old architecture images
78b274e Include workflow image
33b7a03 Fix cross references
b6235f9 Add sphinx_rtd_theme
268581c Edit for new docs format
54ffd6f update themes
ebc4dd2 remove old docs
59a1464 initial commit
8309615 Change Kp_float to interpolate at 5% above rated
32a5f9d install-rosco -> compile-rosco
529183c Update submodule branch
ff42543 Update readme for ROSCO install instructions
488d563 include --install-rosco flag
9b00496 cmake build directory in ROSCO folder
9b13daa ignore compiled files
29e37cb Merge remote-tracking branch 'upstream/develop' into openfast_250
65620c1 Merge pull request #26 from dzalkind/move_oftools
607d07e Update Test_Cases/ for OpenFAST 2.5.0
b492424 Update examples, testing for conda-installed openfast call
639a23f Update ofTools for OpenFAST 2.5.0
68fc918 Add ROSCO_toolbox version to DISCON.IN header
aa50b66 Merge remote-tracking branch 'upstream/develop' into develop
b730428 Merge pull request #28 from nikhar-abbas/weis
71565e1 Revert "fix minpitch saturation bug"
34b427c Update submodule to track develop branch
f504b34 remove 0.7 from flpwise damping conversion
bc8c9c3 write kappa to self
38e956e Merge branch 'weis' of https://github.com/NREL/ROSCO_toolbox into weis
ff4ec14 Merge pull request #27 from NREL/simulink
096f1e9 Merge branch 'develop' into weis
af600fd Set floating Kp based on v_rated + 0.5 m/s, not index
5940292 Update README.md
84c6aa7 Add ElastoDyn sensor channels for simulink simulations
3f3ce49 Update simulink test case for OpenFAST 2.4.0, streamline inputs
39aa822 Re-organize matlab scripts: remove Utilities from Matlab-Toolbox
f0355dd Add temp simulink/matlab files to gitignore
3faadab Add matlab scripts for running simulations
9540362 Update ofTools imports
7cd186c Move ofTools into ROSCO_toolbox folder for consistency
cf5b43b Fix another ofTools import
67731f8 Fix ofTools import
2256b0c Move ofTools into ROSCO_toolbox
e4a1c7f Revert setup.py to exclude ROSCO build, etc.
0e53372 Use weis.aeroelasticse for file reading
c8e9954 Make tuning yaml relative to main directory
f62653b Update InflowWind.dat templates in TuneCases/
3aab5c8 Update tune_ROSCO.py script
dd39060 Merge pull request #22 from nikhar-abbas/refactor
f1d06f2 Point to correct ccblade import, fix plot_performance max point
e5a78b8 Update examples for running anywhere
9f4e962 Updated walkthrough for latest modules
57c51e5 Remove pCrunch dependency on ROSCO testing
1127b63 Take out pCrunch dependency and post processing, pp elsewhere
6b06077 Merge remote-tracking branch 'nja/refactor' into refactor
4f772cd Change tuning precision
a440623 Include BAR Model w/ Flaps
3afe143 typo
92d6410 fix minpitch saturation bug
a7be52a Separate below and above rated windspeeds by 30 points each
cb49073 Run examples from anywhere: 05-11
7b5d46e Merge remote-tracking branch 'nja/refactor' into refactor
28c249d Increment major version, fix name
0c71cef Run examples from anywhere: 01-04
578de15 Only load ccblade if needed
abf83fc Remove wisdem import
873108c add init
f9e356a add compiler install instructions
21acfd6 remove multiprocessing
45ceb01 Fix ROSCO compiling bugs on windows
0f5a8df Update for ROSCO on windows
be59f68 cleanup
a8a616a remove repeted comment
b2a3dd9 Merge remote-tracking branch 'upstream/develop' into refactor
7c5ea21 Update for new install instructions
f9ea5c6 remove ROSCO_utilities class structure
1cee9d6 Add init options to output processing
66432b7 rename to output_processing
68aedc8 Add example 11
74e4771 Add descriptions of case_gen and fast_io capabilities
b599e3e Update for restructured FAST i/o scripts
2812c12 update comments
a54e898 cubic interpolation of Ct surface
2069fcd fix saturation points for gain schedule calculations
12037fc typo fix in comments
fbd8a72 Try for WISDEM master or dev versions of ccblade
fadd73f load and plot fast outputs - initial commit
1854d89 Move fast output read and plot functions, remove class structure
47219d7 Restore ROSCO submodule, build it in setup.py
b6295b3 Remove ROSCO submodule
5689dbe Check for conda-forge ROSCO distribution
06f4b28 comment cleanup
5d9ae83 Rename ofTools readme
3c8ae31 remove weis dependencies
d6e7157 OpenFAST tools (aeroelasticse) initial commit
9ea2e13 Merge pull request #21 from nikhar-abbas/weis
128488e Merge branch 'weis' of https://github.com/nikhar-abbas/ROSCO_toolbox into weis
a2ed63b Fix bugs in DISCON testing
e33ec92 Saturate below rated TSR by rated rotor speed
0c5fada Update for v2.1.1
0fa56ae remove hardcoded paths
6820d29 point to compiled rosco in rosco toolbox
bca7e5f remove hardcoded paths
2959a81 updatt openfast call
3add3be restructure load_blade_info call
ec9336b restructure plotting
407931c Force ccblade call
e6c7ca0 delete test_ROSCO.py
9119b43 Merge branch 'f/testing' into weis
bda9c55 Update ServoDyn params to prevent generator shutoff
2040a26 shift max cp print out
9efb2ab Set t0 = 100 to eliminate startup transients from analysis
dac8177 Add waves to heavy testing
4d4b7f9 Add GenSpeed to testing channels, run pCrunch in serial with only 1 core
d6990d1 Add weis_dir to env variables in readme, update binary dir paths, make lite default, exclude testing results from git
0a40856 Update path
41034bc Update for more modern numpy
b6a6f87 Bug fixes for multiple airfoil tables
57bd9fc Update examples for newer models and test turbines
8e05d67 make load_fast_out lowercase for consistency with plot_fast_out
3e33f39 Clean up plotting function
ac48684 Update paths and turbine
4fcf73d Move all blade parameter processing to load_blade_info
65d1870 Cleaner parameter surface plotting
27de7f1 Fix run dir for heavy testing
320d059 Pass IPC gains to DISCON.IN
41efacb ROSCO testing as class, rename file
59a9cb1 change tmax to 330 in lite testing
7111606 Update Model
aa8a5f6 Update IEA-15MW model
7e8f0b1 Updates and cleanup for flexibility, include example in __main__
3554fd7 Move testing to function for parallel processing, include __main__
23e44ea Remove old testing script
f5b67db load aeroelasticse from weis
b16aba3 Update ROSCO pointer
b6aa912 Optional wind speed, TMax inputs
b48b9e2 update path
75b9f48 check for ROSCO path
ec4c061 Delete old test case run script
9c4db81 ROSCO testing as class, rename file
ffe3635 Update ROSCO pointer
eb8be72 Update ROSCO test, add to gitignore
a60e24e Typo
30c5d3c Move output variables to init
f53685e Run Testing - initial commit
686c8b0 error handling bug fixes
0643792 properly pass desired output channels
ea8e9c0 clean up filepaths
cf2c47b 6 minute test time for lite testing
f402ff3 ROSCO testing as class, rename file
8d4b222 Create testing suite init
d95631a Update test cases
fbb5cbc fix previous commit with channel names
457a725 fix previous commit
954ef1e load binaries
b1fe191 Optional wind speed, TMax inputs
12fbbd0 update path
1c4650b check for ROSCO path
17fbb65 Delete old test case run script
bd39933 ROSCO testing as class, rename file
5d61c3c Increment version
46c42f8 Remove GBoxEff from rated torque
0653114 Increment version
37a4a8b More minimum pitch bug fixes
b946e20 Check for spectral in WISDEM
187c2e1 Minimum pitch setting minor bug fix
4892573 typo fixes
d0ee3cd Update requirements
ac712ba move scripts to source folder, typos fixes, cleanup
494a7ab master doc as index
dfc9c2a Standard use descriptions
644861c Compiling and DISCON generation - initial commit
6e2be5a Update project info
616bf27 readthedocs - initial commit
2937b19 Delete old files
b6d4324 Dump outdata to structure and plot
f1de571 formatting
3eb2b90 Load times from input files
057de6d Add checks for optional input files
4159ba5 Update Pl_FastPlots.m
0a03336 Revert examples 6 and 8
077b8d5 Create README.md
3da66f1 Fix some Simulink initial condition issues
4eb6466 Update ROSCO pointer
b29d62b Add ROSCO Simulink Model and simple Matlab/Simulink run case
2866ebd Update ROSCO test, add to gitignore
637c3a1 Increment version
8ff621f Update submodule
bb91651 Rename license file
8c86a3b Hardcode debug outname
571baad Merge branch 'develop' of https://github.com/NREL/ROSCO_toolbox into develop
9f2cf6a Increment version
53cf8c2 Remove GBoxEff from rated torque
4d43650 fix previous commit with channel names
446186d fix previous commit
2bf1888 load binaries
ed7f394 Increment version
4e4e3f9 Merge branch 'hotfix/min_pitch'
0a977d9 More minimum pitch bug fixes
8744956 Check for spectral in WISDEM
4351c05 Minimum pitch setting minor bug fix
4ad87a8 typo fixes
5cbcc31 Update requirements
de4bee2 move scripts to source folder, typos fixes, cleanup
b94f543 master doc as index
bb5ded1 Standard use descriptions
9ae9d37 Compiling and DISCON generation - initial commit
391da4a Update project info
117333f readthedocs - initial commit
707e898 Typo
c635f7d Move output variables to init
e4b3edb Merge pull request #18 from dzalkind/simulink
5fa1bb9 Delete old files
57196b7 Dump outdata to structure and plot
3203430 formatting
8b77df8 Load times from input files
9424afb Add checks for optional input files
8f0cdb7 Update Pl_FastPlots.m
7122637 Revert examples 6 and 8
877a4b2 Revert "Update ROSCO pointer"
cc3b6fd Merge remote-tracking branch 'origin/master' into simulink
2b7ef0e Fix some Simulink initial condition issues
a4a3dbe Create README.md
29a1c65 Update ROSCO pointer
76d2189 Increment version
bc29969 Increment version
008260e Merge pull request #16 from NREL/develop
963617e Update submodule
b0e4aeb Rename license file
457a408 Add ROSCO Simulink Model and simple Matlab/Simulink run case
1cd1bba Update ROSCO test, add to gitignore
52b2406 Run Testing - initial commit
edb341f error handling bug fixes
6e6bb66 properly pass desired output channels
078e35f clean up filepaths
bf2a441 6 minute test time for lite testing
5e05be9 ROSCO testing as class, rename file
301a7a3 Create testing suite init
b94be5b Update test cases
913482a Merge remote-tracking branch 'dzalkind/master' into f/testing
f0fa427 syntax bugs
e3db440 t0 error handling
57641c0 look for rotperf file as try except
4609eaf minor minpitch bug fix
6224c72 Update parameters
db5f02a Merge branch 'f/FAST_CpSurface' into develop
bf844ef Write pitch and TSR vector sizes to rotor performance files
945fa20 improved commenting and syntax fixes
6ff77bf account for efficiencies in vs_rgn2K
99eac2b Bug fix: multiple turbines can be tested now
6b9f660 Update printing if channel not in outlist
3f55df4 Add IEA-15MW model with UMaine Semi-submersible to Test_Cases
072e01c Add test_ROSCO.py for automated ROSCO testing
ef2e94d Add linear model export example
2b4149d Merge branch 'develop' into f/FAST_CpSurface
ffa17c9 Merge branch 'develop' of https://github.com/NREL/ROSCO_toolbox into develop
1e39211 Merge branch 'master' into develop
9559ad6 Merge pull request #13 from amoratoc/master
d2c26ea Generate Cp Surfaces using FAST and pCrunch
33722cc Including GBoxEff in the computations
362cbfa Less fine Cp surface resolution
e9d639c Update for cc-blade API changes (only on wisdem's IEAontology4all branch)
7b44379 Update for cc-blade API changes (only on wisdem's IEAontology4all branch)
af3611d Less fine Cp surface resolution
023dcbc Merge branch 'hotfix/spectral_dep'
cebbef5 check for spectral in wisdem
c17d810 Merge branch 'develop'
4376aa5 use ROSCO/master
a905ecc Merge pull request #10 from NREL/develop
eeaa62f Increment version
a7b714a Merge pull request #9 from NREL/f/processing
cab719e Cleanup
8aebdae include trim_output_dict
d8051e7 verbose, cleanup
914bd59 move fast plotting to its own class
42f19e5 label and comment cleanup
a30df43 Don't show plot by default
b01b3b9 typo
0d2965e Load meta_info to out_dict
a2b5f7d Plot PSD
6f38316 Plot from fast_out dict
ed77c70 Update submodule, track rosco develop by default on dev branch
e352d1d Include output trimming and optional dictionary output
9113fa5 Update requirements/cleanup
7d509b9 Blade damping bug fix
c7aef16 Added error message for no flaps
72c9118 Fix communication array values
0775432 Version fix
276e813 Read gains as single length lists
d648d0a Include DataProcessing class, write DISCON dictionary
e858dba bug fix for time shift
433c947 cleanup
a0bcf9f Merge branch 'develop'
8ac469e Slight controller commit hash updates
5e9d386 Update requirements to be less specific
45cc624 Update history, change to markdown
fe86196 Merge branch 'develop'
8b6beb2 Update WindTech Reference
22fbab0 Merge pull request #8 from NREL/develop
e950eb4 rename for lowercase
6671e4e Update for release 2.0.0
69545dc Merge pull request #7 from NREL/develop
be8b903 write_discon: make sure integer flags get written as ints incase they are automatically read as floats
2b53cb3 Ensure variables that are passed as a list are loaded correctly
8756796 Typo and bug fixes
a9e6b2f cleanup
a8ea9a8 Load value as float
435dd20 include read_DISCON
f1459e7 Treat load_from_txt function as object
9712ef4 write_param_file -> write_DISCON
26092aa New test cases - use selection from OpenFAST reg tests
6d5ea96 Clarity
ee55f78 Updates and cleanup for readability and code changes
a3c39eb Update for new test cases
9d00705 Remove some hard coded things
1eb58a7 load gearbox efficiency, cleanup
a2e5750 Updates for tuning inputs and resulting DISCON files
7ffc8f6 rename and cleanups
d757540 Time shift when trimming fast output data
f96f19a Controller updates
aed22d4 Fix bug to account for pitch saturation in state machine
5162566 Minor typographical updates
e139350 Update for new rotor and semi platform
59f8ab0 Floating controller tuning cleanup/math fixes
126d7b9 Bug fix for cc_rotor check
efa2c0a Fixes for floating bugs
76c1516 Floating controller tuning error fix
1b04746 yaml input bug fix
97d9835 Load from fast cleanup
65b30c5 Update description
18f2d36 Remove print-name statement
6d298b2 Typo fix
75153c8 Update baseline test case
841b7d3 Update flap tuning, remove old test cases
e2b640e Update floating filter description
fc96851 Properly read airfoil data for flaps
d568ff8 Restore capability for to read airfoil data tables with wisdem/master
75968a3 Flap tuning error message
b753794 wtc -> ROSCO
08ebd90 Reorg loading of rotor performance info
7ff8c85 Put loaded fast model in self
2e35708 Remove sine pitch excitation for induction capabilities
a5d9d0e Add tuning error if blade not initialized in turbine object
d215f4d Update submodule for flap saturation limits as inputs
f9fe379 cleanup
b9240f2 Include flap max pitch in inputs
5874acb Add flap max pitch as parameter
7cc3f57 Merge branch 'develop' into f/flaps
94be268 Include fast outdata trim, move load from txt to utilities
d0310b6 Update submodule
aad15e1 Fix flap filter bugs
8794124 LPF blade root bending signal at 1/3 flapwise freq
5f52dee Tuning bug fixes
1dc9386 Merge branch 'develop' into f/flaps
7528afd Band pass filter platform frequency
0693276 Flap tuning parameters as yaml inputs
6c27b38 Flap gains as numpy arrays if 0.0
f244897 Bug fix in constants
eca83e6 Cleanup
6dc15b3 Update controller tuning
548aac2 Bug fix
e1508e9 Parameter updates
3091cc4 Example flap tuning
298efa5 Include flap tuning
1e95510 Move load_from_txt to utilities
92060a5 Generic flap actuator tuning
29f2ff7 Install ROSCO in develop mode
a2b4e9d BAR tuning for flap controller
1633db4 Include flap DISCON inputs
a4b3c7c Merge pull request #6 from NREL/develop
791816f parameter name updates
6673ef0 Updated fast airfoil data structure in WISDEM
b80e96d update to modern numpy
c575eb5 Enforce F_NotchType = 2 if Fl_Mode = 1
f301eb4 limit pitch saturation minpitch by input yaml if necessary
b9984b1 Update ROSCO for filter bug fix
d2fe32b Merge branch 'develop' of https://github.com/NREL/ROSCO_toolbox into develop
bf01c41 Update for version 1.0.0
73dfa6b Update for version 1.0.0
2b31586 Enforce minpitch
c4154a6 Tune controller at TSR_operational, not TSR_opt
f2c8f3e Cleanup
7087d8c Merge branch 'develop'
9fcf452 Merge branch 'master' of https://github.com/NREL/ROSCO_toolbox
a0e6fc1 Update for version 1.0.0
6373f57 Merge branch 'master' of https://github.com/NREL/ROSCO_toolbox
09be59b Update for version 1.0.0
a9d1518 Include TSR_operational as yaml input
99de43e Include TSR_operational as yaml input
dfe5717 Update for version 1.0.0
05fe594 Tune and write DISCON.IN for floating configurations
c73b7df Include x-axis limits for plots
cb879bc Update for version 1 release
928eae4 Include version 1.0.0 release version of ROSCO
27aa5e1 Update architecture (still needs some updating)
47c36ff Nomenclature
9e24f0b Update ROSCO for floating feedback
6544448 Update input files
ca9ec62 Include floating mode switch
0604b2c Tower velocity feedback filter
276c7bd Floating feedback gain calculations
371198b Use example yaml
85f1aab Ignore Jupyter associated files and slides
ff59055 Update Jupyter notebook example
15c3935 Include cell outputs
53e06ff Include ROSCO walkthrough jupyter notebookj
9338ca9 New saved turbine
7d5b89b Cleanup
38b51df Update parameters
4f54122 Update ROSCO for torque based Setpoint Smoothing
84118df Include turbsim example
f820ed6 Add fignum and showplot options to plot_fast_out
b7a448f Cleanup
4179f16 Update for new test cases
d77be79 Update parameters
9bfb32d Ignore turbsim binaries
c3152b3 Update and simplify TestCases
1ce6673 Merge remote-tracking branch 'origin/master'
ada80f3 Typos and cleanup
92e546e Bug fixes in run_openfast
8d81391 Print, save, and load cleanup
5cb48d7 Update plots, cleanup
303c56a min_pitch at Cp-maximizing angle, TSR bug fix
0ceaace Add signals to avrSWAP
78e7f81 Cleanup
d5ca9b3 Update examples and associated files
6dcbcc9 error handling for precone variable name
4715fdd updated turbine parameters for the IEA 15 MW
569f955 Rename minimum speed for vs controller
0d9f225 Change saved pickle name
5c633ad README for examples - initial commit
974bbe2 Update example 1
d75e733 Rename examples --> Examples
0e000dd Remove old Examples folder
4608e29 Update submodule
8496f05 Rewrite for all the updates
1f0044a Cleanup
681a1f1 Implement pitch saturation for Cp-maximization at low wind speeds
3d713aa Remove test binaries
7b4a717 Update tuning
a7c4da9 Update submodule
3552e42 Include min rotor speed input
a575dd4 Include binary reading capability
b6badc8 Update title message to ROSCO
0b171ad Add comment for PreCone1 OpenFAST bug
ca40118 Cleanup and added print statements for run_openfast
35b84be Updates to input descriptions
524d8de Update Links in README
48b5ae5 Update for FAST_IO
f03a113 Update Licensing
cb1a605 Update WE_Blade Radius description
d23883d Revert "Update WE_BladeRadius description"
7304b3a Update WE_BladeRadius description
3ffe5f9 Housekeeping
a2a000a Update for shutdown controller
093a9ce Folder cleanup
e603e52 Add shutdown mode
02df480 Major ROSCO updates
b77967c Move DRC submodule to ROSCO
c92d16a Update Acknowledgments
58a6b95 Fix initial conditions bugs
2fc0961 Update Submodule
650551e Fix Rgn2K Bug
56cdfad remove large turbsim files
60ee20f Merge branch 'master' of https://github.com/NREL/ROSCO_toolbox
23e941e Merge branch 'master' of https://github.com/NREL/ROSCO_toolbox
4afacf3 Remove simulation outfiles
0e31337 Remove simulation outfiles
096db6f Remove simulation outfiles
a49406a Merge branch 'master' of https://github.com/NREL/ROSCO_toolbox
91565e3 Merge branch 'master' of https://github.com/NREL/ROSCO_toolbox
d999790 Plot OpenFAST outputs
656d2ae Plot OpenFAST outputs
91b979a Plot OpenFAST outputs
0fb87a3 Plot OpenFAST outputs
4f136ad Load fast output files (ascii and binary)
4ee185c Load fast output files (ascii and binary)
bd5cc0c Update submodule - initial bld pitch bug fix
9a4e276 Update submodule - initial bld pitch bug fix
730f6f1 Update Submodule
0d7cb9f Update Submodule
8469bb7 Fix errors in compile instructions, update acknowledgments
9091b59 Fix errors in compile instructions, update acknowledgments
eeef400 Initial README commit
0c34b4a Initial README commit
76fc6ca Initial README commit
937e593 Initial README commit
8f26775 Cleanup
b3f3ee8 Cleanup
4acc5eb Include EKF WE_Mode description
fad2b75 Include EKF WE_Mode description
4124e75 Update submodule
6787830 Update submodule
1616118 WISDEM install instructions included
4380fbe WISDEM install instructions included
14cb875 Use .md for readme
5fea463 Use .md for readme
440856c Update for WISDEM system changes
ffba009 Update for WISDEM system changes
cfade27 Update overview links
30da1de Update overview links
d4da505 Update IEA15MW
835201b Update IEA15MW
9e1ed31 Tune IEA 15MW
5658e30 Tune IEA 15MW
d1a2e87 Critical damping for LPFType = 2
79a4e09 Critical damping for LPFType = 2
5beb6fc Update TSR opt interpolation
898ca7c Update TSR opt interpolation
e133a45 NREL 5MW as example
3fcadad NREL 5MW as example
419be30 Generalize tuning script
f24fb4d Generalize tuning script
96293ac Update Submodule
b510105 Update Submodule
1fca764 Typos
37bcb43 Typos
0177f9d Update for windows users
6089220 Update for windows users
e64cbe5 Typo
e90b18b Typo
5fb0eb4 Update I/O, more resolved performance tables
f6e00cb Update I/O, more resolved performance tables
1bcf669 Update with more running instructions
4d9a522 Update with more running instructions
9ebd478 Update Submodule
175ae70 Update Submodule
2ac781e Update parameters
780618e Update parameters
7bda1aa Use turbine specific rotor performance files
d627f06 Use turbine specific rotor performance files
f4b51fe Cleanup
d8670c9 Cleanup
a7853c3 Outdated (for now!)
90811ff Outdated (for now!)
781f454 Additional acknowledgments, submodule instructions
9df57b8 Additional acknowledgments, submodule instructions
5f43699 Check for text file
0eef0f0 Check for text file
f56f732 Submodule instructions
1a25568 Submodule instructions
cad8de0 Update submodule
9dc00f9 Update submodule
90d83b7 Specify rotor performance for NREL 5MW
61b2ce7 Specify rotor performance for NREL 5MW
158d14b Major README update
0faa5b1 Major README update
4769c9b Move readme to .md
19dbe0d Move readme to .md
a8a0ec2 Rename for ROSCO
369516d Rename for ROSCO
18ae8fb Update parameters
643499b Update parameters
56d88c2 Rename WTC_toolbox
8b9f179 Rename WTC_toolbox
346f864 Update submodule
132c5fe Update submodule
1995f33 Update Submodule
2835cd3 Update Submodule
ab27e86 Comment updates
6267e55 Comment updates
eeff136 Comment cleanup
822a17b Comment cleanup
c431ce9 Add DRC_Fortran submodule
d5bc09b Add DRC_Fortran submodule
e33bb7e Delete hard-coded DRC_Fortran
4bae440 Delete hard-coded DRC_Fortran
dfb93c9 Import utilities
321be59 Import utilities
6ba2e67 Update parameters
384a64f Update parameters
c09d88e Comment and code cleanup
9d4ed91 Comment and code cleanup
e839c77 Move FileProcessing to Utilities
dd49eae Move FileProcessing to Utilities
f6470ad Update use of Cp text file
779ee9a Update use of Cp text file
fba2727 Remove old binaries
62a098e Remove old binaries
1a08caa Update parameters
707ef3d Update parameters
85503a5 Account for fileprocessing re-org
a7f4560 Account for fileprocessing re-org
e3c0f99 Comment cleanup, much more annotation
ffc1dc5 Comment cleanup, much more annotation
ac51aeb Remove newfile option, move rotor performance fileprocessing here
ec233df Remove newfile option, move rotor performance fileprocessing here
fc0d372 Housekeeping
ea9817c Housekeeping
6d330dc Update commenting, cleanup code
ce13e99 Update commenting, cleanup code
3955d9e Parameter update
df546f3 Parameter update
7362ff6 Cleanup for consistent file printout
a505851 Cleanup for consistent file printout
1923e81 Define pc_minpit
48924ca Define pc_minpit
9097c86 Include control parameters as input
36709d6 Include control parameters as input
5784417 Comments and cleanup
9213d78 Comments and cleanup
9fbfcc8 Linear interpolation on surfaces
8506270 Linear interpolation on surfaces
0ac9131 Interpolate TSR opt
4a08f53 Interpolate TSR opt
8ab8e10 Cleanup Cp_Ct_Cq.txt printing
e65b4b0 Cleanup Cp_Ct_Cq.txt printing
6f17138 fixed wind for cc-rotor analysis
174fbcb fixed wind for cc-rotor analysis
79becb7 swap precone and tilt sign for ccblade
3b89d21 swap precone and tilt sign for ccblade
c966001 Plot Cp-Surface
ebc28b7 Plot Cp-Surface
1a156e1 Housekeeping and parameter updates
fa817a1 Housekeeping and parameter updates
8c07b41 Housekeeping & cleanup
74a3ec7 Housekeeping & cleanup
3e07de5 Housekeeping
b3e1133 Housekeeping
13c9112 Update for yaml input file
1c5511a Update for yaml input file
349172f Use input file
b481115 Use input file
87a646a name updates
e9c01cc name updates
3470cce Nikhar's name in init
fbf592c Nikhar's name in init
c362c38 Update for input file, some cleanup - !! may have ccblade bug
02a2c01 Update for input file, some cleanup - !! may have ccblade bug
1481110 Use yaml inputs
6273615 Use yaml inputs
5ff633a Include parameter file
bcfbe0f Include parameter file
3ba8188 Include yaml file input for tuning
92fdb43 Include yaml file input for tuning
5579253 Include yaml input files
22d6f40 Include yaml input files
255868d cleanup
d0f6850 cleanup
03bf301 housekeeping
8e5be93 housekeeping
9d93027 housekeeping
be5cb12 housekeeping
b0b5c52 housekeeping
a76bc38 housekeeping
9425611 ignore debug
de89690 ignore debug
2417d4d Housekeeping
34253c2 Housekeeping
55f4834 Update ss for percentage based gains
d69ab8d Update ss for percentage based gains
a19d7a8 Cleanup
0d90baa Cleanup
fbb0a90 Higher resolution tsr tables
a7d8843 Higher resolution tsr tables
24b6941 bug fix
3f62f38 bug fix
1331a48 cleanup
ea3e089 cleanup
39ed01a Tune IEA Turbines
9dfd75d Tune IEA Turbines
c9b5f71 Add region 2 k calcs
ca1501b Add region 2 k calcs
869f7d0 Update tables
d892d0e Update tables
313b610 Comment out bldpitch plot ylimits
a9036ed Comment out bldpitch plot ylimits
42e5308 Update DRC
c8ffde3 Update DRC
eafeb2c Update Outfiles
104392a Update Outfiles
03610a0 Housekeeping
bbc51c1 Housekeeping
ce59b9e Merge branch 'dev_NewTurbines'
0ffa2ab Merge branch 'dev_NewTurbines'
069cb12 Remove old outfiles
c9ee384 Remove old outfiles
b431a4b Communicate torque to dll
d47c8be Communicate torque to dll
4a4ff5f Update Test Case I/O
6accfe5 Update Test Case I/O
dfcc576 Some housekeeping, hard-code NREL 15MW for now
63b39d7 Some housekeeping, hard-code NREL 15MW for now
503c710 Add above rated
4036f66 Add above rated
1fcf157 Update DRC_Fortran from Nikhar's repo
aedcc08 Update DRC_Fortran from Nikhar's repo
1f87bda Ignore matlab temp files
a385a67 Ignore matlab temp files
f133390 Update I/O
bb3db85 Update I/O
4d01982 Housekeeping
177932c Housekeeping
7b1ea6e Update I/O
bb1a826 Update I/O
fda4be0 Cleanup, include some NREL15MW hard code
838b1b5 Cleanup, include some NREL15MW hard code
9b65600 Automate write file
79c8493 Automate write file
9e4e3e8 Cleanup
dd8a96d Cleanup
11430ae Include test cases I/O
42c1421 Include test cases I/O
784ebd1 Above rated test cases - initial commit
d9ea8f8 Above rated test cases - initial commit
de34282 Update I/O - longer sim time, peak shaving
4f15082 Update I/O - longer sim time, peak shaving
bc76cca Add above rated floating
af63ea7 Add above rated floating
390ca78 Write PS_Mode = 1
0008912 Write PS_Mode = 1
efe5781 Updated I/)
50b71e8 Updated I/)
03cfdd2 Update outputs
a07e001 Update outputs
c0bf7c7 Plot peak shaving values
40aef78 Plot peak shaving values
f0a9e4e housekeeping
685a37c housekeeping
02d3ba7 Update DRC - include peak shaving filter
c4dd757 Update DRC - include peak shaving filter
48d30a7 Update OpenFAST I/O & Plotting
135961a Update OpenFAST I/O & Plotting
066bb0a Add turbine minpitch
70693dd Add turbine minpitch
65a43b2 Show plots
7076c31 Show plots
bf738c1 Include peak shaving
474149d Include peak shaving
d8c10de Updated binaries
aeaf17d Updated binaries
3c981d1 Add floating wind test cases
6464962 Add floating wind test cases
8ae12d6 Use tower flag
e31d767 Use tower flag
9087876 Include Test Cases
8cb034d Include Test Cases
eb1c674 Switch cases for different comparisons
558d40f Switch cases for different comparisons
b398fe1 Updates
ab69b93 Updates
565b9b9 Run test-case suite
df4e90f Run test-case suite
6711143 Utilities module - processing openfast simulations
dca4c4d Utilities module - processing openfast simulations
bcb503f Ignore matlab temp files
89c5524 Ignore matlab temp files
06f6347 Include MATLAB processing scripts
0aff18e Include MATLAB processing scripts
b6e6d69 File cleanup
02a9f93 File cleanup
a741996 Update binary
eb99861 Update binary
9cab318 Updated outfiles
2dd992d Updated outfiles
fe69c8c Update from Nikhar-Abbas DRC_Fortran fork
60a5ac1 Update from Nikhar-Abbas DRC_Fortran fork
f3d94d5 Include Test Cases
5e3b235 Include Test Cases
381f5e8 Write KD TF gains
7f529d7 Write KD TF gains
9548279 Update DRC_Fortran
83db59b Update DRC_Fortran
c35a627 Change to OpenFAST model directory
f6b4011 Change to OpenFAST model directory
ebef95f Ignore FAST files
e1de84a Ignore FAST files
3e085e2 Initial commit. Load turbine+controller, run OpenFAST
5b8cb21 Initial commit. Load turbine+controller, run OpenFAST
9190bf2 Use Aerodyn15 Input files
584c916 Use Aerodyn15 Input files
6a1911a Variable name updates
d0af563 Variable name updates
93d7f72 Comment and variable name updates
3e9caba Comment and variable name updates
4975e34 Update saved turbine binaries
1a4e8f9 Update saved turbine binaries
bd45d2d Remove VS-code jupyter flags
6ac2a38 Remove VS-code jupyter flags
5a5598f Show plots
4f7b945 Show plots
906c1ae Update Cp lookup
746b8a9 Update Cp lookup
8cc7620 Load turbine from scratch option
f9bfe53 Load turbine from scratch option
ad5b4e7 Add Cp surface .txt flags
9e41888 Add Cp surface .txt flags
4718a8d Merge branch 'tuning_dev'
e614b96 Merge branch 'tuning_dev'
f69ee4f Inlude DRC_Fortran
16dfec2 Inlude DRC_Fortran
b7f37ff Write updated inputs
08580ed Include DRC_Fortran forked from Nikhar-Abbas
0caf01c Include DRC_Fortran forked from Nikhar-Abbas
d8b8d1e Merge pull request #5 from NREL/start_sim
af03a13 Merge pull request #5 from NREL/start_sim
45c6061 Update comments
3364264 Update comments
26182de Ease changes in step wind increments
bf762ad Ease changes in step wind increments
9752d39 Hardcode path - Nikhar
f9a8306 Hardcode path - Nikhar
e1d9903 rename pointer to more standard convention
8da9349 rename pointer to more standard convention
0c38bcc Read avrSWAP data back to self
9df9e3f Read avrSWAP data back to self
d49fb88 Include example to write controller input file
fc20c7b Comment updates, read and save turbine name
722bd9c Write parameter input file
260f4e6 Rename GainSchedule to ControllerTypes
31d24c8 Update DRC-Fortran .so, file cleanup
930399d Update DRC-Fortran .so, file cleanup
1babb65 Include NREL 5MW DISCON.dll
6becd40 Include NREL 5MW DISCON.dll
f19536c Updates to run on Nikhar's machine
6bb000a Updates to run on Nikhar's machine
6993a74 Plot bld pitch
b8b331b Plot bld pitch
1604212 Include option for interpolated Cq matrix
842b42b Include option for interpolated Cq matrix
546a58a Add some math shortcuts
33a258d Add some math shortcuts
1259c01 pass __init__ class
716ca81 Minor update
fe0caa0 Minor update
91afb33 Minor update
6cb54f5 Minor update
ee246e4 Sim example
878e9aa Sim example
531f548 Initial version of sim
7bba485 Initial version of sim
49a91f1 return control values
c5b3ad4 return control values
becee8c Merge branch 'master' into start_sim
b01231d Merge branch 'master' into start_sim
7a002a6 first cut at sim
25a5561 first cut at sim
6985689 Merge pull request #4 from NREL/tuning_dev
6957816 Merge pull request #4 from NREL/tuning_dev
e9be013 Create FileProcessing class
e52d4e5 code and comment cleanup
5cf20fb Save pitch angles for only above rated
0d8e65c Run controller tuning and plot
2a925da Add load_from_fast method documentation
9336dd2 Include gain schedule
cd71a31 Merge pull request #3 from NREL/start_sim
eb47ff3 Merge pull request #3 from NREL/start_sim
14e9588 Include wind disturbance input
65c1ae4 Turbine dynamics calculations included
0c21e96 nomenclature update
0c2550a Revert "Higher fidelity file"
92661b0 Higher fidelity file
2be94c4 Create RotorPerformance class
a89a1a2 first commit
d36eaaa first commit
d4ec558 Merge pull request #2 from NREL/tuning_dev
2f10061 Bug fix
0542f92 Merge pull request #1 from NREL/tuning_dev
c7b2fae Interpolate function pitch angle inputs now in rad
3492320 Pitch angles in rad, interpolate to bounds
48df286 Add load_from_txt
5db06cb Transpose CP, CT, CQ, for BldPitch on x-axis
6bb3545 Options for rotor performance data collection
eca1eb5 Add inputs, comments to define them
2fea0d3 File to test controller tuning
a62be4e Add sample Cp, Ct, Cq text file for NREL 5MW
79957d8 Hardcode paths for Nikhar's machine
d5c4f9c Separate load_from_ccblade
2a05556 include p file
82e53e5 update examples
c1119c6 bug fix
fb1ecaa Merge branch 'master' of github.com:NREL/WTC_toolbox
e63f5f6 Merge branch 'master' of https://github.com/NREL/WTC_toolbox
69ce8a3 Added necessary tuning parameters
143cace Add an example 2
0539032 Update turbine model
cc4ce99 Merge branch 'master' of github.com:NREL/WTC_toolbox
78b7758 Include Cp Surface Parameters
ccb8a8b Added Turbine Parameters
37dda01 back to main folder
033b80f include blade data
e89cf2b Updates
3aa1055 add some more readme comments
07a198c Initial files
3447111 add architecture drawing
85ebf47 Initial commit
REVERT: 7e100154 Merge pull request #51 from NREL/develop

git-subtree-dir: ROSCO
git-subtree-split: 05e9eef
  • Loading branch information
dzalkind committed Jul 7, 2021
1 parent 9d3b7c3 commit add6a73
Show file tree
Hide file tree
Showing 356 changed files with 123,457 additions and 352 deletions.
1 change: 0 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ _Select the appropriate type(s) that describe this PR_

## Examples/Testing, if applicable


162 changes: 162 additions & 0 deletions .github/workflows/CI_rosco-toolbox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
name: CI_rosco-toolbox

# We run CI on push commits on all branches
on: [push, pull_request]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
name: Build (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: ["ubuntu-latest", "macOS-latest", "windows-latest"]
python-version: ["3.8"]
defaults:
run:
shell: bash -l {0}

steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive

- name: Setup environment
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
channels: conda-forge, general
auto-update-conda: true
python-version: 3.8
environment-file: environment.yml


# Install dependencies of ROSCO toolbox
- name: Add dependencies ubuntu specific
if: false == contains( matrix.os, 'windows')
run: |
conda install -y compilers
conda install -y wisdem
- name: Add dependencies windows specific
if: true == contains( matrix.os, 'windows')
run: |
conda install -y m2w64-toolchain libpython
conda install -y wisdem
# Install ROSCO toolbox
- name: Install ROSCO toolbox
run: |
python setup.py develop --compile-rosco
run_examples:
name: Run Examples
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: ["ubuntu-latest"] #, "macOS-latest"]
python-version: ["3.8"]
defaults:
run:
shell: bash -l {0}

steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive

- name: Setup environment
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
channels: conda-forge, general
auto-update-conda: true
python-version: 3.8
environment-file: environment.yml


# Install dependencies of ROSCO toolbox
- name: Add dependencies ubuntu specific
if: false == contains( matrix.os, 'windows')
run: |
conda install -y compilers
conda install -y wisdem
- name: Add dependencies windows specific
if: true == contains( matrix.os, 'windows')
run: |
conda install -y m2w64-toolchain libpython
conda install -y wisdem
# Install ROSCO toolbox
- name: Install ROSCO toolbox
run: |
python setup.py develop --compile-rosco
# Install OpenFAST
- name: Install OpenFAST
run: |
conda install openfast==3.0.0
# Run examples
- name: Run examples
run: |
cd Examples
python run_examples.py
run_testing:
name: Run Testing
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: ["ubuntu-latest"] #, "macOS-latest"]
python-version: ["3.8"]
defaults:
run:
shell: bash -l {0}

steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive

- name: Setup environment
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
channels: conda-forge, general
auto-update-conda: true
python-version: 3.8
environment-file: environment.yml


# Install dependencies of ROSCO toolbox
- name: Add dependencies ubuntu specific
if: false == contains( matrix.os, 'windows')
run: |
conda install -y compilers
conda install -y wisdem
# Install ROSCO toolbox
- name: Install ROSCO toolbox
run: |
python setup.py develop --compile-rosco
# Install OpenFAST
- name: Install OpenFAST
run: |
conda install openfast==3.0.0
# Run Testing
- name: Run testing
run: |
cd ROSCO_testing
python ROSCO_testing.py
4 changes: 3 additions & 1 deletion .github/workflows/CI_rosco.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI_rosco-toolbox
name: CI_rosco

# We run CI on push commits on all branches
on: [push, pull_request]
Expand Down Expand Up @@ -45,6 +45,7 @@ jobs:
if: false == contains( matrix.os, 'windows')
shell: pwsh
run: |
cd ROSCO
mkdir build
cd build
cmake ..
Expand All @@ -55,6 +56,7 @@ jobs:
if: true == contains( matrix.os, 'windows')
shell: pwsh
run: |
cd ROSCO
mkdir build
cd build
cmake .. -G "MinGW Makefiles"
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Upload to PyPi

on:
release:
types: [released]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
if: startsWith(github.ref, 'refs/tags')
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
111 changes: 84 additions & 27 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,27 +1,84 @@
# Gitignore
~$README.docx
ControllerSchematic.pptx

# Compiled code, unnecessary for git
Source/Obj_win32
Source/Obj_lin64
*.mod
Source/x64/
Source/Release/
*build*
Makefile
*install*

# Archive
Scripts/CompileDISCONHereCopyRun\.cmd
\.vs/

# Temp Files
*~
.DS_Store
*.u2d
*.i90
*.swp

# vs code
.vscode
# Gitignore
~$README.docx
ControllerSchematic.pptx

# Compiled code, unnecessary for git
Source/Obj_win32
Source/Obj_lin64
*.mod
Source/x64/
Source/Release/
*build*
Makefile
*install*

# Archive
Scripts/CompileDISCONHereCopyRun\.cmd
\.vs/

# Temp Files
*~
.DS_Store
*.u2d
*.i90
*.swp


# python compiled files
__pycache__/
.cache
*.pyc
*.egg-info
dist
build
_build
*.ipynb_checkpoints*
*.html

# macOS files
.DS_Store

# MATLAB files
*.m~
*slprj*

# ide settings and files
.idea
.vscode

# OpenFAST generated files
*.sum
*.ech
*.dbg
*.out
*.outb
*.dbg
*.vtp

# ROSCO files
*.85
*.i90
*local*

# Binaries
*.dylib
*.so
*.dll
*.bts

# Other
.pytest_cache
examples/cp_ct_cq_lut.p

# Files Generated in Examples
Examples/DISCON.IN
Examples/*.p

# Exclude testing results
ROSCO_testing/results/

# Simulink/Matlab temp files
*.slxc
*.autosave
*.mat

4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "ROSCO"]
path = ROSCO
url = https://github.com/NREL/ROSCO
branch = main
3 changes: 3 additions & 0 deletions Examples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Cp_Ct_Cq.*.txt
*.p
examples_out/
Loading

0 comments on commit add6a73

Please sign in to comment.