Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F/new mod options #33

Merged
merged 112 commits into from
Dec 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
b23fbe2
Add servodyn schema, move rosco modes to rosco schema
dzalkind Sep 1, 2020
ab582e6
Update modelling defaults, strings in servodyn schema
dzalkind Sep 1, 2020
fcca36f
Update rosco options and descriptions
dzalkind Sep 2, 2020
46c83bb
Change validation script for model schema
dzalkind Sep 2, 2020
51a708d
add torque and thrust to default outputs
gbarter Sep 11, 2020
8861bb0
correct monopile base diam and thickness
gbarter Sep 11, 2020
127f213
add rotor aero thrust outputs
gbarter Sep 11, 2020
8bac5a8
adding default compiler optimizations for release
gbarter Sep 11, 2020
7a1fc6a
adding openfast modeling options for aerodyn, hydrodyn, subdyn, and m…
gbarter Sep 11, 2020
5de5f4c
removing unused default files
gbarter Sep 11, 2020
c69349e
more robust running of steady cases
gbarter Sep 11, 2020
2678066
adding simulation options too
gbarter Sep 13, 2020
237cba2
Merge remote-tracking branch 'upstream/schema' into model_servo
dzalkind Sep 14, 2020
3135bb0
Exclude outputs/ from git
dzalkind Sep 14, 2020
04cdb15
Add ServoDyn and ROSCO modelling schema, add modelling defaults,
dzalkind Sep 14, 2020
8caa866
Merge pull request #12 from dzalkind/model_servo
gbarter Sep 14, 2020
b597775
added elastodyn and fixed line end character confusion
gbarter Sep 18, 2020
bbd49f4
fix description on level3
gbarter Sep 18, 2020
af96be7
added beamdyn options
gbarter Sep 18, 2020
ff4f2f1
some progress on annalysis file
gbarter Oct 6, 2020
524614e
completed merge
gbarter Oct 20, 2020
fe7aa63
incorporate recent WISDEM changes into this branch
gbarter Oct 21, 2020
493d3d9
make consistent with wisdem nacelle yaml
gbarter Oct 22, 2020
9d62ed3
adding nrel5mw with oc3 spar example
gbarter Oct 22, 2020
943125a
correction of anchor depth
gbarter Oct 23, 2020
48e51be
adding semi
gbarter Oct 23, 2020
ca61558
adding in axial joints and gridded diameter/thickness
gbarter Oct 23, 2020
6e19fd8
now geometry schema and examples are validated
gbarter Oct 23, 2020
b95b973
compliant examples and documentation generator
gbarter Oct 24, 2020
3e6818e
adding cylindrical coordinate systems
gbarter Oct 28, 2020
d9c1596
now using cylindrical coordinates
gbarter Oct 28, 2020
691a437
merged develop into schema
gbarter Oct 28, 2020
ea67960
adding in more than just the python bare-bones
gbarter Oct 28, 2020
ea7871e
put in new control structure
gbarter Oct 28, 2020
ad91f51
Update nrel5mw-semi_oc4.yaml
akey7 Oct 28, 2020
ded7106
Merge pull request #21 from WISDEM/fix_pont_outer_diameter
gbarter Oct 28, 2020
bf04579
working example
gbarter Oct 28, 2020
4ae6a8e
Merge branch 'schema' of github.com:WISDEM/WEIS into schema
gbarter Oct 28, 2020
26de8ba
Merge branch 'develop' of https://github.com/WISDEM/WEIS into schema
ptrbortolotti Oct 30, 2020
663a746
work in progress floating ontology
ptrbortolotti Oct 30, 2020
c3c2993
Squashed 'WISDEM/' changes from d9ec4ea2..8a6b6348
ptrbortolotti Oct 30, 2020
ab71983
work in progress floating ontology
ptrbortolotti Oct 30, 2020
c946cfc
add final s to ballasts
ptrbortolotti Oct 30, 2020
4217894
creating analysis schema that supports intended design variables
gbarter Nov 6, 2020
7ae7896
finished floating design variable example with small mooring tweak
gbarter Nov 6, 2020
26711f1
adding analysis options example
gbarter Nov 7, 2020
536affb
adding objective, contraint, driver, etc
gbarter Nov 7, 2020
1d77a26
max blade root flapwise moment out of openfast
ptrbortolotti Nov 11, 2020
8a17720
P T Q M out of ccblade
ptrbortolotti Nov 16, 2020
36f48b8
work in progress
ptrbortolotti Nov 18, 2020
3bf4c3a
combining WISDEM and WEIS modeling input files
gbarter Nov 18, 2020
58800da
stall margin from OF
ptrbortolotti Nov 19, 2020
16e5bac
aeroelasticse call OLAF
ptrbortolotti Nov 23, 2020
a7861ac
fix settings for WT simulation
ptrbortolotti Nov 23, 2020
d5c4c82
work is slowly progressing
ptrbortolotti Nov 24, 2020
7373c25
work in progress
ptrbortolotti Nov 24, 2020
47e62c5
Merge branch 'develop' into f/new_mod_options
ptrbortolotti Nov 25, 2020
fad1b62
add rosco defaults
ptrbortolotti Nov 25, 2020
af0be47
Squashed 'WISDEM/' changes from 1c2c4ef1..3821b3aa
ptrbortolotti Nov 25, 2020
59624c6
Merge commit 'af0be471f7768ed8283fa5b0644b024d3ad55b36' into f/new_mo…
ptrbortolotti Nov 25, 2020
9f0e74e
Merge commit '77376a58fae58e5d575e29b245a1f3f820a43992' into f/new_mo…
ptrbortolotti Nov 25, 2020
77376a5
Squashed 'WISDEM/' changes from 3821b3aa..61a24b05
ptrbortolotti Nov 25, 2020
67eb816
small fixes
ptrbortolotti Nov 25, 2020
ecaccd5
Merge commit '766891120b62199caf193cd2afdc0d0682c3cac9' into f/new_mo…
ptrbortolotti Nov 25, 2020
7668911
Squashed 'WISDEM/' changes from 61a24b05..407d118a
ptrbortolotti Nov 25, 2020
e86d8e6
moving ahead!
ptrbortolotti Nov 25, 2020
3d81b5e
populating schema with missing inputs
ptrbortolotti Nov 25, 2020
8f6a91e
help debug
ptrbortolotti Nov 25, 2020
0b07a8e
Merge commit '8b1b6d5bcc81903ba3cb63250fa85c567a1c2c5a' into f/new_mo…
ptrbortolotti Nov 25, 2020
8b1b6d5
Squashed 'WISDEM/' changes from 407d118a..fd4bb290
ptrbortolotti Nov 25, 2020
8f8de58
ED out except for channels
ptrbortolotti Nov 25, 2020
18ede59
ED and InflowWind working
ptrbortolotti Nov 25, 2020
a60b5cb
main fst inputs in
ptrbortolotti Nov 25, 2020
3f25511
it runs, but problem with TMax
ptrbortolotti Nov 25, 2020
94437c2
things start to work now
ptrbortolotti Nov 25, 2020
f72f952
update examples
ptrbortolotti Nov 25, 2020
6b5a7d7
restructure examples
ptrbortolotti Nov 26, 2020
df459e3
Merge branch 'f/BRFM' into f/new_mod_options
ptrbortolotti Nov 26, 2020
b7f7f39
update for latest wisdem version
gbarter Nov 30, 2020
333aec6
Merge branch 'develop' into f/new_mod_options
gbarter Nov 30, 2020
bf8d862
Squashed 'WISDEM/' changes from fd4bb290..a056dc2c
ptrbortolotti Dec 1, 2020
3afbca9
Merge commit 'bf8d862c90b07899b632cce7d99017ebc93c8e17' into f/new_mo…
ptrbortolotti Dec 1, 2020
6d47f80
update to latest wisdem, OF crashes
ptrbortolotti Dec 1, 2020
9c84434
examples aeroelasticse fixed
ptrbortolotti Dec 1, 2020
723c9c1
going through the tests
ptrbortolotti Dec 1, 2020
b9416f7
Merge branch 'develop' of https://github.com/WISDEM/WEIS into f/new_m…
ptrbortolotti Dec 1, 2020
5504e03
more fixes
ptrbortolotti Dec 1, 2020
0163a1b
Update CI_WEIS.yaml
ptrbortolotti Dec 2, 2020
79ab042
Merge branch 'f/new_mod_options' of github.com:WISDEM/WEIS into f/new…
gbarter Dec 2, 2020
3cf68da
removing nan values from input yaml
gbarter Dec 2, 2020
5ad5cfb
common caps on SS and PS from other ref turbs
gbarter Dec 2, 2020
3dd0739
rho promoted twice
ptrbortolotti Dec 2, 2020
0c5a540
accommodating new tower to elastodyn connection
gbarter Dec 2, 2020
022f8de
Merge commit 'c7bb2ce8cddbf97e4ced0fc6a05dccf4ecba5420' into f/new_mo…
gbarter Dec 2, 2020
c7bb2ce
Squashed 'WISDEM/' changes from a056dc2c..bac650da
gbarter Dec 2, 2020
b2f23c2
fix error in towercd array indexing
gbarter Dec 2, 2020
1ab4fc5
Merge branch 'f/new_mod_options' of github.com:WISDEM/WEIS into f/new…
gbarter Dec 2, 2020
454de2b
fix dac script
ptrbortolotti Dec 2, 2020
7ef9b9d
Squashed 'WISDEM/' changes from bac650da..c9209f61
johnjasa Dec 2, 2020
99a4b15
Merging latest WISDEM develop
johnjasa Dec 2, 2020
944948f
Merge pull request #32 from johnjasa/newest_wisdem
ptrbortolotti Dec 2, 2020
58dc86a
fix flag openfast in mpi
ptrbortolotti Dec 2, 2020
4f7b332
Squashed 'WISDEM/' changes from c9209f61..ba930c4b
ptrbortolotti Dec 2, 2020
58b391a
Merge commit '4f7b332ec801f61ba9485412e11edc40d2733bcb' into f/new_mo…
ptrbortolotti Dec 2, 2020
e2bb4f7
tests may pass now?
ptrbortolotti Dec 2, 2020
d1b6f48
fix leftover flag
ptrbortolotti Dec 3, 2020
7a40d5a
mod options level 3
ptrbortolotti Dec 3, 2020
58318f4
Updated geometry_schema based on WISDEM dev version
johnjasa Dec 3, 2020
72266e6
Fully removed WISDEM
johnjasa Dec 3, 2020
ec306ad
Squashed 'WISDEM/' content from commit ba930c4b
johnjasa Dec 3, 2020
2454fcc
Merge commit 'ec306ad5b3594b1332b39eff711cb8d7c8b38667' as 'WISDEM'
johnjasa Dec 3, 2020
8820638
Merge pull request #35 from johnjasa/update_new_mod
ptrbortolotti Dec 3, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 2 additions & 3 deletions .github/workflows/CI_WEIS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,14 @@ jobs:
- name: Run parallel examples rotor optimization
shell: pwsh
run: |
cd examples/rotor_opt
cd examples/05_IEA-3.4-130-RWT
mpirun -np 2 python weis_driver.py
# Run scripts within control_opt folder, with and without MPI
- name: Run examples control optimization
shell: pwsh
run: |
cd examples/control_opt
python runOptimization.py
cd examples/02_control_opt
mpirun -np 2 python runOptimization.py
# Run scripts within dac folder
Expand Down
97 changes: 94 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
*.py[cod]

# Emacs
*~

# pyMAP
outlist.map.sum

# Packages
*.egg
*.egg-info
Expand All @@ -6,7 +14,93 @@ build
local
.DS_Store
__pycache__
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg

# Output files
outputs/
*.out

# Sphinx
_build
generated

# XCode
*.xcodeproj

# C extensions
*.so
*.dSYM

# Unit test / coverage reports
.coverage
.tox
nosetests.xml

# Translations
*.mo

# Mr Developer
.mr.developer.cfg
.project
.pydevproject

# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
*.dylib

# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases #
######################
*.log
*.sql
*.sqlite

# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db

# Jupyter notebooks #
#####################
.ipynb_checkpoints

# VSCode #
##########
.vscode/

# IntelliJ Things #
####################
.idea/

# Openfast
*.outb
Expand All @@ -15,9 +109,6 @@ __pycache__
*.ech
*.dbg

# vs code
.vscode

# Temp
*Temp*
*temp*
5 changes: 5 additions & 0 deletions WISDEM/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[flake8]
ignore = E731,E402,F,W504,W503,E501,C901
exclude = .git,__pycache__,docs/source/conf.py,old,build,dist
max-complexity = 10
max-line-length=120
30 changes: 30 additions & 0 deletions WISDEM/.github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

## Description
_Describe the bug here_

