2.2._data_of_the_supply_module
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 2.2._data_of_the_supply_module [2024/09/20 11:33] – [Downloads] gocht | 2.2._data_of_the_supply_module [2024/09/22 12:16] (current) – [Exercise 2.2.2 Load from the data file and store all data for your region] gocht | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Data of the Supply Module ===== | ||
| - | '' | ||
| - | |||
| - | * Overview | ||
| - | * Structure of the Data cube | ||
| - | * Exercise 2.2.1 | ||
| - | * Exercise 2.2.2 | ||
| - | |||
| - | |||
| ===== Exercise 2.2.2 Load from the data file and store all data for your region ===== | ===== Exercise 2.2.2 Load from the data file and store all data for your region ===== | ||
| <code html> | <code html> | ||
| * specify a scratch dir required in sets.gms | * specify a scratch dir required in sets.gms | ||
| - | $setglobal scrdir | + | $setglobal scrdir |
| + | $setglobal curDir | ||
| + | $setglobal reg_agg " | ||
| * include set definition in CAPRI | * include set definition in CAPRI | ||
| Line 25: | Line 18: | ||
| * load the data from CAPRI database | * load the data from CAPRI database | ||
| - | execute_load "..\output\results\simini\sim_ini_21230.gdx" data; | + | execute_load "databaseofCAPRI.gdx" data; |
| Line 34: | Line 27: | ||
| * store result to inspect it | * store result to inspect it | ||
| - | execute_unload " | + | execute_unload " |
| - | ===== Lecture 2022 ===== | + | </code> |
| - | {{ youtube>XkCBFVUYaTA? | + | |
2.2._data_of_the_supply_module.1726832016.txt · Last modified: 2024/09/20 11:33 by gocht