GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — step_info undershoot must be "Undershoot: Percentage of undershoot" · Issue #565 · python-control/python-control

step_info undershoot must be "Undershoot: Percentage of undershoot" #565

New issue
Copy link
New issue
Copy link
Closed
#567
Closed
step_info undershoot must be "Undershoot: Percentage of undershoot"#565
#567
Copy link

Description

@juanodecc
juanodecc
opened on Mar 12, 2021
Issue body actions

The function doc:

python-control/control/timeresp.py

Line 774 in 92de12d

Undershoot: Percentage of undershoot

the code calculate undershoot as:

python-control/control/timeresp.py

Line 818 in 92de12d

'Undershoot': yout.min(), # not very confident about this

An example:

import numpy as np              # NumPy library
import matplotlib.pyplot as plt
import control as ctrl  # Name: control Version: 0.8.4

sys3 = ctrl.tf([-1, 1],[1,1,1])
ctrl.step_info(sys3)
time,yout=ctrl.step_response(sys3)
plt.figure()
plt.plot(time,yout)

{'RiseTime': 1.197344248356904,
'SettlingTime': 6.631445067822853,
'SettlingMin': 0.8878785981432115,
'SettlingMax': 1.2087112656708903,
'Overshoot': 23.04582827419207,
'Undershoot': -0.2791703847438639,
'Peak': 1.2087112656708903,
'PeakTime': 4.236756571109045,
'SteadyStateValue': 0.9823260833983173}

Figure_1

Activity

  1. juanodecc
    added a commit that references this issue on Mar 12, 2021

    Solve issue python-control#337, python-control#565 and python-control…

    f964170
  2. murrayrm
    linked a pull request that will close this issueStep info improve jpp #567on Mar 13, 2021
  3. bnavigator
    closed this as completedin #567on Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.