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
Return a function that linearizes the system `sys`. The function [`linearize`](@ref) provides a higher-level and easier to use interface.
1730
1730
@@ -1749,6 +1749,7 @@ The `simplified_sys` has undergone [`structural_simplify`](@ref) and had any occ
1749
1749
- `outputs`: A vector of variables that indicate the outputs of the linearized input-output model.
1750
1750
- `simplify`: Apply simplification in tearing.
1751
1751
- `initialize`: If true, a check is performed to ensure that the operating point is consistent (satisfies algebraic equations). If the op is not consistent, initialization is performed.
1752
+
- `initialization_solver_alg`: A NonlinearSolve algorithm to use for solving the initialization problem.
1752
1753
- `kwargs`: Are passed on to `find_solvables!`
1753
1754
1754
1755
See also [`linearize`](@ref) which provides a higher-level interface.
@@ -1759,6 +1760,7 @@ function linearization_function(sys::AbstractSystem, inputs,
1759
1760
op =Dict(),
1760
1761
p = DiffEqBase.NullParameters(),
1761
1762
zero_dummy_der =false,
1763
+
initialization_solver_alg =TrustRegion(),
1762
1764
kwargs...)
1763
1765
inputs isa AbstractVector || (inputs = [inputs])
1764
1766
outputs isa AbstractVector || (outputs = [outputs])
@@ -1863,6 +1865,7 @@ function linearization_function(sys::AbstractSystem, inputs,
0 commit comments