functiontransition_factor_alt

An alternative definition of the transition range

Extends from Greenhouses.Functions.transition_factor (Get weighting factor for smooth transition (from 0 to 1)).

Inputs

TypeNameDefaultDescription
Realstart (from transition_factor)0.25start of transition interval
Realstop (from transition_factor)0.75end of transition interval
Realposition (from transition_factor)0.0current position
Integerorder (from transition_factor)2Smooth up to which derivative?
Realswitch0.5centre of transition interval
Realtrans0.05*switchtransition duration

Outputs

TypeNameDefaultDescription
RealtFactor (from transition_factor)weighting factor