 /*-----------------------------------------------------------------------------------------
 LIBRARY: CLASE
 COMPONENT: PDE_comp
 PARTITION: regular
 EXPERIMENT: exp4x5
 TEMPLATE: TRANSIENT
 CREATION DATE: 04/02/2016
-----------------------------------------------------------------------------------------*/

EXPERIMENT exp4x5 ON PDE_comp.regular
   DECLS
   OBJECTS
   INIT
      -- initial values for state variables
      Tcoll[1,2] = 20
      Tcoll[1,3] = 20
      Tcoll[1,4] = 20
      Tcoll[2,2] = 20
      Tcoll[2,3] = 20
      Tcoll[2,4] = 20
      Tcoll[3,2] = 20
      Tcoll[3,3] = 20
      Tcoll[3,4] = 20
      Tcoll[4,2] = 20
      Tcoll[4,3] = 20
      Tcoll[4,4] = 20

   BOUNDS
   BODY
      -- creates an ASCII file with the results in table format
      -- REPORT_TABLE("results.rpt", "*",TRUE)

      -- set the debug level (valid range [0,4])
      DEBUG_LEVEL= 1   
      -- select default integration solver
      IMETHOD= IDAS   
      -- set relative and absolute tolerance for DASSL solver (transient solver)
      REL_ERROR = 1e-006
      ABS_ERROR = 1e-006
      -- set relative tolerance for algebraics solver (steady solver)
      TOLERANCE = 1e-006
      -- when to report results 
      REPORT_MODE = IS_CINT -- by default report at every CINT time or event detection

      -- calculates a steady state
      --STEADY()

      -- calculates a transient integration
      TIME = 0
      TSTOP = 15
		CINT = 0.1
      INTEG()
END EXPERIMENT
