@@ -297,7 +297,7 @@ def refine_createZoneForTurbine(self, turbname, turbinedict, zonedict,
297
297
vert = np .array ([0.0 , 0.0 , 1.0 ])
298
298
elif orient == 'y' :
299
299
streamwise = np .array ([0.0 , 1.0 , 0.0 ])
300
- crossstream = np .array ([- 1.0 , 0.0 , 0.0 ])
300
+ crossstream = np .array ([1.0 , 0.0 , 0.0 ])
301
301
vert = np .array ([0.0 , 0.0 , 1.0 ])
302
302
elif orient == 'nacdir' :
303
303
streamwise , crossstream , vert = self .convert_winddir_to_xy (turbyaw )
@@ -329,7 +329,7 @@ def refine_createZoneForFarm(self, zonedict, autofarmcenter, AvgTurbD, AvgHH,
329
329
vert = np .array ([0.0 , 0.0 , 1.0 ])
330
330
elif orient == 'y' :
331
331
streamwise = np .array ([0.0 , 1.0 , 0.0 ])
332
- crossstream = np .array ([- 1.0 , 0.0 , 0.0 ])
332
+ crossstream = np .array ([1.0 , 0.0 , 0.0 ])
333
333
vert = np .array ([0.0 , 0.0 , 1.0 ])
334
334
elif orient == 'nacdir' :
335
335
print ("Zone orientation nacdir not possible for farm zone." )
@@ -708,7 +708,7 @@ def sampling_createDictForTurbine(self, turbname, tdict, pdict, defaultopt):
708
708
vert = np .array ([0.0 , 0.0 , 1.0 ])
709
709
elif orient == 'y' :
710
710
streamwise = np .array ([0.0 , 1.0 , 0.0 ])
711
- crossstream = np .array ([- 1.0 , 0.0 , 0.0 ])
711
+ crossstream = np .array ([1.0 , 0.0 , 0.0 ])
712
712
vert = np .array ([0.0 , 0.0 , 1.0 ])
713
713
elif orient == 'nacdir' :
714
714
streamwise , crossstream , vert = self .convert_winddir_to_xy (turbyaw )
@@ -883,7 +883,7 @@ def sampling_createDictForFarm(self, pdict, AvgCenter,
883
883
vert = np .array ([0.0 , 0.0 , 1.0 ])
884
884
elif orient == 'y' :
885
885
streamwise = np .array ([0.0 , 1.0 , 0.0 ])
886
- crossstream = np .array ([- 1.0 , 0.0 , 0.0 ])
886
+ crossstream = np .array ([1.0 , 0.0 , 0.0 ])
887
887
vert = np .array ([0.0 , 0.0 , 1.0 ])
888
888
else : # Use the wind direction
889
889
streamwise , crossstream , vert = self .convert_winddir_to_xy (winddir )
0 commit comments