Model to implement the following transfer function:
y 1 + s*t1
- = k * ---------------
u (1 + s*t2)^M
It is required that M > 0. If t1 = 0 and t2 = 0 then the block is a static gain, otherwise it is required that t1 > 0 and t2 > 0.
If M > 1, y = firstOrderCascade[M-1].y but for such an equation to be compiled, the value of M has to be known during the compilation, thus making it impossible to change M before the simulation.
A workaround has been found with a vector z of the same size as firstOrderCascade, whose components are either 0 or (for the M-1th) firstOrderCascade[M-1].y. The sum of z is therefore firstOrderCascade[M-1].y.
Generated at 2025-01-08T19:40:16Z
by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos