> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sequence

The flow is a sequence of ramps. Each ramp is defined by a duration, a start and end value. The end value of a ramp is the start value for the next one.

The figure shows the output flow for a sequence of 3 ramps with the following inputs:

* durations: \[1., 3., 1.]
* ts (timesample): 0.2
* values: \[-0.8, 1, -0.4, 0.6]

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/scade-one/scade-one-standard-libraries/2025-r2/libraries/images/t__sequence_00.svg?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=ef5b933820d17906467d8dd5d10ce071)

## Interface

| Name | Kind | Type | Comment |
| - | :-: | - | - |
| SIZE | P | n/a | Number of ramps |
| durations | I | float ^SIZE | Durations for each ramp |
| values | I | float ^(SIZE+1) | Input array of values defining the bounds of the ramps |
| ts | I | float | Time sample during the period Range: >0 |
| flow | O | float | Output flow |

**Parent topic:**[Sources::T](https://developer.synopsys.com/docs/scade-one/scade-one-standard-libraries/2025-r2/libraries/sources/sources_t)
