File tree Expand file tree Collapse file tree 2 files changed +4
-41
lines changed Expand file tree Collapse file tree 2 files changed +4
-41
lines changed Original file line number Diff line number Diff line change @@ -82,8 +82,10 @@ The controller minimizes the following objective function at each discrete time
8282 + \m athbf{(R̂_u - U)}' \m athbf{L}_{H_p} \m athbf{(R̂_u - U)}
8383```
8484
85- This method uses the default state estimator, a [`SteadyKalmanFilter`](@ref) with default
86- arguments.
85+ See [`LinMPC`](@ref) for the variable definitions. This controller does not support
86+ constraints but the computational costs are extremely low (array division), therefore
87+ suitable for applications that require small sample times. This method uses the default
88+ state estimator, a [`SteadyKalmanFilter`](@ref) with default arguments.
8789
8890# Arguments
8991- `model::LinModel` : model used for controller predictions and state estimations.
Original file line number Diff line number Diff line change 8686 @test_throws ArgumentError updatestate! (mpc1, [0 ,0 ])
8787end
8888
89-
90-
91-
92-
93-
94-
95-
96-
97-
98-
99-
100-
101-
10289@testset " ExplicitMPC construction" begin
10390 model = LinModel (sys, Ts, i_d= [3 ])
10491 mpc1 = ExplicitMPC (model, Hp= 15 )
163150 @test_throws ArgumentError updatestate! (mpc1, [0 ,0 ])
164151end
165152
166-
167-
168-
169-
170-
171-
172-
173-
174-
175-
176-
177-
178-
179-
180-
181-
182-
183-
184-
185-
186-
187-
188-
189-
190-
191-
192153@testset " NonLinMPC construction" begin
193154 linmodel1 = LinModel (sys,Ts,i_d= [3 ])
194155 nmpc0 = NonLinMPC (linmodel1, Hp= 15 )
You can’t perform that action at this time.
0 commit comments