windisch.model
model.py contains WindTurbineModel which sizes wind turbines and calculates dimensions and mass attributes.
Functions
|
Returns hub height, in m, based on rated power output (kW). |
|
Returns mass of onshore turbine foundations :param height: tower height (m) :param diameter: rotor diameter (m) :return: |
Returns mass of reinforcing steel in onshore turbine foundations, based on power output (kW). |
|
|
Returns nacelle weight, in kg. |
|
Returns rotor diameter, based on power output and given coefficients :param power: power output (kW) :param coeff_a: coefficient :param coeff_b: coefficient :param coeff_c: coefficient :param coeff_d: coefficient :return: rotor diameter (m) |
|
Returns rotor weight, in kg, based on rotor diameter. |
|
Returns tower mass, in kg, based on tower diameter and height. |
|
Returns grout volume (m3) based on transition piece length (in m). |
|
Returns undersea pile height (m) from rated power output (kW), penetration depth and sea depeth. |
|
Return the mass of the steel pile based on the power output of the rotor and the height of the pile. |
|
Returns scour volume (m3) based on power output (kW). |
Returns a fitting model for the height of transition piece (in m), based on pile height (in m). |
|
|
Returns the mass of transition piece (in kg). |
Return a penetration depth fit model of the steel pile of the offshore wind turbine. |
|
|
Return the required cable mass as well as the energy needed to lay down the cable. |
Classes
|
This class represents the entirety of the turbines considered, with useful attributes, such as an array that stores all the turbine input parameters. |
- class windisch.model.WindTurbineModel(array)
This class represents the entirety of the turbines considered, with useful attributes, such as an array that stores all the turbine input parameters.
- Variables:
array (xarray.DataArray) – multidimensional numpy-like array that contains parameters’ value(s)
- set_all()
This method runs a series of methods to size the wind turbines, evaluate material requirements, etc.
- Returns:
Does not return anything. Modifies
self.arrayin place.
- windisch.model.func_height_power(power: int, coeff_a: float, coeff_b: float, coeff_c: float) float
Returns hub height, in m, based on rated power output (kW). :param power: power output (kW) :param coeff_a: coefficient :param coeff_b: coefficient :param coeff_c: coefficient :return: hub height (m)
- windisch.model.func_mass_foundation_onshore(height: float, diameter: float) float
Returns mass of onshore turbine foundations :param height: tower height (m) :param diameter: rotor diameter (m) :return:
- windisch.model.func_mass_reinf_steel_onshore(power: int) float
Returns mass of reinforcing steel in onshore turbine foundations, based on power output (kW). :param power: power output (kW) :return:
- windisch.model.func_nacelle_weight_power(power: int, coeff_a: float, coeff_b: float) float
Returns nacelle weight, in kg. :param power: power output (kW) :param coeff_a: coefficient a :param coeff_b: coefficient b :return: nacelle weight (in kg)
- windisch.model.func_rotor_diameter(power: int, coeff_a: float, coeff_b: float, coeff_c: float, coeff_d: float) float
Returns rotor diameter, based on power output and given coefficients :param power: power output (kW) :param coeff_a: coefficient :param coeff_b: coefficient :param coeff_c: coefficient :param coeff_d: coefficient :return: rotor diameter (m)
- windisch.model.func_rotor_weight_rotor_diameter(power: int, coeff_a: float, coeff_b: float) float
Returns rotor weight, in kg, based on rotor diameter. :param power: power output (kW) :param coeff_a: coefficient a :param coeff_b: coefficient b :return: nacelle weight (in kg)
- windisch.model.func_tower_weight_d2h(diameter: float, height: float, coeff_a: float, coeff_b: float) float
Returns tower mass, in kg, based on tower diameter and height. :param diameter: tower diameter (m) :param height: tower height (m) :param coeff_a: coefficient a :param coeff_b: coefficient b :return: tower mass (in kg)
- windisch.model.get_grout_volume(trans_length: float) float
Returns grout volume (m3) based on transition piece length (in m). :param trans_length: length of the transition piece (in m) :return: grout volume (in m3) needed
- windisch.model.get_pile_height(power: int, sea_depth: float) float
Returns undersea pile height (m) from rated power output (kW), penetration depth and sea depeth. :param power: power output (kW) :param sea_depth: sea depth (m) :return: pile height (m)
- windisch.model.get_pile_mass(power: int, pile_height: float) float
Return the mass of the steel pile based on the power output of the rotor and the height of the pile. :param power: power output (in kW) of the rotor :param pile_height: height (in m) of the pile :return: mass of the steel pile (in kg)
- windisch.model.get_scour_volume(power: int) float
Returns scour volume (m3) based on power output (kW). Scour is a mix of gravel and cement. :param power: power output (kW) :return: scour volume (m3)
- windisch.model.get_transition_height() poly1d
Returns a fitting model for the height of transition piece (in m), based on pile height (in m). :return:
- windisch.model.get_transition_mass(pile_height: float) float
Returns the mass of transition piece (in kg). :return:
- windisch.model.penetration_depth_fit() poly1d
Return a penetration depth fit model of the steel pile of the offshore wind turbine. :return:
- windisch.model.set_cable_requirements(power: int, cross_section: float, dist_transfo: float, dist_coast: float, park_size: int) Tuple[float, float]
Return the required cable mass as well as the energy needed to lay down the cable. :param power: rotor power output (in kW) :param cross_section: cable cross-section (in mm2) :param dist_transfo: distance to transformer (in m) :param dist_coast: distance to coastline (in m) :param park_size: :return: