Modelling and control of metallurgical reactors door