Skip to content

Commit 98d43f3

Browse files
committed
bench: idem
1 parent fd58f5b commit 98d43f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/2_bench_state_estim.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ model = CSTR_model
205205
plant = deepcopy(model)
206206
plant.A[diagind(plant.A)] .-= 0.1 # plant-model mismatch
207207
function test_mhe(mhe, plant)
208-
plant.x0 .= 0; y = plant()
208+
plant.x0 .= 0.1; y = plant()
209209
initstate!(mhe, plant.uop, y)
210210
N = 75; u = [20, 20]; ul = 0
211211
U, Y, Ŷ = zeros(2, N), zeros(2, N), zeros(2, N)
@@ -221,7 +221,7 @@ function test_mhe(mhe, plant)
221221
end
222222
return U, Y, Ŷ
223223
end
224-
He = 10; nint_u = [1, 1]; σQint_u = [1, 2]
224+
He = 4; nint_u = [1, 1]; σQint_u = [1, 2]
225225
v̂min, v̂max = [-1, -0.5], [+1, +0.5]
226226

227227
optim = JuMP.Model(OSQP.Optimizer, add_bridges=false)

0 commit comments

Comments
 (0)