Advanced modeling of electron and ion dynamics in ECRIS plasmas