sunpeek.core_methods.virtuals.calculations.StrategySolarPosition_pvlib#

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

Bases: VirtualSensorStrategy

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