File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1096,6 +1096,9 @@ See also [`linearization_function`](@ref) which provides a lower-level interface
1096
1096
1097
1097
See extended help for an example.
1098
1098
1099
+ The implementation and notation follows that of
1100
+ ["Linear Analysis Approach for Modelica Models", Allain et al. 2009](https://ep.liu.se/ecp/043/075/ecp09430097.pdf)
1101
+
1099
1102
# Extended help
1100
1103
This example builds the following feedback interconnection and linearizes it from the input of `F` to the output of `P`.
1101
1104
```
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ desired_order = [f.x, p.x]
73
73
lsys = ModelingToolkit. reorder_states (lsys, states (ssys), desired_order)
74
74
75
75
@test lsys. A == [- 2 0 ; 1 - 2 ]
76
- @test lsys. B == [1 ; 0 ;;]
76
+ @test lsys. B == reshape ( [1 ; 0 ;;], 2 , 1 ) # reshape required when testing on Julia v1.6
77
77
@test lsys. C == [0 1 ]
78
78
@test lsys. D[] == 0
79
79
You can’t perform that action at this time.
0 commit comments