I've found scipy.signal.dstep
, scipy.signal.dlsim
functions that help simulate behavior of a transfer function, for example:
signal.dlsim(signal.cont2discrete(([1], [1, 1]), 0.1), u=[1, 1], t=[0.0, 0.1])
allows to model 1/(s+1)
function in [0, 0.1]
time interval with control signal with value 1
.
But these functions do not allow to model just one step with initial values.
Are there any other functions that allow to model one step of a transfer function or how it's better to do it?