Modelling epilepsy at cellular scale