Hi everyone,
I would like to just put the fist step of input prediction (u(0)) in the cost function. However I don't know is it possible to do it in simulink?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
if I understand you correctly, you want to penalize only u(0) in the integral cost function and not u(t) for t in [0, Thor]. This is possible by adding if-statements in lfct, dldx, dldu, for example
Hi everyone,
I would like to just put the fist step of input prediction (u(0)) in the cost function. However I don't know is it possible to do it in simulink?
Dear Ali Naderi,
if I understand you correctly, you want to penalize only u(0) in the integral cost function and not u(t) for t in [0, Thor]. This is possible by adding if-statements in lfct, dldx, dldu, for example
Best regards,
Andreas Völz