h2integrate.converters.wind.wind_plant_baseclass#

Classes

class h2integrate.converters.wind.wind_plant_baseclass.WindPerformanceBaseClass(**kwargs)#
initialize()#

Perform any one-time initialization run at instantiation.

setup()#

Declare inputs and outputs.

Available attributes:

name pathname comm options

calculate_bounding_heights_from_resource_data(hub_height_meters, resource_data, resource_vars=['wind_speed'])#

This method finds the wind resource heights that bound the turbine hub-height. This method returns resource heights (height_1 and/or height_2) that are closest to the turbine hub-height and where height_1 < hub_height_meters < height_2 OR height_1 == hub_height_meters.

Note

This function assumes resource heights are integers. This function also assumes that all variables in resource_vars have the same resource heights.

Parameters:
  • hub_height_meters (int | float) -- turbine hub-height in meters

  • resource_data (dict) -- wind resource data dictionary.

  • resource_vars (list[str], optional) -- Wind resource data types used to find the bounding resource heights. Defaults to ["wind_speed"].

Returns:

list[int] --

list of resource heights in meters that most closely bound

the turbine hub-height.

compute(inputs, outputs, discrete_inputs, discrete_outputs)#

Computation for the OM component.

For a template class this is not implement and raises an error.

class h2integrate.converters.wind.wind_plant_baseclass.WindFinanceBaseClass(**kwargs)#
initialize()#

Perform any one-time initialization run at instantiation.

setup()#

Declare inputs and outputs.

Available attributes:

name pathname comm options

compute(inputs, outputs)#

Computation for the OM component.

For a template class this is not implement and raises an error.