SLiCAPstatespace.py

This is to be used to find the frequency constant matrix (which is the inverse of the time constant matrix)

getStateSpace(instr)

Returns the the state space representation of the circuit defined in the instruction:

Parameters:

instr (SLiCAP instruction) – Instruction for the circuit

Returns:

res: [A,B,C,D, src, Dv] where A and C are sympy matrices and B and D are lists of sympy matrices

Return type:

list

Example: