Real-Time implementation of a direct model predictive control algorithm on an industrial control platform