    

 ## On this page

  

 

 # Triangular

 Last update: 09.03.2026 

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

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

- period: 1
- ts (timesample): 0.1
- amplitude: 2
- offset: -1

![](/sites/default/files/git_ansys/scade_one_standard_libraries_2026_r1_1/t__triangular_00.svg)

## 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](./sources_t.md)