Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
12 changes: 2 additions & 10 deletions src/descriptor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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

##

Expand Down
2 changes: 1 addition & 1 deletion src/named_systems2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading