A framework for manufacturing system reconfiguration and optimisation utilising digital twins and modular artificial intelligence. (August 2023)