NREL / OpenOA

This library provides a framework for assessing wind plant performance using operational assessment (OA) methodologies that consume time series data from wind plants. The goal of the project is to provide an open source implementation of common data structures, analysis methods, and utility functions relevant to wind plant OA.
https://openoa.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
193 stars 63 forks source link

Some cells in the example notebooks take a long time to run. #264

Closed jordanperr closed 8 months ago

jordanperr commented 11 months ago

I noticed the following cells take a relatively long time to run for an example:

02c_augmented_plant_aep_analysis.ipynb:

03_turbine_ideal_energy.ipynb:

05_eya_gap_analysis.ipynb:

RHammond2 commented 11 months ago

@jordanperr this is how the examples have always been, except in v2 they took 15-20 minutes to run, so it'd be great to get more background on what exactly a satisfactory resolution would be. The primary reason they take a long time to run is to demonstrate the UQ capabilities of the models

jordanperr commented 11 months ago

This has been an ongoing back-and-forth with these tests and examples. We have discussed the pros and cons in reducing the number of iterations to speed up tests and examples but also wanting to maintain validity. Five minutes isn't too bad. Maybe a middle-ground is to add some text in the preceding notebook cell suggesting that users could further reduce num_sim if the example is taking too long to run (at the expense of accuracy).

RHammond2 commented 11 months ago

@jordanperr, please check out #266 to see if this appropriately addresses the problem. I was aiming to balance run time and results stability based on the resulting plots, but let me know if anything should be changed further there.