A Python lib for automatic control system analysis.
IMPORTANT
This project is quite UNSTABLE, Do Not Use in Any Serious Work!
- Support transfer function and state space models.
- Time response
- impulse
- step
- ramp
- any input
- Frequency response
- nyquist
- bode
- Control system analysis
- controllability
- observability
- pole placement
- Lyapunov stability
NOTICE
- Two classes, TransferFunction and StateSpace, are designed for linear time-invariant system.
- Two response methods, time response and frequency response are only support the SISO system now.
- Python 3.6+
- Numpy
- Scipy
- Sympy
- Matplotlib
- nose2 (optional for test)
- Sphinx (optional for building docs)
- sphinx-rtd-theme (optional sphinx theme)
python -m setup.py install
>>> import tcontrol as tc
>>> system = tc.tf([1], [1, 1])
>>> print(system)
1
-----
s + 1
>>> tc.tf2ss(system)
A: B:
[-1.] [1.]
C: D:
[ 1.] [0.]
This project is under the BSD-3-Clause License. For more information, see the file LICENSE.
Your contributions are welcome anytime.