Closed Loop with optimisiation problem

1 次查看(过去 30 天)
I would like to do a closed loop simulation with a FMU block and solving a optimisation problem.
1. Solve a optimisations problem, call cplex solver from a Matlab M-file 2. Hold the signal constant for T=…min (solution optimisation), and give it as a input for the FMU block 3. Take the output from FMU block and solve the next Optimisation problem
My question is, is a Matlab function the right way to do that? Of course, the system on the attacked picture does not work, because the optimisations problem is called every solver time step…
Does anyone know how to fix that easily, or must I do it completely different ?
(Called MPC, but I can’ t use the MPC block in matlab)

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear Plant Specification 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by