International audienceContext. Both theory and observations of star-forming clouds require simulations that combine the co-evolving chemistry, magneto-hydrodynamics, and radiative transfer in protostellar collapse simulation. A detailed knowledge of self-consistent chemical evolution for the main charge carriers (both gas species and dust grains) allows us to correctly estimate the rate and nature of magnetic dissipation in the collapsing core. This knowledge is critical to answer one of the most significant issues of star and planet formation: what is the magnitude and spatial distribution of magnetic flux as the initial condition to protoplanetary disk evolution?Aims. We use a chemo-dynamical version of RAMSES, which is described in a com...