Skip to content

update documentation for input_output_response to address gh1152 #1157

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

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions control/nlsys.py
Original file line number Diff line number Diff line change
Expand Up @@ -1572,12 +1572,13 @@ def input_output_response(

If discontinuous inputs are given, the underlying SciPy numerical
integration algorithms can sometimes produce erroneous results due to
the default tolerances that are used. The `ivp_method` and
`ivp_keywords` parameters can be used to tune the ODE solver and
produce better results. In particular, using 'LSODA' as the
`ivp_method` or setting the `rtol` parameter to a smaller value
(e.g. using ``ivp_kwargs={'rtol': 1e-4}``) can provide more accurate
results.
the default tolerances that are used. The `solve_ivp_method` and
`solve_ivp_keywords` parameters can be used to tune the ODE solver and
produce better results. In particular, using 'LSODA' as the
`solve_ivp_method`, setting the `rtol` parameter to a smaller value
(e.g. using ``solve_ivp_kwargs={'rtol': 1e-4}``), or setting the
maximum step size to a smaller value (e.g. ``solve_ivp_kwargs=
{'max_step': 0.01}``) can provide more accurate results.

"""
#
Expand Down
Loading