twoaxistracking.TrackerField#

class twoaxistracking.TrackerField(total_collector_geometry, active_collector_geometry, neighbor_order, gcr, layout_type=None, aspect_ratio=None, offset=None, rotation=None, slope_azimuth=0, slope_tilt=0)#

TrackerField is a convenient container for the collector geometry and field layout, and allows for calculating the shaded fraction.

Parameters
  • total_collector_geometry (Shapely Polygon) – Polygon corresponding to the total collector area.

  • active_collector_geometry (Shapely Polygon or MultiPolygon) – One or more polygons defining the active collector area.

  • neighbor_order (int) – Order of neighbors to include in layout. It is recommended to use a neighbor order of two.

  • gcr (float) – Ground cover ratio. Ratio of collector area to ground area.

  • layout_type ({square, square_rotated, hexagon_e_w, hexagon_n_s}, optional) – Specification of the special layout type (only depends on gcr).

  • aspect_ratio (float, optional) – Ratio of the spacing in the primary direction to the secondary.

  • offset (float, optional) – Relative row offset in the secondary direction as fraction of the spacing in the secondary direction. -0.5 <= offset < 0.5.

  • rotation (float, optional) – Counterclockwise rotation of the field in degrees. 0 <= rotation < 180

  • slope_azimuth (float, default : 0) – Direction of normal to slope on horizontal [degrees]

  • slope_tilt (float, default : 0) – Tilt of slope relative to horizontal [degrees]

Notes

The field layout can be specified either by selecting a standard layout using the layout_type argument or by specifying the individual layout parameters aspect_ratio, offset, and rotation. For both cases the ground cover ratio (gcr) needs to be specified.

__init__(total_collector_geometry, active_collector_geometry, neighbor_order, gcr, layout_type=None, aspect_ratio=None, offset=None, rotation=None, slope_azimuth=0, slope_tilt=0)#

Methods

__init__(total_collector_geometry, ...[, ...])

get_shaded_fraction(solar_elevation, ...[, plot])

Calculate the shaded fraction for the specified solar positions.

plot_field_layout()

Create a plot of the field layout.