 /*-----------------------------------------------------------------------------------------
 LIBRARY: ESNOPT
 COMPONENT: estim_param_deposito
 PARTITION: param
 EXPERIMENT: simu
 TEMPLATE: TRANSIENT
 CREATION DATE: 16/01/2015
-----------------------------------------------------------------------------------------*/

EXPERIMENT simu ON estim_param_deposito.param
   DECLS
   OBJECTS
   INIT
      -- initial values for state variables

   BOUNDS
      -- Set equations for boundaries: boundVar = f(TIME;...)
      coef = 0

   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= DASSL   
      -- 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 = 90
      CINT = 0.2
      INTEG()
END EXPERIMENT
