Detection, Simulation And Control In Models Of Epilepsy