Mathematical modelling of ion regulations in fungi