sunpeek.core_methods.virtuals.radiation#

Functions

get_radiation_inputs(component)

Return list with the 4 standard input slots of an Array of Plant.

get_radiation_pattern(component)

Returns input pattern as string, where 1 if input is not None, else 0.

is_horizontal(*args)

Returns tuple with bool for each arg.

same_orientation(*args)

Checks whether two radiation sensors or arrays have same tilt & orientation.

to_rd(*args)

Converts numeric inputs to pd.Series with pint dtype W/m².

unpack_radiations(component)

Tries to read radiation as numeric value from self attributes (Sensor) in unit W/m**2.