Abstract
As a prove of concept for experimental geochemistry, an advanced 3D numerical framework, here and after called Digital Twin (DT), of a diffusion experiment conducted at a synchrotron beamline, has been implemented using in-situ measurements data, physics-based modelling, a machine learning (ML) model, and parameter optimization module. The physics-based model enables finely discretized high-resolution 3D mass transport simulations, which provide the training set for the ML model. The resulting ML model greatly accelerates the computationally intensive calculations needed for the interpretation of the experimental observations during inverse modelling. The framework is applied to interpret the in-situ non-destructive micro-X-ray fluorescence (u-XRF) imaging data from a bromide diffusion experiment through a silica-gel-filled capillary system. The computational framework is refined, and several optimization algorithms are implemented to fit the experimental data. The gain in computational efficiency allows modelling the experiment practically in real-time.



![Author ORCID: We display the ORCID iD icon alongside authors names on our website to acknowledge that the ORCiD has been authenticated when entered by the user. To view the users ORCiD record click the icon. [opens in a new tab]](https://www.cambridge.org/engage/assets/public/coe/logo/orcid.png)