Skip to main content

A Python package for Control Systems Analysis

Project description

PySysControl

PySysControl Logo

A python package to analyse control systems down from the governing differential equation. The classes allow for the equations to be entered easily and intuitively.

Guidelines for entering a differential equation: Use double quotes, Lagrange notation uses single quotes for derivatives For multiplication use an asterisk For subtraction use +-, as in 5+-3. (There is a mathematical reason why this is more correct than 5-3, but that's beside the point) The above guidelines are also listed in the documentation.

The laplace_handler transforms the given equation from whatever domain it is defined on, which it is assumed to be the time-domain, to the complex valued s-domain.

The transfer_function class converts the given differential equations to a transfer function in the s-domain, which can be switched to the w-domain.

The functions in plotting generate plots based on the given system. The available plots are the Bode plot, the Pole Zero Map, the Step response and the Nyquist plot. Dark mode is also available for the plots.

Changelog

[1.1.3] - 2025-03-20

First correctly functioning release

[1.2.0] - 2025-03-26

Added

  • Step response
  • Nyquist diagram

Changed

  • Added a dark_mode option for the plots

[1.2.1] - 2025-03-26

Fixed

  • Corrected a typo in pyproject.toml

How to update

Run the folowing command to update:

  • pip install pysyscontrol --upgrade

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

pysyscontrol-1.2.1.tar.gz (10.1 kB view details)

Uploaded Source

File details

Details for the file pysyscontrol-1.2.1.tar.gz.

File metadata

  • Download URL: pysyscontrol-1.2.1.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pysyscontrol-1.2.1.tar.gz
Algorithm Hash digest
SHA256 7f6386c700836e5c98131c26c2e9253a432f1bb03ffe70d784d0ec1a481102a5
MD5 b7226974033038ededd2ae4879439a8e
BLAKE2b-256 40bb00531ca46ee74611d7f1145f5413b227058acce9475abc7c02d93a23bb59

See more details on using hashes here.

Supported by

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