/******************************************************/
/* A simple model of a single AZ at the calyx of Held */
/*                                                    */
/* Output of simulation results                       */
/*                                                    */
/* Matthias Hennig                                    */
/* mhennig@inf.ed.ac.uk                               */
/******************************************************/
/* source: https://senselab.med.yale.edu/ModelDB/showmodel.cshtml?model=85981 */
/* Modified by D.Kufel on 08/08/2016 */

REACTION_DATA_OUTPUT {

  /* step width of output */
  STEP = 1.0*dt

  /* count desensitisied receptors */
  { COUNT[AMPAR.D1,WORLD,FOR_EACH_TIME_STEP] } => "AMPAR_D1_simid.dat"
  { COUNT[AMPAR.D2,WORLD,FOR_EACH_TIME_STEP] } => "AMPAR_D2_simid.dat"
  { COUNT[AMPAR.D3,WORLD,FOR_EACH_TIME_STEP] } => "AMPAR_D3_simid.dat"
  { COUNT[AMPAR.D4,WORLD,FOR_EACH_TIME_STEP] } => "AMPAR_D4_simid.dat"

  /* count closed, unbound */
  { COUNT[AMPAR.C0,WORLD,FOR_EACH_TIME_STEP] } => "AMPAR_C0_simid.dat"
  { COUNT[AMPAR.C1,WORLD,FOR_EACH_TIME_STEP] } => "AMPAR_C1_simid.dat"
  { COUNT[AMPAR.C2,WORLD,FOR_EACH_TIME_STEP] } => "AMPAR_C2_simid.dat"
  { COUNT[AMPAR.C3,WORLD,FOR_EACH_TIME_STEP] } => "AMPAR_C3_simid.dat"
  { COUNT[AMPAR.C4,WORLD,FOR_EACH_TIME_STEP] } => "AMPAR_C4_simid.dat"

  /* count open receptors */
  { COUNT[AMPAR.O1,WORLD,FOR_EACH_TIME_STEP] } => "AMPAR_O1_simid.dat"
  { COUNT[AMPAR.O2,WORLD,FOR_EACH_TIME_STEP] } => "AMPAR_O2_simid.dat"
  { COUNT[AMPAR.O3,WORLD,FOR_EACH_TIME_STEP] } => "AMPAR_O3_simid.dat"
  { COUNT[AMPAR.O4,WORLD,FOR_EACH_TIME_STEP] } => "AMPAR_O4_simid.dat"

  /* count glutamate receptors above central PSD */
  { COUNT[Glu,coh.psd,FOR_EACH_TIME_STEP] } => "Glu_PSD_simid.dat"
  /* count glutamate receptors above a peripheral PSD */
  { COUNT[Glu,coh.psd2,FOR_EACH_TIME_STEP] } => "Glu_PSD2_simid.dat"

}