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 — Simulation Function Names Poorly Chosen... · Issue #893 · python-control/python-control

Simulation Function Names Poorly Chosen... #893

New issue
Copy link
New issue
Copy link
Closed
#905
Closed
Simulation Function Names Poorly Chosen...#893
#905
Copy link
Assignees
murrayrm
Labels
documentation

Description

@frohro
frohro
opened on May 22, 2023
Issue body actions

Hi,

Generally, the forced response is also known as the zero state response and is the response due to the forcing function (the input) alone (zero initial conditions). The control.forced_response() is a linear simulation for a linear system, and it can give the response due to the input and the initial condition all at once, not just the forced response. You just put in the input and initial condition. It is similar to lsim in Matlab.

This is made more confusing because you have a control.initial_response(), where the input parameter is actually there, but the docs say it is ignored! This is also known as the zero input response, or natural response.

The control.input_output_response() is a nonlinear simulation of the system, and could use a name that says that. In this location in the docs, it has no mention of it being a nonlinear simulation.

There are probably other similar issues. These are just the ones that caused me grief in the last couple of weeks.

This may be a hard thing to change, given the president already set, but you could depreciate the present function names, and make the option of using some more descriptive ones. Eventually, everyone will use the more descriptive function calls and you can remove the poorly named ones.

Thanks for this helpful package!

Rob

Activity

  1. murrayrm
    self-assigned this
    on May 22, 2023
  2. murrayrm
    added
    documentation
    on May 22, 2023
  3. murrayrm
    linked a pull request that will close this issueadd/cleanup documentation on simulation functions #905on Jun 5, 2023
  4. murrayrm
    closed this as completedin #905on Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @murrayrm
    murrayrm

Labels

documentation

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.