'GEKKO: Statespace Model MPC: Output Data Loop: At the beginning of each calculation step U1 should be the previously calculated value Y

Can you give me a code example with which I can implement the feedback presented in the illustration? I would like to connect per time step the calculation result of the output value with my input parameter.

feedback



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source