Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/decargroup/dkpy
Robust control in Python using D-K iteration... and more!
https://github.com/decargroup/dkpy
control h-infinity mu-analysis mu-synthesis robust-control
Last synced: 16 days ago
JSON representation
Robust control in Python using D-K iteration... and more!
- Host: GitHub
- URL: https://github.com/decargroup/dkpy
- Owner: decargroup
- License: mit
- Created: 2024-09-18T14:25:53.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-29T20:59:35.000Z (23 days ago)
- Last Synced: 2024-11-29T21:30:12.817Z (23 days ago)
- Topics: control, h-infinity, mu-analysis, mu-synthesis, robust-control
- Language: Python
- Homepage: https://dkpy.readthedocs.io/en/stable/
- Size: 90.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
.. role:: class(code)
dkpy
====``dkpy`` is a `D-K iteration `_
library written in Python, aiming to build upon
`python-control `_.The package is currently a work-in-progress, and no API stability guarantees
will be made until version 1.0.0.Example
=======.. code-block:: python
import dkpy
import numpy as npdk_iter = dkpy.DkIterFixedOrder(
controller_synthesis=dkpy.HinfSynLmi(
lmi_strictness=1e-7,
solver_params=dict(
solver="MOSEK",
eps=1e-9,
),
),
structured_singular_value=dkpy.SsvLmiBisection(
bisection_atol=1e-5,
bisection_rtol=1e-5,
max_iterations=1000,
lmi_strictness=1e-7,
solver_params=dict(
solver="MOSEK",
eps=1e-9,
),
),
transfer_function_fit=dkpy.TfFitSlicot(),
n_iterations=3,
fit_order=4,
)omega = np.logspace(-3, 3, 61)
block_structure = np.array([[1, 1], [1, 1], [2, 2]])
K, N, mu, info = dk_iter.synthesize(P, n_y, n_u, omega, block_structure)Contributing
============To install the pre-commit hook, run
.. code-block:: sh
$ pip install -r requirements.txt
$ pre-commit installin the repository root.
Citation
========If you use this software in your research, please cite it as below or see
``CITATION.cff``... code-block:: bibtex
@software{dahdah_dkpy_2024,
title={{decargroup/dkpy}},
url={https://github.com/decargroup/dkpy},
author={Steven Dahdah and James Richard Forbes},
version = {{v0.1.5}},
year={2024},
}