DBS - Database File

The database file contains options and model inputs. The following is an exhaustive list of the configuration parameters for NLC type and FV, MV, SV, CV type. Each section (Global and Variables) includes an indication of the variable type (Integer or Real), the default value, data flow, and description.


DBS Parameters for Configuration

The configuration parameters before the model is parsed or data is input into the model structure. These parameters are read regardless of the value of NLC.DBS_READ. When NLC.DBS_READ = 0 (OFF) only the parameters associated with variables are skipped.

  • NLC.APPINFO
  • NLC.APPINFOCHG
  • NLC.APPSTATUS
  • NLC.BNDS_CHK
  • NLC.COLDSTART
  • NLC.CSV_READ
  • NLC.CSV_WRITE
  • NLC.CTRLMODE
  • NLC.CTRL_HOR
  • NLC.CTRL_TIME
  • NLC.CTRL_UNITS
  • NLC.CV_TYPE
  • NLC.CV_WGT_SLOPE
  • NLC.CV_WGT_START
  • NLC.CYCLECOUNT
  • NLC.DBS_READ
  • NLC.DBS_WRITE
  • NLC.DIAGLEVEL
  • NLC.EV_TYPE
  • NLC.EV_WGT_SLOPE
  • NLC.HIST_HOR
  • NLC.HIST_UNITS
  • NLC.ICD_CALC
  • NLC.IMODE
  • NLC.ITERATIONS
  • NLC.MAX_ITER
  • NLC.MAX_TIME
  • NLC.MEAS_CHK
  • NLC.MV_DCOST_SLOPE
  • NLC.MV_STEP_HOR
  • NLC.MV_TYPE
  • NLC.NODES
  • NLC.OBJFCNVAL
  • NLC.OTOL
  • NLC.PRED_HOR
  • NLC.PRED_TIME
  • NLC.REQCTRLMODE
  • NLC.RTOL
  • NLC.SOLVESTATUS
  • NLC.SOLVER
  • NLC.SOLVETIME
  • NLC.SPECS
  • NLC.TIME_SHIFT
  • NLC.WEB
  • NLC.WEB_MENU
  • NLC.WEB_REFRESH

FV, MV, SV, and CV Parameters

The variable parameters are associated only with variables declared in the INFO file. They are not read when NLC.DBS_READ = 0 (OFF).

  • COST
  • CRITICAL
  • DCOST
  • DMAX
  • DMAXHI
  • DMAXLO
  • DPRED
  • FSTATUS
  • FDELAY
  • LOWER
  • LSTVAL
  • MEAS
  • MEAS_GAP
  • MODEL
  • MV_STEP_HOR
  • NEWVAL
  • NXTVAL
  • OBJPCT
  • OSTATUS
  • OSTATUSCHG
  • PRED
  • PSTATUS
  • REQONCTRL
  • SP
  • SPHI
  • SPLO
  • STATUS
  • TAU
  • TR_OPEN
  • TR_INIT UPPER
  • VDVL
  • VLHI
  • VLLO
  • WMEAS
  • WMODEL
  • WSP
  • WSPHI
  • WSPLO

