### SINT – Simple integrator

Block SymbolLicensing group: STANDARD

Function Description
The SINT block implements a discrete integrator described by the following difference equation

${y}_{k}={y}_{k-1}+\frac{{T}_{S}}{2{T}_{i}}\left({u}_{k}+{u}_{k-1}\right),$

where ${T}_{S}$ is the block execution period and ${T}_{i}$ is the integral time constant. If ${y}_{k}$ falls out of the saturation limits ymin and ymax, the output and state of the block are appropriately modified.

For more complex tasks, consider using the INTE block, which provides extended functionality.

Input

 ti Integral time constant ${T}_{i}$  $\odot$1.0 Double (F64) y0 Initial output value Double (F64) ymax Upper limit of the output signal  $\odot$1.0 Double (F64) ymin Lower limit of the output signal  $\odot$-1.0 Double (F64)