Model based controller design approach for the TCV tokamak