The OpenCSP foundation classes provide a general-purpose representation for a hierarchy of collector objects: Mirror, Facet, FacetEnsemble, Heliostat, SolarField. These offer a variety of supporting functions, including the rendering operations shown here. The OpenCSP foundation classes also include utilities such as ray tracing and video handling.
OpenCSP Team. OpenCSP Base Classes and Ray Tracing. Jupyter notebook; T. J. Larkin originating author. OpenCSP_Code: opencsp/doc/source/example/csp/base_classes_and_ray_trace.ipynb