open_loop(sys, ap) breaks the connection of the analysis point ap of
the unsimplified model sys, as for a loop transfer function. The
signal that fed the inputs of the point becomes the new variable du
(the inputs are now driven by it), and u is the variable that drove the
point.
Value
A list with the modified system sys, the list du of new input
variables and the driving variable u.
Examples
t <- t_nounits; D <- D_nounits
x <- Variable("x", t); u <- Variable("u", t, input = TRUE)
y <- Variable("y", t, output = TRUE); e <- Variable("e", t, output = TRUE)
sys <- System(list(D(x) ~ -x + u, y ~ x, e ~ -y, connect(e, "loop", u)),
t, name = "fb")
ol <- open_loop(sys, sys$loop)
ol$du; ol$u
#> [[1]]
#> u(t)
#>
#> e(t)