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.4.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: napalm_control-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 e0c377acfc18adeb48cdef2ad5b943004776439e63342609f1700ef5ca3524e1
MD5 f40772f44cbb32b80df0434c8291604b
BLAKE2b-256 2aabbdb70f1bc423da8b5fae56144fa9288ce29c746af6befb18c1ad561d3a80

See more details on using hashes here.

File details

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

File metadata

  • Download URL: napalm_control-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4d9e48b4196b640ea58e2b50a1ddd210c48aa4e0ba12f246272fe0c8feeef138
MD5 5ea036d76f90291b16736c2e37ad4cff
BLAKE2b-256 b0d60dd3b36db2c6ed68dcff1d4a23517c3a2c04b099a9dd8bb58b4d6705db73

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