pvfactors.geometry.pvground.PVGround
- class pvfactors.geometry.pvground.PVGround(list_segments=None, original_linestring=None)[source]
Class that defines the ground geometry in PV arrays.
- __init__(list_segments=None, original_linestring=None)[source]
Initialize PV ground geometry.
- Parameters
list_segments (list of
PVSegment
, optional) – List of PV segments that will constitute the ground (Default = [])original_linestring (
shapely.geometry.LineString
, optional) – Full continuous linestring that the ground will be made of (Default = None)
Methods
__init__
([list_segments, original_linestring])Initialize PV ground geometry.
as_flat
([x_min_max, shaded, y_ground, ...])Build a horizontal flat ground surface, made of 1 PV segment.
from_lists_surfaces
(list_shaded_surfaces, ...)Create ground from lists of shaded and illuminated PV surfaces.
Attributes
boundary
Boundaries of the ground's original linestring.