You are getting the error "too many differential state derivatives" NOT because you have too many differential states defined.. but because your set of differential equations is ill-defined, you namely seem to have more unknowns (differential state derivatives and algebraic variables) than equations so you should probably check the amount of states + algebraic variables versus the amount of equations once more.
Best,
Rien
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Many thanks for ACADO.
As I am receiving the error below, I would like to know the maximum number of differential states.
Thank you,
Stuart
Hi there,
You are getting the error "too many differential state derivatives" NOT because you have too many differential states defined.. but because your set of differential equations is ill-defined, you namely seem to have more unknowns (differential state derivatives and algebraic variables) than equations so you should probably check the amount of states + algebraic variables versus the amount of equations once more.
Best,
Rien
Rien,
This helped me sort out the issue.
Many thanks!
Stuart