Skip to content
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

add stepinfo #803

Merged
merged 3 commits into from
Feb 3, 2023
Merged

add stepinfo #803

merged 3 commits into from
Feb 3, 2023

Conversation

baggepinnen
Copy link
Member

G = tf(1, [1, 1, 1])
res = step(G, 20)
si = stepinfo(res)
plot(si)
julia> si = stepinfo(res)
StepInfo:
Initial value:     0.000
Final value:       1.000
Step size:         1.000
Peak:              1.163
Peak time:         3.652 s
Overshoot:         16.30 %
Settling time:     8.134 s
Rise time:         1.660 s

image

@codecov
Copy link

codecov bot commented Feb 3, 2023

Codecov Report

Merging #803 (a29d810) into master (cc7efd4) will decrease coverage by 41.88%.
The diff coverage is n/a.

❗ Current head a29d810 differs from pull request most recent head 41b4b8a. Consider uploading reports for the commit 41b4b8a to get more accurate results

@@             Coverage Diff             @@
##           master     #803       +/-   ##
===========================================
- Coverage   97.14%   55.27%   -41.88%     
===========================================
  Files           4        3        -1     
  Lines         315      313        -2     
===========================================
- Hits          306      173      -133     
- Misses          9      140      +131     
Impacted Files Coverage Δ
src/root_locus.jl 0.00% <0.00%> (-97.78%) ⬇️
src/simulators.jl 0.00% <0.00%> (-87.50%) ⬇️
src/timeresp.jl 80.09% <0.00%> (-17.13%) ⬇️
src/ControlSystems.jl

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@JuliaControlBot
Copy link

This is an automated message.
Plots were compared to references. 11/11 images have changed, see differences below.
After pulling this PR, please update the reference images by creating a PR to ControlExamplePlots.jl here.

Difference Reference Image New Image
❌ 0.048 Reference New
✔️ 0.011 Reference New
✔️ 0.001 Reference New
✔️ 0.001 Reference New
✔️ 0.006 Reference New
✔️ 0.001 Reference New
✔️ 0.0 Reference New
⚠️ 0.028 Reference New
❌ 0.06 Reference New
✔️ 0.0 Reference New
⚠️ 0.017 Reference New

@baggepinnen baggepinnen merged commit c277340 into master Feb 3, 2023
@baggepinnen baggepinnen deleted the stepinfo branch March 29, 2023 05:34
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.

None yet

2 participants