 By some means the parameters of the online model should match the real plant for the model to be a useful analog.System identification and estimation theory describe techniques to estimate values of unknown parameters.Using observers such as the Kalman filter or the moving-horizon estimator, it is possible to do state estimation, updating the state of the model to ensure that measured and modeled outputs remain as close as possible over time.