reV.hybrids.hybrids.HybridsData

class HybridsData(solar_fpath, wind_fpath)[source]

Bases: object

Hybrids input data container.

Parameters:
  • solar_fpath (str) – Filepath to rep profile output file to extract solar profiles and summaries from.

  • wind_fpath (str) – Filepath to rep profile output file to extract wind profiles and summaries from.

Methods

contains_col(col_name)

Check if input column name exists in either meta data set.

validate()

Validate the input data.

Attributes

hybrid_time_index

Get the time index for the hybrid rep profiles.

solar_meta

Summary for the solar representative profiles.

solar_time_index

Get the time index for the solar rep profiles.

wind_meta

Summary for the wind representative profiles.

wind_time_index

Get the time index for the wind rep profiles.

property solar_meta

Summary for the solar representative profiles.

Returns:

solar_meta (pd.DataFrame) – Summary for the solar representative profiles.

property wind_meta

Summary for the wind representative profiles.

Returns:

wind_meta (pd.DataFrame) – Summary for the wind representative profiles.

property solar_time_index

Get the time index for the solar rep profiles.

Returns:

solar_time_index (pd.datetimeindex) – Time index sourced from the solar reV gen file.

property wind_time_index

Get the time index for the wind rep profiles.

Returns:

wind_time_index (pd.datetimeindex) – Time index sourced from the wind reV gen file.

property hybrid_time_index

Get the time index for the hybrid rep profiles.

Returns:

hybrid_time_index (pd.datetimeindex) – Time index for the hybrid rep profiles.

contains_col(col_name)[source]

Check if input column name exists in either meta data set.

Parameters:

col_name (str) – Name of column to check for.

Returns:

bool – Whether or not the column is found in either meta data set.

validate()[source]

Validate the input data.

This method checks for a minimum time index length, a unique profile, and unique merge column that overlaps between both data sets.