Skip to content

alvii147/RouthHurwitz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Free Palestine

Genocide Watch

Routh-Hurwitz Table Generator

The Routh-Hurwitz Stability Criterion states that any system can be stable if and only if all the roots of the second column have the same sign. The number of sign changes in the second column of the Routh-Hurwitz table is equal to the number of roots of the characteristic equation in the closed right half of the complex plane.

Try it out

You can try out this tool without installation here.

Installation

1️⃣ Install Python 3.12+

Installation process may vary depending on OS. Refer to this article for installation instructions for your OS.

2️⃣ Install Poetry

Install Poetry package manager. Installation process may vary depending on OS.

3️⃣ Install Dependencies

Install dependencies:

poetry install

4️⃣ Run the App

Run the app using the following command:

streamlit run app.py

The app should then be running on http://localhost:8501.

Usage

Enter the coefficients of the polynomial, in ascending order of degree, separated by commas:

Polynomial

Hit Go. This should generate a Routh-Hurwitz table. The number of sign changes along the second column represents the number of unstable roots (i.e roots with strictly positive real parts):

Routh Hurwitz Table

Add alphabets as variables in the coefficients. The tool will leave answers simplified in terms of the given variables:

Routh Hurwitz Table with Variables

Comparing Alternatives

  FSXAC/RHCalc crclayton/routh-hurwitz-calc mohamedhassan279/Routh-Hurwitz-stability alvii147/RouthHurwitz
Deployed Publicly
Unlimited Polynomial Degree
Programmatical Use
Works with Variables