    

 ## On this page

  

 

 # Sequence

 Last update: 17.07.2025 

The flow is a sequence of ramps. Each ramp is defined by a number of cycles, 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:

- cycles: \[5, 15, 5\]
- values: \[-0.8, 1, -0.4, 0.6\]

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

## Interface

NameKindTypeCommentSIZEPn/aNumber of rampscyclesIunsigned ^ SIZENumber of cycles for each rampvaluesIfloat ^ (SIZE+1)Input array of values defining the bounds of the rampsflowOfloatOutput flow**Parent topic:**[Sources::N](../../libraries/sources/sources_n.md)