    

 ## On this page

  

 

 # Ramp

 Last update: 16.07.2025 

The flow varies linearly from 0 to 1 for a duration and then remains at 1.

The figure shows the output flow for a ramp with the following inputs:

- duration: 1
- ts (timesample): 0.1
- amplitude: 1
- offset: 0

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

## Interface

NameKindTypeCommentdurationIfloatDuration of the ramp  
Range: &amp;gt;0tsIfloatTime sample during the ramp  
Range: &amp;gt;0amplitudeIfloatGain to be applied to the output flow (default 1)offsetIfloatOffset to be added to the output flow (default 0)flowOfloatOutput flow**Constraint**: The ratio duration / ts must be greater than 2.

**Parent topic:**[Sources::T](../../libraries/sources/sources_t.md)