This function evaluates the polynomial approximation of the optimum power coefficient cp storted in the turbine record TurbineControlData.
function turbineControlVal extends Modelica.Icons.Function; input WindPowerPlants.Records.TurbineControlData.Generic turbineControlData "turbine control record"; input Real lambda "Evaluation variable"; output Real beta "Approximated pitch angle"; end turbineControlVal;