Example File - test.dbs

 DB_Variables
   NLC.APPINFO =                                  0,                             1, NONE      
   NLC.APPINFOCHG =                               0,                             1, NONE      
   NLC.APPSTATUS =                                1,                             1, NONE      
   NLC.BNDS_CHK =                                 1,                             1, NONE      
   NLC.COLDSTART =                                0,                             1, NONE      
   NLC.CSV_READ =                                 0,                             1, NONE      
   NLC.CSV_WRITE =                                0,                             1, NONE      
   NLC.CTRL_HOR =                                 1,                             1, NONE      
   NLC.CTRL_TIME =                                0.6000000000000000D+02,        1, NONE      
   NLC.CTRL_UNITS =                               1,                             1, NONE      
   NLC.CTRLMODE =                                 1,                             1, NONE      
   NLC.CV_WGT_SLOPE =                             0.0000000000000000D+00,        1, NONE      
   NLC.CV_WGT_START =                             0,                             1, NONE      
   NLC.CV_TYPE =                                  1,                             1, NONE      
   NLC.CYCLECOUNT =                               70,                            1, NONE      
   NLC.DBS_READ =                                 0,                             1, NONE      
   NLC.DBS_WRITE =                                1,                             1, NONE      
   NLC.DIAGLEVEL =                                0,                             1, NONE      
   NLC.EV_WGT_SLOPE =                             0.0000000000000000D+00,        1, NONE      
   NLC.EV_TYPE =                                  2,                             1, NONE      
   NLC.HIST_HOR =                                 0,                             1, NONE      
   NLC.HIST_UNITS =                               0,                             1, NONE      
   NLC.ICD_CALC =                                 0,                             1, NONE      
   NLC.IMODE =                                    3,                             1, NONE      
   NLC.ITERATIONS =                               0,                             1, NONE      
   NLC.MAX_ITER =                                 25,                            1, NONE      
   NLC.MAX_TIME =                                 0.1000000000000000D+21,        1, NONE      
   NLC.MEAS_CHK =                                 1,                             1, NONE      
   NLC.MV_DCOST_SLOPE =                           0.1000000000000000D+00,        1, NONE      
   NLC.MV_STEP_HOR =                              1,                             1, NONE      
   NLC.MV_TYPE =                                  0,                             1, NONE      
   NLC.NODES =                                    4,                             1, NONE      
   NLC.OBJFCNVAL =                                0.0000000000000000D+00,        1, NONE      
   NLC.OTOL =                                     0.1000000000000000D-05,        1, NONE      
   NLC.PRED_HOR =                                 3,                             1, NONE      
   NLC.PRED_TIME =                                0.6000000000000000D+02,        1, NONE      
   NLC.REQCTRLMODE =                              1,                             1, NONE      
   NLC.RTOL =                                     0.1000000000000000D-05,        1, NONE      
   NLC.SOLVER =                                   3,                             1, NONE      
   NLC.SOLVESTATUS =                              1,                             1, NONE      
   NLC.SOLVETIME =                                0.5155999999999999D+00,        1, NONE      
   NLC.SPECS =                                    1,                             1, NONE      
   NLC.TIME_SHIFT =                               0,                             1, NONE      
   NLC.WEB =                                      1,                             1, NONE      
   NLC.WEB_MENU =                                 1,                             1, NONE      
   NLC.WEB_REFRESH =                              10,                            1, NONE      
   FV(1).CRITICAL =                               0,                             0, NONE      
   FV(1).FSTATUS =                                0.1000000000000000D+01,        0, NONE      
   FV(1).LSTVAL =                                 0.5000000000000000D+01,        1, NONE      
   FV(1).MEAS =                                   0.5000000000000000D+01,        1, NONE      
   FV(1).NEWVAL =                                 0.5000000000000000D+01,        1, NONE      
   FV(1).OSTATUS[1] =                             0,                             0, NONE      
   FV(1).OSTATUS[2] =                             0,                             0, NONE      
   FV(1).OSTATUSCHG[1] =                          0,                             0, NONE      
   FV(1).OSTATUSCHG[2] =                          0,                             0, NONE      
   FV(1).PSTATUS =                                1,                             0, NONE      
   FV(1).STATUS =                                 0,                             0, NONE      
   FV(1).VDVL =                                   0.1000000000000000D+21,        0, NONE      
   FV(1).VLHI =                                   0.1000000000000000D+21,        0, NONE      
   FV(1).VLLO =                                  -0.1000000000000000D+21,        0, NONE      
   MV(1).COST =                                   0.0000000000000000D+00,        0, NONE      
   MV(1).CRITICAL =                               0,                             0, NONE      
   MV(1).DCOST =                                  0.9999999747378752D-05,        0, NONE      
   MV(1).DMAX =                                   0.1000000000000000D+21,        0, NONE      
   MV(1).DMAXHI =                                 0.1000000000000000D+21,        0, NONE      
   MV(1).DMAXLO =                                -0.1000000000000000D+21,        0, NONE      
   MV(1).DPRED[1] =                               0.0000000000000000D+00,        0, NONE      
   MV(1).FSTATUS =                                0.1000000000000000D+01,        0, NONE      
   MV(1).LOWER =                                  0.1000000000000000D+01,        1, NONE      
   MV(1).LSTVAL =                                 0.2000000000000000D+01,        1, NONE      
   MV(1).MEAS =                                   0.2000000000000000D+01,        1, NONE      
   MV(1).MV_STEP_HOR =                            0,                             0, NONE      
   MV(1).NEWVAL =                                 0.2000000000000000D+01,        1, NONE      
   MV(1).NXTVAL =                                 0.2000000000000000D+01,        1, NONE      
   MV(1).OSTATUS[1] =                             0,                             0, NONE      
   MV(1).OSTATUS[2] =                             0,                             0, NONE      
   MV(1).OSTATUSCHG[1] =                          0,                             0, NONE      
   MV(1).OSTATUSCHG[2] =                          0,                             0, NONE      
   MV(1).PRED[0] =                                0.2000000000000000D+01,        1, NONE      
   MV(1).PRED[1] =                                0.2000000000000000D+01,        1, NONE      
   MV(1).PSTATUS =                                1,                             0, NONE      
   MV(1).REQONCTRL =                              0,                             0, NONE      
   MV(1).STATUS =                                 0,                             0, NONE      
   MV(1).UPPER =                                  0.3000000000000000D+01,        1, NONE      
   MV(1).VDVL =                                   0.1000000000000000D+21,        0, NONE      
   MV(1).VLHI =                                   0.1000000000000000D+21,        0, NONE      
   MV(1).VLLO =                                  -0.1000000000000000D+21,        0, NONE      
   SV(1).CRITICAL =                               0,                             0, NONE      
   SV(1).FSTATUS =                                0.1000000000000000D+01,        0, NONE      
   SV(1).FDELAY =                                 0,                             0, NONE      
   SV(1).LOWER =                                 -0.1000000000000000D+21,        1, NONE      
   SV(1).LSTVAL =                                 0.5000000000000000D+01,        1, NONE      
   SV(1).MEAS =                                   0.1000000000000000D+01,        0, NONE      
   SV(1).MEAS_GAP =                               0.1000000000000000D+01,        0, NONE      
   SV(1).MODEL =                                  0.5000000000000000D+01,        1, NONE      
   SV(1).OBJPCT =                                 0.0000000000000000D+00,        1, NONE      
   SV(1).OSTATUS[1] =                             0,                             0, NONE      
   SV(1).OSTATUS[2] =                             0,                             0, NONE      
   SV(1).OSTATUSCHG[1] =                          0,                             0, NONE      
   SV(1).OSTATUSCHG[2] =                          0,                             0, NONE      
   SV(1).PRED[0] =                                0.5000000000000000D+01,        1, NONE      
   SV(1).PRED[1] =                                0.5000000000000000D+01,        1, NONE      
   SV(1).PSTATUS =                                1,                             0, NONE      
   SV(1).UPPER =                                  0.1000000000000000D+21,        1, NONE      
   SV(1).VDVL =                                   0.1000000000000000D+21,        0, NONE      
   SV(1).VLHI =                                   0.1000000000000000D+21,        0, NONE      
   SV(1).VLLO =                                  -0.1000000000000000D+21,        0, NONE      
   SV(1).WMEAS =                                  0.2000000000000000D+02,        0, NONE      
   SV(1).WMODEL =                                 0.2000000000000000D+01,        0, NONE      
 End DB_Variables