You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using ControlSystems
using Plots
τ =2.0# s (time constant)
td =0.5# s (delay)
K =1
T1 = K / (1+ τ * s) *delay(td)
plot(rep, label=["output""input"], plotu=true, ploty=true)
ylims!(-0.15, 1.15)
plots
but
t =0:0.01:10
t0 =1.0
u =2.0* (t .>= t0)'
res =lsim(T1, u, t)
plot(res, label=["output""input"], plotu=true, ploty=true)
raises
No methods were found for the model function passed to the equation solver.
The function `f` needs to have dispatches, for example, for an ODEProblem
`f` must define either `f(u,p,t)` or `f(du,u,p,t)`. For more information
on how the model function `f` should be defined, consult the docstring for
the appropriate `AbstractSciMLFunction`.
...
Hello,
plots
but
raises
PS : but it works fine with pade
ControlSystems.jl/lib/ControlSystemsBase/src/delay_systems.jl
Lines 128 to 134 in 0d82540
The text was updated successfully, but these errors were encountered: