We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cc176e commit e9a45b6Copy full SHA for e9a45b6
Examples/06_peak_shaving.py
@@ -46,6 +46,7 @@ def main():
46
47
# Load yaml file
48
parameter_filename = os.path.join(tune_dir,'NREL5MW.yaml')
49
+ yaml_dir = os.path.dirname(parameter_filename)
50
51
inps = load_rosco_yaml(parameter_filename)
52
path_params = inps['path_params']
@@ -77,7 +78,7 @@ def main():
77
78
ax.set_xlabel('Wind speed (m/s)')
79
ax.set_ylabel('Blade pitch (deg)')
80
- if True:
81
+ if False:
82
plt.show()
83
else:
84
plt.savefig(os.path.join(example_out_dir,'06_MinPitch.png'))
0 commit comments