Bézier for Python users
The `bezier` python package allows you to work with power curve data in python, for time-series and other data analysis purposes.
Last updated
Was this helpful?
Was this helpful?
>> curve = PowerCurve('gm-5-abc-1')
>> print(curve.get_description())
"The GM-5-ABC-1 turbine, part of Generic Machines' 5MW platform, is the first totally fictional example turbine I could think of">> print(curve.available_modes)
>> print(curve.default_mode)>> mode_label = curve.default_mode
>> operating_point = {
"air-density": np.array([1.223, 1.224, 1.225, 1.220]),
"wind-speed": np.array([8.63, 10.89, 11.81, 6.28]),
}
>> power, thrust, parameter_labels, xi = curve.get_performance(mode_label, operating_point, as_timeseries=True)
>> print(power)
np.array([4653000, 4853000, 5053000, 2653000])