DYNAMIC SIMULATION OF CHEMICAL PLANTS