Dear all,
I am trying to use ACADO for the MPC on my thesis.
My system has a control input (solenoid valve) which can be on or off (0 or 1) for a period of time like PWM with the frequency of 1 Hz as shown in picture. The control input can be on between 100 to 500 ms.
Can anyone help me to set the control variable like that, please?
PS. I am using the ACADO code generator with MATLAB interface.
Best Regards