pvfactors.geometry.pvrow.TsSide
- class pvfactors.geometry.pvrow.TsSide(segments, n_vector=None)[source]
Timeseries side class: this class is a vectorized version of the BaseSide geometries. The coordinates and attributes (list of segments, normal vector) are all vectorized.
- __init__(segments, n_vector=None)[source]
Initialize timeseries side using list of timeseries segments.
- Parameters
segments (list of
TsSegment) – List of timeseries segments of the siden_vector (np.ndarray, optional) – Timeseries normal vectors of the side (Default = None)
Methods
__init__(segments[, n_vector])Initialize timeseries side using list of timeseries segments.
at(idx)Generate a side geometry for the desired index.
from_raw_inputs(xy_center, width, ...[, ...])Create timeseries side using raw PV row inputs.
get_param_weighted(param)Get timeseries parameter for the side, after weighting by surface length.
get_param_ww(param)Get timeseries parameter from the side's surfaces with weight, i.e. after multiplying by the surface lengths.
plot_at_idx(idx, ax[, color_shaded, color_illum])Plot timeseries side at a certain index.
surfaces_at_idx(idx)Get all PV surface geometries in timeseries side for a certain index.
update_params(new_dict)Update timeseries surface parameters of the side.
Attributes
all_ts_surfacesList of all timeseries surfaces
lengthTimeseries length of side.
n_ts_surfacesNumber of timeseries surfaces in the ts side
shaded_lengthTimeseries shaded length of the side.