    

 ## On this page

  

 

 # Ramps

 Last update: 16.07.2025 

The flow is the sequence of an array of ramps. Each ramp is defined by a number of cycles, an amplitude, and an offset.

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

- cycles: \[5, 15, 5\]
- amplitudes: \[1.8, -1.4, 1.0\]
- offsets: \[-0.8, 1.0, -0.4\]

![](/sites/default/files/git_ansys/scade_one_library_2025_r2_1/n__ramps_00.svg)

## Interface

NameKindTypeCommentSIZEPn/aNumber of rampscyclesIunsigned ^ SIZENumber of cycles for each ramp  
Range: &amp;gt;1amplitudesIfloat ^ SIZEGain to be applied to the output flow of each ramp (default 1 ^ SIZE)offsetsIfloat ^ SIZEOffset to be added to the output flow of each ramp (default 0 ^ SIZE)flowOfloatOutput flow**Parent topic:**[Sources::N](./sources_n.md)