Study of dynamic behaviour of chemical plants by digital simulation