Such a paper factory is a huge and complex system. To my understanding, paper processing is a mix of physical and chemical treatment of the wood fibers. Even when this factory has it’s roots at the beginning of the last century, the control facilities are still there an still impressive:
