    

 ## On this page

  

 

 # Sawtooth

 Last update: 17.07.2025 

The flow varies linearly from 0 to 1 at every period.

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

- cycles: 10
- amplitude: 1
- offset: 0

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

## Interface

NameKindTypeCommentperiodIfloatValue of the period  
Range: &gt;0tsIfloatTime sample during the period  
Range: &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 period / ts must be greater than 2.

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