sunpeek.core_methods.virtuals.calculations.StrategyInternalShading_SingleAxisTracking#

class sunpeek.core_methods.virtuals.calculations.StrategyInternalShading_SingleAxisTracking(component)#

Bases: VirtualSensorStrategy

Calculate internal shading for single-axis tracking arrays using pvlib.

Uses pvlib.shading.shaded_fraction1d() to calculate the shaded fraction for interior rows of a single-axis tracking array.

Assumption: All trackers/rows move in sync (same rotation angle). For arrays with independent row control, a more complex model would be needed.

Methods

__init__(component)

check_output(output)

Specific checks for the output of virtual sensor calculations.

execute()

Try to calculate strategy, sanitize check output dict and return if ok.

get_feedback(check_mode)

check_output(output)#

Specific checks for the output of virtual sensor calculations.

execute()#

Try to calculate strategy, sanitize check output dict and return if ok.

Returns:

  • elapsed_time (float, elapsed time in algorithm in seconds)

  • output (dict, strategy output, values are asserted to be unit-aware (pint-pandas) Series.)

Raises:

AlgorithmError