Skip to content

Commit fe9c688

Browse files
committed
more inits
1 parent 77350d3 commit fe9c688

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/src/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ model = SystemModel() |> complete
178178
### Numeric linearization
179179
We can linearize this model numerically using `named_ss`, this produces a `NamedStateSpace{Continuous, Float64}`
180180
```@example LINEAIZE_SYMBOLIC
181-
lsys = named_ss(model, [model.torque.tau.u], [model.inertia1.phi, model.inertia2.phi], op = Dict(model.torque.tau.u => 0))
181+
op = Dict(model.inertia1.flange_b.phi => 0.0, model.torque.tau.u => 0)
182+
lsys = named_ss(model, [model.torque.tau.u], [model.inertia1.phi, model.inertia2.phi]; op)
182183
```
183184
### Symbolic linearization
184185
If we instead call `linearize_symbolic` and pass the jacobians into `ss`, we get a `StateSpace{Continuous, Num}`

0 commit comments

Comments
 (0)