Summary
The DC Field 3D Shading algorithm is a legacy ray-tracing approach that calculates shading within individual DC fields. This method uses shadow volume construction and polygon-polyhedron intersection testing to determine shaded fractions for each module. The algorithm is limited to single DC field geometries and is computationally intensive, primarily used for DC field-level validation in earlier versions of PlantPredict.Inputs
| Name | Symbol | Units | Description |
|---|---|---|---|
| Sun Position Vector | — | 3D unit vector pointing from origin to sun | |
| Module Vertices | — | m | 3D coordinates of module corner points (4 vertices per module) |
| Array Dimensions | — | m | Row spacing, module dimensions for clipping plane calculation |
| Solar Zenith Angle | degrees | Angle from vertical to sun position | |
| Solar Azimuth Angle | degrees | Compass direction of sun position |
Outputs
| Name | Symbol | Units | Description |
|---|---|---|---|
| Shaded Fraction per Module | — | Fraction of module area in shadow (0-1) | |
| Shadow Polygon Vertices | — | m | Coordinates defining shadow boundaries on receiver surface |
Detailed Description
Shadow Volume Construction
For each occluder module, the algorithm constructs a 3D shadow volume:- Define Module Polygon: Extract 4 corner vertices of the occluder module
- Project Rays: Cast rays from each vertex along the sun vector direction
- Extend to Clipping Plane: Extend rays to a far clipping plane scaled by array dimensions
- Form Polyhedron: Connect original vertices to projected vertices to form a closed 3D shadow volume
Occlusion Testing
For each receiver module, the algorithm tests for intersection with shadow volumes from upstream modules:- Intersection Test: Determine if receiver module polygon intersects any shadow volumes
- Shadow Polygon Calculation: For intersecting volumes, calculate the shadow polygon vertices on the receiver surface
- Area Computation: Compute the area of the shadow polygon
Shaded Fraction Calculation
The shaded fraction is the ratio of shadow area to total module area: where is the area of the shadow polygon intersection and is the total module area.Application to Irradiance
The shaded fraction is applied to beam irradiance: Diffuse shading is handled separately using view-factor methods (Schaar-Panchula model).Algorithm Characteristics
- Complexity: where is the number of modules, as each module must be tested against all potential occluders
- Scope: Limited to single DC field geometry; does not support site-wide calculations
- Use Case: Primarily used for DC field-level validation and legacy compatibility
References
- Deline, C., Sekulic, W., Stein, J., Barkaszi, S., Yang, J., & Kahn, S. (2014). Evaluation of maxim module-integrated electronics at the DOE Regional Test Centers. Proceedings of the IEEE 40th Photovoltaic Specialist Conference, 3259–3264.