modelling and optimization of a rotary kiln direct