@@ -245,15 +245,15 @@ SUBROUTINE Farm_Initialize( farm, InputFile, ErrStat, ErrMsg )
245245
246246 farm% AWAE% IsInitialized = .true.
247247
248- farm% p% X0_Low = AWAE_InitOutput% X0_Low
249- farm% p% Y0_low = AWAE_InitOutput% Y0_low
250- farm% p% Z0_low = AWAE_InitOutput% Z0_low
251- farm% p% nX_Low = AWAE_InitOutput% nX_Low
252- farm% p% nY_low = AWAE_InitOutput% nY_low
253- farm% p% nZ_low = AWAE_InitOutput% nZ_low
254- farm% p% dX_low = AWAE_InitOutput% dX_low
255- farm% p% dY_low = AWAE_InitOutput% dY_low
256- farm% p% dZ_low = AWAE_InitOutput% dZ_low
248+ farm% p% X0_Low = AWAE_InitOutput% oXYZ_Low( 1 )
249+ farm% p% Y0_low = AWAE_InitOutput% oXYZ_Low( 2 )
250+ farm% p% Z0_low = AWAE_InitOutput% oXYZ_Low( 3 )
251+ farm% p% nX_Low = AWAE_InitOutput% nXYZ_Low( 1 )
252+ farm% p% nY_low = AWAE_InitOutput% nXYZ_Low( 2 )
253+ farm% p% nZ_low = AWAE_InitOutput% nXYZ_Low( 3 )
254+ farm% p% dX_low = AWAE_InitOutput% dXYZ_Low( 1 )
255+ farm% p% dY_low = AWAE_InitOutput% dXYZ_Low( 2 )
256+ farm% p% dZ_low = AWAE_InitOutput% dXYZ_Low( 3 )
257257 farm% p% Module_Ver( ModuleFF_AWAE ) = AWAE_InitOutput% Ver
258258
259259 !- ------------------
@@ -653,10 +653,6 @@ SUBROUTINE Farm_InitFAST( farm, WD_InitInp, AWAE_InitOutput, ErrStat, ErrMsg )
653653 FWrap_InitInp% tmax = farm% p% TMax
654654 FWrap_InitInp% n_high_low = farm% p% n_high_low + 1 ! Add 1 because the FAST wrapper uses an index that starts at 1
655655 FWrap_InitInp% dt_high = farm% p% dt_high
656-
657- FWrap_InitInp% nX_high = AWAE_InitOutput% nX_high
658- FWrap_InitInp% nY_high = AWAE_InitOutput% nY_high
659- FWrap_InitInp% nZ_high = AWAE_InitOutput% nZ_high
660656
661657 if (farm% p% MooringMod > 0 ) then
662658 FWrap_Interval = farm% p% dt_mooring ! when there is a farm-level mooring model, FASTWrapper will be called at the mooring coupling time step
@@ -676,14 +672,17 @@ SUBROUTINE Farm_InitFAST( farm, WD_InitInp, AWAE_InitOutput, ErrStat, ErrMsg )
676672 FWrap_InitInp% TurbNum = nt
677673 FWrap_InitInp% RootName = trim (farm% p% OutFileRoot)// ' .T' // num2lstr(nt)
678674
679-
680- FWrap_InitInp% p_ref_high(1 ) = AWAE_InitOutput% X0_high(nt)
681- FWrap_InitInp% p_ref_high(2 ) = AWAE_InitOutput% Y0_high(nt)
682- FWrap_InitInp% p_ref_high(3 ) = AWAE_InitOutput% Z0_high(nt)
675+ FWrap_InitInp% nX_high = AWAE_InitOutput% nXYZ_high(1 ,nt)
676+ FWrap_InitInp% nY_high = AWAE_InitOutput% nXYZ_high(2 ,nt)
677+ FWrap_InitInp% nZ_high = AWAE_InitOutput% nXYZ_high(3 ,nt)
678+
679+ FWrap_InitInp% p_ref_high(1 ) = AWAE_InitOutput% oXYZ_high(1 ,nt)
680+ FWrap_InitInp% p_ref_high(2 ) = AWAE_InitOutput% oXYZ_high(2 ,nt)
681+ FWrap_InitInp% p_ref_high(3 ) = AWAE_InitOutput% oXYZ_high(3 ,nt)
683682
684- FWrap_InitInp% dX_high = AWAE_InitOutput% dX_high( nt)
685- FWrap_InitInp% dY_high = AWAE_InitOutput% dY_high( nt)
686- FWrap_InitInp% dZ_high = AWAE_InitOutput% dZ_high( nt)
683+ FWrap_InitInp% dX_high = AWAE_InitOutput% dXYZ_high( 1 , nt)
684+ FWrap_InitInp% dY_high = AWAE_InitOutput% dXYZ_high( 2 , nt)
685+ FWrap_InitInp% dZ_high = AWAE_InitOutput% dXYZ_high( 3 , nt)
687686
688687 FWrap_InitInp% Vdist_High = > AWAE_InitOutput% Vdist_High(nt)% data
689688
0 commit comments