    

 ## On this page

  

 

 # Triangular

 Last update: 17.07.2025 

The flow varies linearly from 0 to 1 and then back to 0 for every number of cycles.

The figure shows the output flow for a triangular waveform with the following input:

- cycles: 10
- amplitude: 2
- offset: -1

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

## Interface

NameKindTypeCommentcyclesIunsignedNumber of cycles for a period  
Range: &gt; 1amplitudeIfloatGain to be applied to the output flow (default 1)offsetIfloatOffset to be added to the output flow (default 0)flowOfloatOutput flow**Parent topic:**[Sources::N](../../libraries/sources/sources_n.md)