reV.SAM.windbos.WindBos

class WindBos(inputs)[source]

Bases: object

Wind Balance of System Cost Model.

Parameters:

inputs (dict) – SAM key value pair inputs.

Methods

reV_run(points_control, site_df[, ...])

Execute SAM SingleOwner simulations based on reV points control.

Attributes

KEYS

MODULE

bos_cost

Get the balance of system cost ($).

hub_height

Turbine hub height.

machine_rating

Single turbine machine rating either from input or power curve.

number_of_turbines

Number of turbines either based on input or system (farm) capacity and machine rating

output

Get a dictionary containing the cost breakdown.

rotor_diameter

Turbine rotor diameter.

sales_tax_cost

Get the cost of sales tax ($).

sales_tax_mult

Get a sales tax multiplier (frac of the total installed cost).

total_installed_cost

Get the total installed cost ($) (bos + turbine).

turbine_capital_cost

Returns zero (no turbine capital cost for WindBOS input, and assigns any input turbine_capital_cost to an attr

turbine_cost

Get the turbine cost ($).

property machine_rating

Single turbine machine rating either from input or power curve.

property hub_height

Turbine hub height.

property rotor_diameter

Turbine rotor diameter.

property number_of_turbines

Number of turbines either based on input or system (farm) capacity and machine rating

property turbine_capital_cost

Returns zero (no turbine capital cost for WindBOS input, and assigns any input turbine_capital_cost to an attr

property bos_cost

Get the balance of system cost ($).

property turbine_cost

Get the turbine cost ($).

property sales_tax_mult

Get a sales tax multiplier (frac of the total installed cost).

property sales_tax_cost

Get the cost of sales tax ($).

property total_installed_cost

Get the total installed cost ($) (bos + turbine).

property output

Get a dictionary containing the cost breakdown.

classmethod reV_run(points_control, site_df, output_request=('total_installed_cost',), **kwargs)[source]

Execute SAM SingleOwner simulations based on reV points control.

Parameters:
  • points_control (config.PointsControl) – PointsControl instance containing project points site and SAM config info.

  • site_df (pd.DataFrame) – Dataframe of site-specific input variables. Row index corresponds to site number/gid (via df.loc not df.iloc), column labels are the variable keys that will be passed forward as SAM parameters.

  • output_request (list | tuple | str) – Output(s) to retrieve from SAM.

  • kwargs (dict) – Not used but maintained for polymorphic calls with other SAM econ reV_run() methods (lcoe and single owner). Breaks pylint error W0613: unused argument.

Returns:

out (dict) – Nested dictionaries where the top level key is the site index, the second level key is the variable name, second level value is the output variable value.