Skip to content

Commit

Permalink
Plot bld pitch
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhar-abbas committed Sep 13, 2019
1 parent 1604212 commit 6993a74
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions WTC_toolbox/sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,8 @@ def sim_ws_series(self,t_array,ws_array,rotor_rpm_init=10,init_pitch=0.0):
self.t_array = t_array
self.ws_array = ws_array

def plot_ws_series(self):

fig, axarr = plt.subplots(6,1,sharex=True,figsize=(6,10))
fig, axarr = plt.subplots(4,1,sharex=True,figsize=(6,10))



Expand All @@ -144,4 +143,8 @@ def plot_ws_series(self):
ax.grid()
ax.legend()

ax = axarr[3]
ax.plot(self.t_array,self.pitch,label='Bld Pitch')
ax.grid()
ax.legend()

0 comments on commit 6993a74

Please sign in to comment.