    

 ## On this page

  

 

 # Sequence

 Last update: 17.07.2025 

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\]

![](/sites/default/files/git_ansys/scade_one_library_2024_r2_18_07_24/t__sequence_00.png)

## Interface

NameKindTypeCommentSIZEPn/aNumber of rampsdurationsIfloat ^SIZEDurations for each rampvaluesIfloat ^(SIZE+1)Input array of values defining the bounds of the rampstsIfloatTime sample during the period  
Range: &gt;0flowOfloatOutput flow**Parent topic:**[Sources::T](../../libraries/sources/sources_t.md)