Skip to content

Commit b91dd7e

Browse files
committed
FF: reapply fix from PR #2746 after commit aa123f9 reverted it
When I merged the `OpenFAST/dev` in, I clobbered a change from PR #2746
1 parent d8adc3f commit b91dd7e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)