reV.hybrids.hybrids.HybridsData
- class HybridsData(solar_fpath, wind_fpath, year)[source]
Bases:
objectHybrids 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.
year (int) – Analysis year. Representative-profile inputs are validated against this year, while Bespoke inputs use it to select the annual profile and time-index datasets.
Methods
contains_col(col_name)Check if input column name exists in either meta data set.
validate()Validate the input data.
Attributes
Get the time index for the hybrid rep profiles.
Summary for the solar representative profiles.
Solar profile dataset name.
Solar time index dataset name.
Get the time index for the solar rep profiles.
Summary for the wind representative profiles.
Wind profile dataset name.
Wind time index dataset name.
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.