-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0_CMW_v2-0_Master.gms
84 lines (48 loc) · 2.85 KB
/
0_CMW_v2-0_Master.gms
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
$title COALMOD-World version 2.0 (April 2022)
$eolcom #
$onempty
********************************************************************************
*************** How to use *****************************************************
********************************************************************************
*All scenario specifications should be made in the scenario file, only!
*Also including the specifications for Tax Scenarios
********************************************************************************
*************** Setting to be set before model run *****************************
********************************************************************************
*include the name of the set file specifying the geographical coverage and the time horizon
$setglobal set_specs 1_CMW_v2-0_Sets
*include the name of the data input file excluding .xlsx
$setglobal input_data Input_data_v2-0_BY2015_high_demand
*Specify the purpose of the run. Choose between calibration, normal_use
$setglobal purpose normal_use
*calibration
********************************************************************************
*************** No modifications below this point!!!****************************
*************** Please go to Scenario file 4_CMW_v2-0_Scenario.gms *************
********************************************************************************
********************************************************************************
*************** Basic Model ****************************************************
********************************************************************************
*** Include Sets *** choose the basic coverage in terms of regional and time coverage
$Include %set_specs%
*** Include basic Parameters - Load from Excel input file ***
$batinclude 2_CMW_v2-0_Parameters_Data.gms %input_data%
*** Include basic Variables ***
$Include 3_CMW_v2-0_Variables.gms
*** Include Scenario ***
$Include Calibration/4_CMW_v2-0_Scenario_calibration.gms
*** Include basic Equations ***
$Include 5_CMW_v2-0_Equations.gms
*** execute basic Model ***
$batinclude Calibration/6_CMW_v2-0_MCP_calibration.gms %purpose%
$iftheni.purpose %purpose% == normal_use
********************************************************************************
************** Scenario runs ***************************************************
********************************************************************************
$Include 4_CMW_v2-0_Scenario.gms
*** Include basic Equations ***
********************************************************************************
*************** Generate Output ************************************************
********************************************************************************
$include 7-2_CMW_v2-0_Generate_Excel_Output.gms
$endif.purpose