windkit.wind_climate.power_density

windkit.wind_climate.power_density(wco, bysector=False, emergent=True, air_density=1.225)[source]

Calculate the power density of a bwc or wwc

Parameters:
  • wco (xarray.Dataset) – Weibull Wind Climate or Binned Wind Climate Object.

  • bysector (bool) – Return results by sector or as an all-sector value. Defaults to False.

  • emergent (bool) – Calculate the all-sector mean using the emergent (True) or the combined Weibull distribution (False). Defaults to True.

  • air_dens (xarray.DataArray or float) – xarray.DataArray with air density with the same dimensions as wco, by default use US standard atmosphere air density of 1.225 kg/m^3

Returns:

DataArray with the power density.

Return type:

xarray.DataArray