diff --git a/Project.toml b/Project.toml index 4f5f03bf..80699a5a 100644 --- a/Project.toml +++ b/Project.toml @@ -25,7 +25,7 @@ UnPack = "3a884ed6-31ef-47d7-9d2a-63182c4928ed" [compat] ChainRulesCore = "1" ComponentArrays = "0.9, 0.10, 0.11, 0.12, 0.13, 0.14, 0.15" -ControlSystemsBase = "1.7" +ControlSystemsBase = "1.12" DescriptorSystems = "1.2" Distributions = "0.25" GenericSchur = "0.5.2" diff --git a/src/descriptor.jl b/src/descriptor.jl index 7721ba77..28346fb7 100644 --- a/src/descriptor.jl +++ b/src/descriptor.jl @@ -100,7 +100,8 @@ Coprime-factor reduction performs a coprime factorization of the model into \$P( # Arguments: - `factorization`: The function to perform the coprime factorization. A non-normalized factorization may be used by passing `RobustAndOptimalControl.DescriptorSystems.glcf`. -- `kwargs`: Are passed to `DescriptorSystems.gbalmr` +- `kwargs`: Are passed to `DescriptorSystems.gbalmr`, the docstring of which is reproduced below: +$(@doc(DescriptorSystems.gbalmr)) """ function baltrunc_coprime(sys, info=nothing; residual=false, n=missing, factorization::F = DescriptorSystems.gnlcf, kwargs...) where F if info !== nothing && hasproperty(info, :NM) @@ -150,15 +151,6 @@ function baltrunc_unstab(sys::LTISystem, info=nothing; residual=false, n=missing ss(sysr + unstab), hs, (; stab, unstab) end -""" - stab, unstab = stab_unstab(sys; kwargs...) - -Decompose `sys` into `sys = stab + unstab` where `stab` contains all stable poles and `unstab` contains unstable poles. See $(@doc(DescriptorSystems.gsdec)) for keyword arguments (argument `job` is set to `"stable"` in this function). -""" -function stab_unstab(sys; kwargs...) - stab, unstab = DescriptorSystems.gsdec(dss(sys); job="stable", kwargs...) - ss(stab), ss(unstab) -end ## diff --git a/src/named_systems2.jl b/src/named_systems2.jl index 47d97ea9..38e3b798 100644 --- a/src/named_systems2.jl +++ b/src/named_systems2.jl @@ -365,7 +365,7 @@ end Return a system with specified state variables as measurement outputs. -See also [`add_output`](@ref). +See also [`ControlSystemsBase.add_output`](@ref). """ function measure(s::NamedStateSpace, names) inds = names2indices(names, s.x)