Global Paths and Strings
The global strings listed in the table below represent scenario names that are set by user-specified arguments in calls to model execution batch files.
The global strings listed in the table below is/are assigned values in Core\Core.jl.
|
Global Strings |
Description |
|
DB |
DB = abspath(joinpath(E2020Folder, "database.hdf5")) |
|
ModelPath |
ModelPath = dirname(@__DIR__) |
|
E2020Folder |
E2020Folder = abspath(joinpath(ModelPath, "2020Model")) |
|
DataFolder |
DataFolder = abspath(joinpath(ModelPath, "2020Model")) |
|
DatabaseName |
DatabaseName = joinpath(DataFolder, "database.hdf5") |
|
OutputFolder |
OutputFolder = abspath(joinpath(ModelPath,"2020Model", "out")) |
The following global string variables are saved when the StartScenario function is called. The following arguments are passed to StartScenario: StartName, SceName, BCName, RefName, OGRefName, InitialName, Run1Name. The run names are saved along with the paths.
The StartScenario function is defined in \Core\CoreE2020.jl and the following global string variables are saved here.
|
Global Strings |
Description |
|
BCName |
The name of the base case is passed as an argument to function StartScenario. |
|
BCNameDB |
BaseFolder = joinpath(ModelPath, "2020Model", BCName) BCNameDB = joinpath(BaseFolder, "database.hdf5") |
|
InitialName |
The name of the initial case is passed as an argument to function StartScenario. The Initial case database is used in producing the "zInitial" column of the Access-format output files. |
|
InitialNameDB |
InitialFolder = joinpath(ModelPath, "2020Model", InitialName) InitialNameDB = joinpath(InitialFolder, "database.hdf5") |
|
OGRefName |
The name of the OGRef case is passed as an argument to function StartScenario. The OGRef case is executed before the reference case and is a scenario in which the oil and gas forecast is exogenous. We run the OGRef case to extract oil and gas industry assumptions about return on investments that carry over to the Reference case. |
|
OGRefNameDB |
OGRefFolder = joinpath(ModelPath, "2020Model", OGRefName) OGRefNameDB = joinpath(OGRefFolder, "database.hdf5") |
|
RefName |
The RefName variable holds the name of the reference case. |
|
RefNameDB |
RefFolder = joinpath(ModelPath, "2020Model", RefName) RefNameDB = joinpath(RefFolder, "database.hdf5") |
|
Run1Name |
The Run1Name is used in integrated runs with the macroeconomic model. When iterating with the macro model, we hold inflation constant for all iterations, using the value from the first iteration. |
|
Run1NameDB |
Run1Folder = joinpath(ModelPath, "2020Model", Run1Name) Run1NameDB = joinpath(Run1Folder, "database.hdf5") |
|
SceName |
The SceName variable holds the name of the current scenario being executed. |
|
ScenarioDatabase |
ScenarioFolder = joinpath(ModelPath, "2020Model", SceName) ScenarioDatabase = joinpath(ScenarioFolder, "database.hdf5") |