Issue with Non-Zero starting conditions when using control.forced_response - Not working as expected? #843
-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
The code you posted should have given you a
python-control/control/timeresp.py Lines 940 to 944 in 55730b6 `force_response() takes the initial condition as initial state of the system. This is not necessarily equivalent to initial output of the transfer function. python-control/control/timeresp.py Line 1007 in 55730b6 python-control/control/timeresp.py Lines 1029 to 1051 in 55730b6 |
Beta Was this translation helpful? Give feedback.
-
How do you correctly set the Initial conditions when using a delay (Padé approximation)?
This is the result (I think it just requires the correct Initial Padé condition): |
Beta Was this translation helpful? Give feedback.
-
The Padé approximation works perfectly when the initial state is zero: |
Beta Was this translation helpful? Give feedback.
-
The simplest way is to treat the linear model as changes from the initial steady-state, and so subtract off You could solve for steady x0 given u0 (
|
Beta Was this translation helpful? Give feedback.
The code you posted should have given you a
UserWarning
:python-control/control/timeresp.py
Lines 940 to 944 in 55730b6
`force_response() takes the initial condition as initial state of the system. This is not necessarily equivalent to initial output of the transfer function.
p…