### Steps to reproduce issue
_Please provide a minimum working example (MWE) if possible_

1.
2.
3.

### Current behavior

### Expected behavior


### Code versions
_List versions only if relevant_
- Python
-
14 changes: 14 additions & 0 deletions WISDEM/.github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

# Description of feature
Describe the feature here and provide some context. Under what scenario would this be useful?

# Potential solution
Can you think of ways to implement this?
28 changes: 28 additions & 0 deletions WISDEM/.github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Delete the text explanations below these headers and replace them with information about your PR.
Please first consult the [developer guide](https://weis.readthedocs.io/en/latest/how_to_contribute_code.html) to make sure your PR follows all code, testing, and documentation conventions.

## Purpose
Explain the goal of this pull request. If it addresses an existing issue be sure to link to it. Describe the big picture of your changes here, perhaps using a bullet list if multiple changes are done to accomplish a single goal. If it accomplishes multiple goals, it may be best to create separate PR's for each.

## 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
68 changes: 68 additions & 0 deletions WISDEM/.github/workflows/CI_WISDEM.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: CI_WISDEM

# We run CI on push commits and pull requests 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", "windows-latest"]
python-version: ["3.8"]

steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
# https://github.com/marketplace/actions/setup-miniconda
with:
miniconda-version: "latest"
channels: conda-forge
auto-update-conda: true
python-version: 3.8
environment-file: environment.yml

# Install dependencies of WEIS specific to ubuntu
- name: Add dependencies ubuntu specific
if: false == contains( matrix.os, 'windows')
#shell: pwsh # putting in a shell command makes for compile linking problems later
# (if you use the shell here, cannot use 'compiler' package)
run: |
conda install -y petsc4py mpi4py compilers

# Install dependencies of WISDEM specific to windows
- name: Add dependencies windows specific
if: contains( matrix.os, 'windows')
run: |
conda install -y m2w64-toolchain libpython

# Debugging session
#- name: Setup tmate session
# uses: mxschmitt/action-tmate@v3

# Install WISDEM
- name: Install WISDEM
shell: pwsh
run: |
python setup.py develop

# Run all tests
- name: Run tests
if: contains( matrix.os, 'ubuntu')
shell: pwsh
run: |
pytest --cov-config=.coverageac --cov=wisdem

# Run coveralls
- name: Run coveralls
if: contains( matrix.os, 'ubuntu')
# This also works, https://github.com/AndreMiras/coveralls-python-action
#uses: AndreMiras/coveralls-python-action@develop
shell: pwsh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
coveralls
9 changes: 9 additions & 0 deletions WISDEM/.isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[settings]
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=120
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
known_first_party=wisdem
length_sort=1
31 changes: 31 additions & 0 deletions WISDEM/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
repos:
- repo: https://github.com/timothycrosley/isort
rev: 4.3.21
hooks:
- id: isort
name: isort
stages: [commit]

- repo: https://github.com/psf/black
rev: stable
hooks:
- id: black
name: black
stages: [commit]
language_version: python3.8

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
# - id: check-executables-have-shebangs
- id: check-json
- id: check-yaml
- id: check-merge-conflict
- id: check-symlinks
#- id: flake8
exclude: ^docs/
- id: mixed-line-ending
- id: pretty-format-json
args: [--autofix]
38 changes: 0 additions & 38 deletions WISDEM/.travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions WISDEM/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ The installation instructions below use the environment name, "wisdem-env," but
conda remove --force wisdem
conda install compilers # (Mac / Linux only)
conda install m2w64-toolchain libpython # (Windows only)
pip install simpy marmot-agents
git clone https://github.com/WISDEM/WISDEM.git
cd WISDEM
git checkout develop
Expand Down
Loading