pvfactors.geometry.pvrow.TsPVRow
- class pvfactors.geometry.pvrow.TsPVRow(ts_front_side, ts_back_side, xy_center, index=None, full_pvrow_coords=None)[source]
Timeseries PV row class: this class is a vectorized version of the PV row geometries. The coordinates and attributes (front and back sides) are all vectorized.
- __init__(ts_front_side, ts_back_side, xy_center, index=None, full_pvrow_coords=None)[source]
Initialize timeseries PV row with its front and back sides.
- Parameters
ts_front_side (
TsSide
) – Timeseries front side of the PV rowts_back_side (
TsSide
) – Timeseries back side of the PV rowxy_center (tuple of float) – x and y coordinates of the PV row center point (invariant)
index (int, optional) – index of the PV row (Default = None)
full_pvrow_coords (
TsLineCoords
, optional) – Timeseries coordinates of the full PV row, end to end (Default = None)
Methods
__init__
(ts_front_side, ts_back_side, xy_center)Initialize timeseries PV row with its front and back sides.
at
(idx)Generate a PV row geometry for the desired index.
from_raw_inputs
(xy_center, width, ...[, ...])Create timeseries PV row using raw inputs.
plot_at_idx
(idx, ax[, color_shaded, ...])Plot timeseries PV row at a certain index.
surfaces_at_idx
(idx)Get all PV surface geometries in timeseries PV row for a certain index.
update_params
(new_dict)Update timeseries surface parameters of the PV row.
Attributes
all_ts_surfaces
List of all timeseries surfaces
centroid
Centroid point of the timeseries pv row
highest_point
Timeseries point coordinates of highest point of PV row
length
Length of both sides of the timeseries PV row
n_ts_surfaces
Number of timeseries surfaces in the ts PV row