Skip to content

Commit 8ad221e

Browse files
committed
FF: reapply fix from PR OpenFAST#2746 after commit 3164e16 reverted it
1 parent d8adc3f commit 8ad221e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

glue-codes/fast-farm/src/FAST_Farm_Subs.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -789,9 +789,9 @@ SUBROUTINE Farm_InitMD( farm, ErrStat, ErrMsg )
789789
ALLOCATE( MD_InitInp%PtfmInit(6,farm%p%NumTurbines), MD_InitInp%TurbineRefPos(3,farm%p%NumTurbines), STAT = ErrStat2 )
790790
if (Failed0("MoorDyn PtfmInit and TurbineRefPos initialization inputs in FAST.Farm.")) return;
791791

792-
! gather spatial initialization inputs for Farm-level MoorDyn
792+
! gather spatial initialization inputs for Farm-level MoorDyn (platform locations in their respective coordinate systems and locations of the turbines in the farm global coordinate system)
793793
DO nt = 1,farm%p%NumTurbines
794-
MD_InitInp%PtfmInit(:,nt) = farm%FWrap(nt)%m%Turbine%MD%m%PtfmInit ! turbine PRP initial positions and rotations in their respective coordinate systems from each FAST/MD instance
794+
MD_InitInp%PtfmInit(:,nt) = farm%FWrap(nt)%m%Turbine%p_FAST%PlatformPosInit ! platform initial positions in their respective coordinate systems from each FAST/ED instance
795795
MD_InitInp%TurbineRefPos(:,nt) = farm%p%WT_Position(:,nt) ! reference positions of each turbine in the farm global coordinate system
796796
END DO
797797

0 commit comments

Comments
 (0)