pvdeg.utilities.tilt_azimuth_scan#
- pvdeg.utilities.tilt_azimuth_scan(weather_df=None, meta=None, tilt_step=5, azimuth_step=5, func=typing.Callable, **kwarg)[source]#
Calculate minimum standoff distance for roof-mounted PV systems.
Standoff calculated as a function of tilt and azimuth.
- Parameters:
weather_df (pd.DataFrame) – Weather data for a single location.
meta (pd.DataFrame) – Meta data for a single location.
tilt_step (integer) – Step in degrees of change in tilt angle of PV system between calculations. Will scan from 0 to 90 degrees.
azimuth_step (integer) – Step in degrees of change in Azimuth angle of PV system relative to north. Will scan from 0 to 180 degrees.
kwarg (dict) – All the keywords in a dictionary form that are needed to run the function.
func (Callable) – The name of the function that will be calculated.
Returns – standoff_series : 2-D array with each row consiting of tilt, azimuth, then standoff