pvfactors.geometry.timeseries.TsSurface
- class pvfactors.geometry.timeseries.TsSurface(coords, n_vector=None, param_names=None, index=None, shaded=False)[source]
Timeseries surface class: vectorized representation of PV surface geometries.
- __init__(coords, n_vector=None, param_names=None, index=None, shaded=False)[source]
Initialize timeseries surface using timeseries coordinates.
- Parameters
coords (
TsLineCoords) – Timeseries coordinates of full segmentindex (int, optional) – Index of segment (Default = None)
n_vector (np.ndarray, optional) – Timeseries normal vectors of the side (Default = None)
index – Index of the timeseries surfaces (Default = None)
shaded (bool, optional) – Is the surface shaded or not (Default = False)
Methods
__init__(coords[, n_vector, param_names, ...])Initialize timeseries surface using timeseries coordinates.
at(idx)Generate a PV segment geometry for the desired index.
get_param(param)Get timeseries parameter values of surface
plot_at_idx(idx, ax, color)Plot timeseries PV row at a certain index, only if it's not too small.
update_params(new_dict)Update timeseries surface parameters.
Attributes
b1Timeseries coordinates of first boundary point
b2Timeseries coordinates of second boundary point
centroidTimeseries point coordinates of the surface's centroid
highest_pointTimeseries point coordinates of highest point of surface
is_emptyCheck if surface is "empty" by checking if its length is always zero
lengthTimeseries length of the surface
lowest_pointTimeseries point coordinates of lowest point of surface
u_vectorVector orthogonal to the surface's normal vector