Skip to content

Commit

Permalink
Openfast io Update (#419)
Browse files Browse the repository at this point in the history
* Switch to openfast_io and update to OpenFAST v4.0.0

* Remove old IEA-UMaineSemi, move linearizations

* Revert ROSCO_Testing exes

* Start updating NREL-5MW model

* Examples working except 5,7,14,17,26

* working example 26

* Enable yaw control

* Add openfast_io to pip installs

* Install openfast 4.0 in CI

* Install openfast_io in toml

* Print pytest outputs

* Update IEA-15 Semi paths

* Search for servodyn files recursively

* Fix paths in tests, update discon script

* Update discons

* Increase tolerance on check, checkpoint not perfect

* Skip python 3.9

* Fix path in notebook

* try newer conda packages

* add zmq explicitly

* another try

* more debug

* Try m2-pkg-config

* Update install.rst

* Accept either list or single for ElastoDynBlade

* Update pyproject.toml

---------

Co-authored-by: Mayank Chetan <mayankchetan@gmail.com>
Co-authored-by: Garrett Barter <garrett.barter@nrel.gov>
  • Loading branch information
3 people authored Jan 30, 2025
1 parent cadd555 commit cfda6af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "rosco"
version = "2.9.6"
version = "2.9.7"
description = "A reference open source controller toolset for wind turbine applications."
readme = "README.md"
requires-python = ">=3.9"
Expand Down
5 changes: 4 additions & 1 deletion rosco/toolbox/turbine.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,10 @@ def load_blade_info(self):
self.twist = theta

if self.fast.fst_vt['Fst']['CompElast'] ==1:
self.bld_flapwise_damp = self.fast.fst_vt['ElastoDynBlade']['BldFlDmp1']/100
if type(self.fast.fst_vt['ElastoDynBlade']) == list:
self.bld_flapwise_damp = self.fast.fst_vt['ElastoDynBlade'][0]['BldFlDmp1']/100
else:
self.bld_flapwise_damp = self.fast.fst_vt['ElastoDynBlade']['BldFlDmp1']/100
elif self.fast.fst_vt['Fst']['CompElast'] ==2:
self.bld_flapwise_damp = self.fast.fst_vt['BeamDynBlade']['mu5']

Expand Down

0 comments on commit cfda6af

Please sign in to comment.