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.
1771
1771
@@ -1790,6 +1790,7 @@ The `simplified_sys` has undergone [`structural_simplify`](@ref) and had any occ
1790
1790
- `outputs`: A vector of variables that indicate the outputs of the linearized input-output model.
1791
1791
- `simplify`: Apply simplification in tearing.
1792
1792
- `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.
1793
+
- `initialization_solver_alg`: A NonlinearSolve algorithm to use for solving for a feasible set of state and algebraic variables that satisfies the specified operating point.
1793
1794
- `kwargs`: Are passed on to `find_solvables!`
1794
1795
1795
1796
See also [`linearize`](@ref) which provides a higher-level interface.
@@ -1800,6 +1801,7 @@ function linearization_function(sys::AbstractSystem, inputs,
1800
1801
op =Dict(),
1801
1802
p = DiffEqBase.NullParameters(),
1802
1803
zero_dummy_der =false,
1804
+
initialization_solver_alg =TrustRegion(),
1803
1805
kwargs...)
1804
1806
inputs isa AbstractVector || (inputs = [inputs])
1805
1807
outputs isa AbstractVector || (outputs = [outputs])
@@ -1906,6 +1908,7 @@ function linearization_function(sys::AbstractSystem, inputs,
0 commit comments