Closed Loop with optimisiation problem

1 visualizzazione (ultimi 30 giorni)
Bolt Peter
Bolt Peter il 10 Apr 2017
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)

Risposte (0)

Categorie

Scopri di più su Linear Plant Specification in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by