Online optimisation of fuel consumption subject to NOx constraints. Issue 1 (July 2017)