Skip to main content

Nonlinear Algebraic Approximation in Control systems

Project description

Nonlinear Algebraic Approximation of Control Systems

A Python implementation of an algorithm for construction homogeneous approximations of nonlinear control systems. For description of the algoritm refer to ...

Installation

You can install the package using pip

pip install napalm-control

How to use

The main part of the package is implemented in a single class called ControlSystem. This class describes a control system and its methods implement the algorithm of approximation of given system.

from napalm_control.approximation_tools import ControlSystem

Given a system equation you can initialize it the following way

system = ControlSystem(a, b)

where a and b are corresponding vectors.

Note: the vectors must be composed out of sympy symbols or numbers. For example, consider a system:

equation

Then the implementation using the package would be as follows:

import sympy as sym
from napalm_control.approximation_tools import ControlSystem

x1, t = sym.symbols('x_1 t')
a = sym.Matrix([0, -sym.Rational(1, 2)*x1**2 - 4*t*x1 - 3*t**2*x1, -x1**2 - 2*t*x1 - 3*t**2*x1])
b = sym.Matrix([-1, 0, 0])
system = ControlSystem(a, b)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napalm_control-0.0.5.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

napalm_control-0.0.5-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file napalm_control-0.0.5.tar.gz.

File metadata

  • Download URL: napalm_control-0.0.5.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.6

File hashes

Hashes for napalm_control-0.0.5.tar.gz
Algorithm Hash digest
SHA256 229f5fa054eb3dbb1a75d0b4a203fbbf8a1338cddc601cf0d90f1dc79512d726
MD5 804740a7e64f9c0736a2fa5e8f7560a7
BLAKE2b-256 3db0a75fb676609515fd7a1ee76b4ce73dcb39282bd90a8b6b06b118936f9c0c

See more details on using hashes here.

File details

Details for the file napalm_control-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: napalm_control-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.6

File hashes

Hashes for napalm_control-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6fbdda4269034b0f25c0f2adb562e40acb717e20d5718a1463d67e8061ff80ca
MD5 0c9367fd5d54d706e51557e10fff0b56
BLAKE2b-256 ac55cb3fd034c951cdaad4f4beb376fc251ec9e042abdb6c0032dd43c3cca15a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page