Skip to content

Rework at step_info #293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

joaoantoniocardoso
Copy link
Contributor

Hi,

I did some rework trying to fix some issues that it found using control.step_info(), specially when I tried to compare with MATLAB for some system with inverted output like sys = control.TransferFunction([0.0002, -0.0002], [1, 0.01, 0.0002]).

Another thread that I found was that the output resolution for control.step_response() for discrete systems, so I increased it using the idea of MATLAB, that produces the output with all samples for a particular discrete system from 0 to steady state. Also, I noticed that MATLAB thinks differently about how to define the size of the arrays for step... but i didn't mess with it this time, it is working fine.

Besides that, I have no clue about what undershoot should be like.

@joaoantoniocardoso
Copy link
Contributor Author

Oops, I did break the tests for step, really missed somewhere. I'll look it soon and pull again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants