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
Copy file name to clipboardExpand all lines: src/linearization.jl
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,7 @@ The `simplified_sys` has undergone [`mtkcompile`](@ref) and had any occurring in
92
92
- `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.
93
93
- `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.
94
94
- `autodiff`: An `ADType` supported by DifferentiationInterface.jl to use for calculating the necessary jacobians. Defaults to using `AutoForwardDiff()`
95
+
- `ignore_system_initial_conditions`: Whether to ignore `initial_conditions(sys)` and only use `op`.
95
96
- `kwargs`: Are passed on to `find_solvables!`
96
97
97
98
See also [`linearize`](@ref) which provides a higher-level interface.
@@ -113,6 +114,7 @@ function linearization_function(
113
114
guesses =Dict(),
114
115
warn_empty_op =true,
115
116
t =0.0,
117
+
ignore_system_initial_conditions =false,
116
118
kwargs...
117
119
)
118
120
op =Dict(op)
@@ -128,6 +130,11 @@ function linearization_function(
0 commit comments