functionconversionFromZerosAndPoles

Transform a TransferFunction into a StateSpace description

Extends from Modelica.Icons.Function (Icon for functions).

Information

This example demonstrates the conversion of a zeros-and-poles system into a state space system. Running this function the following output will be printed containing the input zeroes and poles description zp and the resulting output state space description ss.

zp = 4*(p - 2) /  ( (p - 1)*(p^2 - 4*p + 13) )
ss = 
  ss.A = 
             x1     x2     x3 
       x1    0      1      0                      
       x2   -13     4      0                      
       x3   -1      0.5    1                      
   
  ss.B = 
             u1 
       x1    0                      
       x2    13                     
       x3    0                      
   
  ss.C = 
             x1     x2     x3 
       y1    0      0      0.615384615385         
   
  ss.D = 
             u1 
       y1    0                      

Outputs

TypeNameDefaultDescription
BooleanokStandard output