/damping

A simple dynamic system simulator.

Primary LanguageCGNU General Public License v2.0GPL-2.0

damping tool

damping is a simple feedback systems simulator.

It allows you to watch what happens to a feedback system when you play with its input (u parameter).

It works with second-order systems described by this equation:

where

Screenshots

Screenshot

Configuration

Using config.ini you can change these parameters:

  • A, real matrix (2x2)
  • B, real matrix (2x1)
  • C, real matrix (1x2)
  • d, real number
  • x0, real matrix (1x2), initial state of the system.
  • u, real number, input 1
  • i, real number, input 2

Key shortcuts

While the simulator is running, it listens for these keystrokes:

  • r: reload config.ini
  • u: set u <- input 1
  • i: set u <- input 2