Skip to content

Commit c5dda2e

Browse files
committed
extractFarmInfo gives an integer value for the rotor diameter. A way around this is to add the exact rotor diameter inside the _setRotorParameters function inopenfast-toolbox.
1 parent fc3eed2 commit c5dda2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

famodel/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4923,7 +4923,7 @@ def extractFarmInfo(self, cmax=5, fmax=10/6, Cmeander=1.9):
49234923
for att in pf.attachments.values():
49244924
if isinstance(att['obj'],Turbine):
49254925
if hasattr(att['obj'], 'D'):
4926-
D = att['obj'].D
4926+
D = int(att['obj'].D)
49274927
else:
49284928
D = 242
49294929
zhub = att['obj'].dd['hHub']

0 commit comments

Comments
 (0)