reskit.solar.core.system_design#
Functions#
|
Simple system tilt estimator based off latitude and longitude coordinates |
Module Contents#
- reskit.solar.core.system_design.location_to_tilt(locs, convention='Ryberg2020', **kwargs)#
Simple system tilt estimator based off latitude and longitude coordinates
- Parameters:
locs (geokit.LocationSet or iterable of (lon,lat) pairs) – The locations at which to estimate system tilt angle
convention (str, optional) –
The calculation method used to suggest system tilts Options are:
”Ryberg2020”
A string consumable by ‘eval’
Can use the variable ‘latitude’
Ex. “latitude*0.76”
A path to a raster file
kwargs (Optional keyword arguments to use in geokit.raster.interpolateValues(...).) – Only applies when convention is a path to a raster file
- Returns:
Suggested tilt angle at each of the provided locs. Has the same length as the number of locs.
- Return type:
np.ndarray
Notes
- “Ryberg2020”
When convention equals “Ryberg2020”, the following equation is followed:
\[42.327719357601396 * arctan( 1.5 * abs(latitude) )\]