MATLAB: System identification tool and Simulink

simulinksystem identificationSystem Identification Toolbox

Hi guys,
i have create some estimation models in the SI Tool. They have a fitness of 94%. Also the fitness ot my validation data is not bad. Like 82%. This is the result of a Hammerstein-Wiener-Model.
No i want this result simulate in Simulink. I use the block for Hammerstein-Wiener-Models, the inputs, and a scope for the output.
Why i get a differ of the simulationresult and SI-Tool result??
Has anyone an idea why the result are not same??
Marcus

Best Answer

Most likely this happens due to initial conditions. In the GUI and in the COMPARE function, the fit is computed by estimating the initial conditions (by default) that maximize the fit to the data. In Simulink, you have to enter the appropriate initial conditions yourself based on your knowledge of the state of the system at the start of the simulation. By default, initial conditions are set to zero in the Simulink block.
See the doc for idnlhw, specifically the section "idnlhw States" for information on how to set initial conditions.
HTH.
Arkadiy