用于自动控制系统分析的Python库。
Project description
TControl
用于自动控制系统分析的Python库。
重要
本项目有点 不稳定,不要用在任何严肃的工作或商业工作中!
特点
- 支持传递函数和状态空间模型。
- 时间响应
- 冲动
- 单位阶跃
- 斜坡
- 任何输入
- 频率响应
- 奈奎斯特图
- 波特图
- 控制系统分析
- 可控性
- 可观测性
- 极点配置法
- Lyapunov稳定性
注意
- 针对线性时不变系统,设计了两个类:传递函数和状态空间。
- 时间响应法和频率响应法目前只支持单输入单输出系统。
依赖库
- Python 3.7+
- 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.]
授权
本项目受BSD 3条款许可。有关详细信息,请参见文件 LICENSE.
预览1
预览2
预览3
预览4
预览5
预览6
预览7
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
TControl-0.9.14.tar.gz
(26.3 kB
view details)
Built Distribution
TControl-0.9.14-py3-none-any.whl
(34.8 kB
view details)
File details
Details for the file TControl-0.9.14.tar.gz
.
File metadata
- Download URL: TControl-0.9.14.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3866b76b4370f3891567fc21a593e5dc2a4b19e4d6dc452c374e7ffd02c7046e |
|
MD5 | 229f730e58053cc6de2e720098cbefb4 |
|
BLAKE2b-256 | 4891a36c2c47fd4d8127628124c4f3185c630c3e74f09cff7eb3f044acb41176 |
File details
Details for the file TControl-0.9.14-py3-none-any.whl
.
File metadata
- Download URL: TControl-0.9.14-py3-none-any.whl
- Upload date:
- Size: 34.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2b5f861f46ccefae0abbb8e16e6f59e24c25a5693606280f317b8c344987013 |
|
MD5 | 57c7f79449298cde79050831c5b85473 |
|
BLAKE2b-256 | 6b37eeed13316385c67bc6b1019f3d9e0cb6f23bb1de00729bb7fecabe9a00e2 |