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.
Browse files
Browse the repository at this point in the history
381ae28 CI Testing (WISDEM#41) da6b56c Merge pull request WISDEM#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 53343d1 Delete history file 07b46b6 Update version to 2.2.0 REVERT: 9b123f1 Update examples to test in weis environment, working REVERT: 15976f5 Merge branch 'develop' into weis REVERT: 7d28a6f Get rid of annoying spectral warning REVERT: 25ef7a7 Update ROSCO install dir, other setup fun stuff REVERT: 52465fe Merge remote-tracking branch 'upstream/develop' into weis REVERT: 3454fc0 Merge remote-tracking branch 'upstream/develop' into weis REVERT: b730428 Merge pull request WISDEM#28 from nikhar-abbas/weis REVERT: 71565e1 Revert "fix minpitch saturation bug" REVERT: 34b427c Update submodule to track develop branch REVERT: f504b34 remove 0.7 from flpwise damping conversion REVERT: bc8c9c3 write kappa to self REVERT: 38e956e Merge branch 'weis' of https://github.com/NREL/ROSCO_toolbox into weis REVERT: 096f1e9 Merge branch 'develop' into weis REVERT: cf5b43b Fix another ofTools import REVERT: 67731f8 Fix ofTools import REVERT: 2256b0c Move ofTools into ROSCO_toolbox REVERT: e4a1c7f Revert setup.py to exclude ROSCO build, etc. REVERT: 0e53372 Use weis.aeroelasticse for file reading REVERT: c8e9954 Make tuning yaml relative to main directory REVERT: f62653b Update InflowWind.dat templates in TuneCases/ REVERT: 3afe143 typo REVERT: 92d6410 fix minpitch saturation bug REVERT: a7be52a Separate below and above rated windspeeds by 30 points each git-subtree-dir: ROSCO_toolbox git-subtree-split: 381ae28
- Loading branch information
Showing
25 changed files
with
249 additions
and
181 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Description and Purpose | ||
|
||
## 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) | ||
|
||
## Github issues addressed, if one exists | ||
|
||
## Examples/Testing, if applicable | ||
|
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,106 @@ | ||
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 | ||
# Install ROSCO toolbox | ||
- name: Install ROSCO toolbox | ||
run: | | ||
python setup.py develop --compile-rosco | ||
# Install OpenFAST | ||
- name: Install OpenFAST | ||
run: | | ||
conda install openfast | ||
# Run examples | ||
- name: Run examples | ||
run: | | ||
cd Examples | ||
python run_examples.py | ||
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[submodule "ROSCO"] | ||
path = ROSCO | ||
url = https://github.com/NREL/ROSCO | ||
branch = main | ||
branch = main |
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.