Classes¶
wind_turbine.WindTurbine(turbine_name, ...) |
Defines a standard set of wind turbine attributes. |
modelchain.Modelchain(wind_turbine[, ...]) |
Model to determine the output of a wind turbine |
Density¶
Functions for calculating air density at hub height.
density.temperature_gradient(temp_air, ...) |
Calculates the temperature at hub height using a linear temperature gradient. |
density.temperature_interpol(temp_air_1, ...) |
Calculates the temperature at hub height by inter- or extrapolation. |
density.rho_barometric(pressure, ...) |
Calculates the density of air at hub height using the barometric height equation. |
density.rho_ideal_gas(pressure, ...) |
Calculates the density of air at hub height using the ideal gas equation. |
Wind speed¶
Functions for calculating wind speed at hub height.
wind_speed.logarithmic_wind_profile(v_wind, ...) |
Calculates the wind speed at hub height using a logarithmic wind profile. |
wind_speed.v_wind_hellman(v_wind, ...[, ...]) |
Calculates the wind speed at hub height using the hellman equation. |
Wind turbine data¶
Functions and methods to obtain the nominal power as well as
power curve or power coefficient curve needed by the WindTurbine class.
wind_turbine.WindTurbine.fetch_turbine_data() |
Fetches data of the requested wind turbine. |
wind_turbine.get_turbine_types([print_out]) |
Get the names of all possible wind turbine types for which the power coefficient curve or power curve is provided in the data files in the directory windpowerlib/data. |
wind_turbine.read_turbine_data(**kwargs) |
Fetches power coefficient curve or power curve from a file. |
Power output¶
Functions for calculating power output of a wind turbine.
power_output.cp_curve(v_wind, rho_hub, ...) |
Calculates the turbine power output using a cp curve. |
power_output.cp_curve_density_corr(v_wind, ...) |
Calculates the turbine power output using a density corrected cp curve. |
power_output.p_curve(p_values, v_wind) |
Calculates the turbine power output using a power curve. |
power_output.p_curve_density_corr(v_wind, ...) |
Calculates the turbine power output using a density corrected power curve. |
Modelchain¶
Creating a Modelchain object.
modelchain.Modelchain(wind_turbine[, ...]) |
Model to determine the output of a wind turbine |
Running the modelchain.
modelchain.Modelchain.run_model(weather, ...) |
Runs the model. |
Methods of the Modelchain object.
modelchain.Modelchain.rho_hub(weather, ...) |
Calculates the density of air at hub height. |
modelchain.Modelchain.v_wind_hub(weather, ...) |
Calculates the wind speed at hub height. |
modelchain.Modelchain.turbine_power_output(...) |
Calculates the power output of the wind turbine. |