02-18-2016 07:49 AM
Hello!,
I'm trying to build a model predictive controller (MPC) on a MyRio system. Now I'm focusing on the design of the MPC, and I have one question.
Exist any possibility to implement a restriction on some state of the model? (x>K, for example). With the LabView CD MPC, you just can restrict the control action and the output.
Regards,
Carlos
02-19-2016 10:27 AM
Carlos
This feature was not actually design in the API. So, it is not something you could obtain directly from the API.
Now, maybe a trick like making the state as output by modifying the model and try to apply constraint on that output could be possible. However, I am not sure how 'secure' this option would be since you could have coupling within the states and, most important, I am not sure if the solver would be able to have those additional constraints and be able to solve it.
Hope this helps,
02-21-2016 10:01 AM
Thanks for your repply,
Exists any example that shows the implementation of this type of constraints? Seems a good idea from the LabView team to implement this possibility because of a lot of models require state constraints.
Regards,
Carlos