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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | start (from transition_factor) | 0.25 | start of transition interval |
| Real | stop (from transition_factor) | 0.75 | end of transition interval |
| Real | position (from transition_factor) | 0.0 | current position |
| Integer | order (from transition_factor) | 2 | Smooth up to which derivative? |
| Real | switch | 0.5 | centre of transition interval |
| Real | trans | 0.05*switch | transition duration |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | tFactor (from transition_factor) | weighting factor |