-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added: MovingHorizonEstimator support for direct=true
, initialized with P̂(-1|-1)
#96
Conversation
@baggepinnen Ok the current/filter formulation of the MHE is finished (that was hard!). As mentioned above, I assumed that the initial estimate is I added some additional tests with There are MANY modifications in the code, clearly almost impossible for you to review the whole PR. I would ask to take a look at the MHE documentation (incl. the Extended Help) here: and the MHE prediction matrices (for linear models) here: Does it seems clear enough to you ? Thanks! |
Thanks for your comments @baggepinnen! I applied most of them in the new documentation. The state estimator page is now way longer when nothing is collapsed, but that's the price to pay to be more explicit. There is also some explanations on Kalman filter and MHE tuning in the manual (both in the Linear and Nonlinear design sections) |
Also, about JuMP: Yes I did know that, but I was a bit skeptical that it would work well for problem as complex as MPC and MHE. My other concern was the model generation time: since a good part of this job is done by me instead of the computer, we can expect that it's faster to generate the optimization model this way (allowing stuff like successive linearization MPC/MHE) |
Following discussion at #95, I'm implementing the simple solution of initializing the MHE in the current/filter formulation with$P̂_{-1}(-1)$ instead of $P̂_{-1}(0)$