def PowerCurve(self):
"""plot power curve."""
plt.plot(self.speeds, self.powers, linewidth=2.0)
plt.title('Power Curve for ' + self.name)
plt.grid(True)
plt.xlabel('wind speed (m/s)')
plt.ylabel('generation (kW)')
plt.show(block=True)
评论列表
文章目录