windkit.ltc.mcp.MCPBase

class windkit.ltc.mcp.MCPBase(n_sectors=12, quantiles=False)[source]

Sectorwise Regressor base-class used as a blueprint for sectorwise MCP methods based on regression models.

Parameters:
  • n_sectors (int) – Number of sectors to fit independant regression models to. Default is 12 sectors.

  • quantiles (bool) – Whether to use a equal probability sectors or constant sector widths. Default is to use constant sector widths.

Methods

__init__([n_sectors, quantiles])

wd_to_sector(wd[, recalc_sectors])

Convert wind direction to sectors using the object n_sectors and constant_sector_width values