Options File Database (DBS)

Options are stored in DBS files. When an option is changed with a call to apm_option, a line is added to the overrides.dbs file. When a measurement is recorded with apm_meas, a line is added to measurements.dbs. Below is an example of a DBS file with both global application options and options for individually classified parameters and variables.

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