/* patch.hoc
   v. 1.2 10/19/2001 NTC
 */

// make graphical interface tools available to this program
load_file("nrngui.hoc")

// specify the properties of the model cell
create soma //, dend[1]   // model topology
access soma   // default section = soma

soma {
  // diam = 100   // soma dimensions in um
  // L = 100/PI   //   surface area = 10000 um^2
	nseg = 1
	//diam = 28
	//L = 28
	diam= 45
	L= 130/PI
	cm = 1
   insert ileak
   insert ipotassium
	 insert ipotassiumM
	 //g_ipotassium = 2.0 // Low
	 g_ipotassium =  [GKE]
   insert isodium
	 insert isodiumP
  insert kbalance
   insert ikpump
   insert ikCa
   insert ikleak
	insert iext
	iext_iext =[IEXT]
//	insert hh

	//ikpumpmax_ikpump = 10
	ikpumpmax_ikpump = [IKPUMPMAX] // default 20

//	slope_kbalance = [SLOPE] // default -0.05
//	koth_kbalance = [KOTH] // default 15.0
//	B_max_kbalance = 500.0
//	B_init_kbalance = [BINIT]  // default 400
//	ko_init_kbalance = [KOINIT] // default 2
	h_init_isodium = 0.05
	n_init_ipotassium = 0.1
  g_ikCa = 9.0
	gCa_ikCa = 0.1
	g_ipotassiumM = 0.02 //gKm
	g_isodiumP = 0.2 //gNaP
}
//celsius = 36.4

//dend[0]{
//	nseg =3
//	diam = 1
//	L = 500
//	cm = 1
//}


// Connect things together
//connect dend[0](0), soma(0)

tstop=3000