Skip to content

Commit cfda6af

Browse files
dzalkindmayankchetangbarter
authored
Openfast io Update (#419)
* 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 <[email protected]> Co-authored-by: Garrett Barter <[email protected]>
1 parent cadd555 commit cfda6af

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "rosco"
7-
version = "2.9.6"
7+
version = "2.9.7"
88
description = "A reference open source controller toolset for wind turbine applications."
99
readme = "README.md"
1010
requires-python = ">=3.9"

rosco/toolbox/turbine.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,10 @@ def load_blade_info(self):
598598
self.twist = theta
599599

600600
if self.fast.fst_vt['Fst']['CompElast'] ==1:
601-
self.bld_flapwise_damp = self.fast.fst_vt['ElastoDynBlade']['BldFlDmp1']/100
601+
if type(self.fast.fst_vt['ElastoDynBlade']) == list:
602+
self.bld_flapwise_damp = self.fast.fst_vt['ElastoDynBlade'][0]['BldFlDmp1']/100
603+
else:
604+
self.bld_flapwise_damp = self.fast.fst_vt['ElastoDynBlade']['BldFlDmp1']/100
602605
elif self.fast.fst_vt['Fst']['CompElast'] ==2:
603606
self.bld_flapwise_damp = self.fast.fst_vt['BeamDynBlade']['mu5']
604607

0 commit comments

Comments
 (0)