You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update readme install instructions, small bug fix FLORIS interface, update env yaml for macs
-- readme install instructions updated to be more clear on order of operations
-- small bug fix to ensure only platforms with turbines are considered in FLORIS interface
-- updated env yaml to work for macs as well as pcs
# interpolate thrust force from speed/thrust curve
2605
-
foriinrange(0,nturbs):
2607
+
foriinrange(0,nturbs):
2606
2608
ifws[i] <cutin:
2607
2609
T=0
2608
2610
else:
2609
2611
T=f(ws[i])
2610
2612
2611
2613
# apply thrust force/moments (split into x and y components)
2612
-
self.ms.bodyList[i].f6Ext=np.array([T*np.cos(np.radians(wd)), T*np.sin(np.radians(wd)), 0, T*np.cos(np.radians(wd))*hubht, T*np.sin(np.radians(wd))*hubht, 0]) # apply an external force on the body
2614
+
turblist[i].f6Ext=np.array([T*np.cos(np.radians(wd)), T*np.sin(np.radians(wd)), 0, T*np.cos(np.radians(wd))*hubht, T*np.sin(np.radians(wd))*hubht, 0]) # apply an external force on the body
2613
2615
2614
2616
2615
2617
#solve statics to find updated turbine positions
2616
2618
self.ms.initialize()
2617
2619
self.ms.solveEquilibrium(DOFtype='both')
2618
2620
2619
2621
#update floris turbine positions and calculate wake losses
0 commit comments