Skip to content

Commit 7b06774

Browse files
authored
update documentation for input_output_response to address gh1152 (#1157)
resolves #1152 by updating the documentation to include information about setting max_step.
1 parent 34c6d59 commit 7b06774

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

control/nlsys.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1572,12 +1572,13 @@ def input_output_response(
15721572
15731573
If discontinuous inputs are given, the underlying SciPy numerical
15741574
integration algorithms can sometimes produce erroneous results due to
1575-
the default tolerances that are used. The `ivp_method` and
1576-
`ivp_keywords` parameters can be used to tune the ODE solver and
1577-
produce better results. In particular, using 'LSODA' as the
1578-
`ivp_method` or setting the `rtol` parameter to a smaller value
1579-
(e.g. using ``ivp_kwargs={'rtol': 1e-4}``) can provide more accurate
1580-
results.
1575+
the default tolerances that are used. The `solve_ivp_method` and
1576+
`solve_ivp_keywords` parameters can be used to tune the ODE solver and
1577+
produce better results. In particular, using 'LSODA' as the
1578+
`solve_ivp_method`, setting the `rtol` parameter to a smaller value
1579+
(e.g. using ``solve_ivp_kwargs={'rtol': 1e-4}``), or setting the
1580+
maximum step size to a smaller value (e.g. ``solve_ivp_kwargs=
1581+
{'max_step': 0.01}``) can provide more accurate results.
15811582
15821583
"""
15831584
#

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy