Negative ws resulting from LinearSum() superpositionModel & division by 0 in GenericTIRhoWindTurbine
1 - Negative effective wind speeds appear with the use of the LinearSum superposition model.
Attached you can find a script to reproduce the error: negative_ws_issue.py
The wake effects can therefore reduce the ws to < 0. Having that in mind, a possible solution is proposed in the patch attached: negWS.patch
2 - Division by 0 in GenericTIRhoWindTurbine: The above patch works with turbine curves already imported from other sources. Using it with the power/ct curves generated by GenericTIRhoWindTurbine (with wsp_list from 0 to 50) a division by zero occurs, ie., this method does not allow wsp_list_min=0.
One possible solution is to set the limiter from the above patch to 1e-5 instead of 0 (notice that the patch_limiter needs to be >= wsp_list_min). Another possible solution is to also use a limiter in: py_wake/utils/generic_power_ct_curves.py:66 -> cp = p_aero * 1000 / (.5 * rho * area * wsp_lst ** 3)