Model based optimisation and control of chemical reactors with distributed parameters by