0.2.0 (February 14, 2024)#
Breaking Changes#
Updated function
infer_orientation_fit_pvwatts()
to more closely align with the PVWatts v5 methodology. This includes incorporating relative airmass and extraterrestrial irradiance into the Perez total irradiance model, accounting for array incidence loss (IAM), and including losses in the PVWatts inverter model. Additionally, added optional arguments for bounding the azimuth range in during least squares optimization. (GH147, GH180)Updated function
shifts_ruptures()
to align with the methodology tested and reported on at PVRW 2023 (“Survey of Time Shift Detection Algorithms for Measured PV Data”). This includes converting the changepoint detection algorithm from Pelt to Binary Segmentation (which runs much faster), and performing additional processing to each detected segment to remove outliers and filter by a quantile cutoff instead of the original rounding technique. (GH197)
Enhancements#
Added function
get_sunrise()
for calculating the daily sunrise datetimes for a time series, based on thepower_or_irradiance()
day/night mask output. (GH187)Added function
get_sunset()
for calculating the daily sunset datetimes for a time series, based on thepower_or_irradiance()
day/night mask output. (GH187)Updated function
power_or_irradiance()
to be more performant by vectorization; the original logic was using a lambda call that was slowing the function speed down considerably. This update resulted in a ~50X speedup. (GH186)
Bug Fixes#
pvanalytics.__version__
now correctly reports the version string instead of raisingAttributeError
. (GH181)Compatibility with pandas 2.0.0 (GH185) and future versions of pandas (GH203)
Compatibility with scipy 1.11 (GH196)
Updated function
trim()
to handle pandas 2.0.0 update for tz-aware timeseries (GH206)
Requirements#
Documentation#
Testing#
Contributors#
Kirsten Perry (@kperrynrel)
Kevin Anderson (@kanderso-nrel)
Cliff Hansen (@cwhanse)
Abhishek Parikh (@abhisheksparikh)
Quyen Nguyen (@qnguyen345)
Adam R. Jensen (@adamrjensen)
Chris Deline (@cdeline)