Skip to content

Commit fd4e8e7

Browse files
authored
Merge pull request #14 from Yuksel-Rudy/main
Changing phiV to just phi
2 parents ab1642c + d23b36b commit fd4e8e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

famodel/project.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4162,13 +4162,13 @@ def FFarmCompatibleMDOutput(self, filename, unrotateTurbines=True, renameBody=Tr
41624162
# Unrotate turbines if needed
41634163
if unrotateTurbines:
41644164
if self.wts:
4165-
phiV = [wt['phi_deg'] for wt in self.wts.values()] # to unrotate the platforms when unloading MoorDyn
4165+
phi = [wt['phi_deg'] for wt in self.wts.values()] # to unrotate the platforms when unloading MoorDyn
41664166
else:
41674167
raise ValueError("wts is empty. Please run project.extractFarmInfo first before extracting MoorDyn")
41684168
else:
4169-
phiV = None
4169+
phi = None
41704170

4171-
ms_temp.unload(fileName=filename, phiV=phiV, MDoptionsDict=MDoptionsDict)
4171+
ms_temp.unload(fileName=filename, phi=phi, MDoptionsDict=MDoptionsDict)
41724172

41734173
# rename Body to Turbine if needed
41744174
if renameBody:

0 commit comments

Comments
 (0)