File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " rosco"
7- version = " 2.9.6 "
7+ version = " 2.9.7 "
88description = " A reference open source controller toolset for wind turbine applications."
99readme = " README.md"
1010requires-python = " >=3.9"
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments