-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscenario.run
61 lines (47 loc) · 1.47 KB
/
scenario.run
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
$TITLE TIMES -- VERSION 4.8.5
OPTION RESLIM=50000, PROFILE=1, SOLVEOPT=REPLACE;
OPTION ITERLIM=999999, LIMROW=0, LIMCOL=0, SOLPRINT=OFF;
OPTION THREADS=-1;
$OFFLISTING
* activate validation to force VAR_CAP/COMPRD
$SET VALIDATE 'NO'
* reduction of equation system
$SET REDUCE 'YES'
*--------------------------------------------------------------*
* BATINCLUDE calls should all be with lower case file names!!! *
*--------------------------------------------------------------*
* initialize the environment variables
$ SET DSCAUTO YES
$ SET VDA YES
$ SET DEBUG 'NO'
$ SET DUMPSOL 'NO'
$ SET SOLVE_NOW 'YES'
$ SET MODEL_NAME 'TIMES'
$ IF DECLARED REG $SET STARTRUN 'RESTART'
$ IF NOT DECLARED REG $SET STARTRUN 'SCRATCH'
$SET XTQA YES
* VAR_UC being set so that non-binding constraints appear in results
$SET VAR_UC YES
$ SET OBJ AUTO
$ SET MID_YEAR YES
$ SET OBLONG YES
$SET DAMAGE NO
$ SET STAGES NO
$SET SOLVEDA 'YES'
$SET VARCOST LIN
$ SET DSC NO
$SET DATAGDX YES
* merge declarations & data
$ ONMULTI
* the times-slices MUST come 1st to ensure ordering OK
$BATINCLUDE ts.dd
* perform fixed declarations
$SET BOTIME 1929
$BATINCLUDE initsys.mod
* declare the (system/user) empties
$ BATINCLUDE initmty.mod
$IF NOT DECLARED REG_BNDCST $Abort "You need to use TIMES v2.3.1 or higher"
$BATINCLUDE %SCENARIO%.sc
$ SET VEDAVDD 'YES'
* do the rest
$ BATINCLUDE maindrv.mod mod