Align load profile DatetimeIndex to match PV production data.
This handles the common case where load profiles use a generic year (e.g., 2023)
but PV/TMY data uses a different year (e.g., 1990).
- Parameters:
load_df (DataFrame) – Load profile DataFrame with DatetimeIndex
pv_series (Series) – PV production Series with DatetimeIndex
freq (str) – Time frequency
- Return type:
DataFrame
- Returns:
Load DataFrame with index aligned to PV data’s year