getting_started_with_capri
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
getting_started_with_capri [2021/05/24 10:10] – [3. Extract the files to a local hard drive] Adding images showing installation directory structure torbjornj | getting_started_with_capri [2022/07/15 13:03] – [Installing CAPRI Stable Release 2 and earlier] gocht | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Getting started with CAPRI====== | ======Getting started with CAPRI====== | ||
- | |||
- | ===== Download the current release ===== | ||
- | |||
- | From 2016, the CAPRI model was made more accessible to the scientific community by the provision of supported stable releases. The stable releases are tagged and “frozen” versions of the model that can be referenced to and that will not change. The bug fixes and other code updates result in new releases with updated revision numbers. The release versions have been subjected to extensive testing, ensuring that all supported features technically work under different hardware/ | ||
- | |||
- | The stable release consists of (a) the model code including raw data and (b) the compiled data base including calibrated baselines. The model is really self contained in (a), since all software and raw data needed to compile the data bases and construct the baselines is found there. Albeit (b), the databases, can be derived from (a), doing so is a somewhat complicated process. Therefore, we provide (b) as a shortcut. Furthermore, | ||
- | |||
- | The current release and selected previous releases can be downloaded as compressed (zipped) archives using the links in the following table. Note that the item " | ||
- | |||
- | ^ Release | ||
- | | STAR 2.7 | Code | [[https:// | ||
- | | ::: | ||
- | | ::: | ||
- | | STAR 2.6 | Code | [[https:// | ||
- | | ::: | ||
- | | ::: | ||
- | | STAR 2.5 | Code | [[https:// | ||
- | | ::: | ||
- | | ::: | ||
- | | STAR 2.4 | Code | [[https:// | ||
- | | ::: | ||
- | | ::: | ||
- | | STAR 1.4 | Code | [[https:// | ||
- | | ::: | ||
- | | ::: | ||
- | |||
- | |||
- | |||
- | ===== System requirements ===== | ||
- | |||
- | CAPRI requires that you have a windows computer with Java and GAMS ([[http:// | ||
- | |||
- | Regarding Java: There are some licensing implications when using Oracle' | ||
===== Installing CAPRI Stable Release 2 and earlier ===== | ===== Installing CAPRI Stable Release 2 and earlier ===== | ||
- | STAR 2 and earlier releases are published with a full set of data, i.e. including all the intermediate data required to build the complete database and produce a calibrated baseline. The model with raw data and the consolidated model database are shipped in two compressed archives. For STAR 2.7, they are called " | + | CAPRI Stable Release (STAR) 2 and earlier releases are published with a full set of data, i.e. including all the intermediate data required to build the complete database and produce a calibrated baseline. The model with raw data and the consolidated model database are shipped in two compressed archives. For the latest release, |
- | ==== 1. Ensure that you have Java and GAMS installed on your computer ==== | + | ==== 1. Ensure that you have Java and GAMS installed on your computer |
- | See [[system_requirements|System | + | See [[getting_started_with_capri# |
+ | Note: CAPRI version star 2.8 includes a GAMS version and a java version in the package (STAR_2.8.zip). No installation of gams or java is required. | ||
==== 2. Download the two archives ==== | ==== 2. Download the two archives ==== | ||
- | Click the links to " | + | Click the links to " |
==== 3. Extract the files to a local hard drive ==== | ==== 3. Extract the files to a local hard drive ==== | ||
- | - Create an installation folder to hold **model source files** on your local hard drive such that the path does not contain spaces. Thus, it will not work to install the model in “My Documents” (path containing space) or on a network drive (the access will be too slow). We call this the "CAPRI system folder" | + | - Create an installation folder to hold **model source files** on your local hard drive such that the path does not contain spaces. Thus, it will not work to install the model in “My Documents” (path containing space) or on a network drive (the access will be too slow). We call this the "CAPRI system folder" |
- Extract the files of the compressed archive with code, e.g. '' | - Extract the files of the compressed archive with code, e.g. '' | ||
- | - Extract the files of the compressed archive with data, e.g. '' | + | - Extract the files of the compressed archive with data, e.g. '' |
The resulting directory structure in your CAPRI system folder should look like this afterwards: | The resulting directory structure in your CAPRI system folder should look like this afterwards: | ||
Line 56: | Line 24: | ||
{{: | {{: | ||
- | The directory structure inside the folder '' | + | The directory structure inside the folder '' |
{{:: | {{:: | ||
Line 72: | Line 40: | ||
- Click “Save in caprinew.ini” and accept the file name suggested for your settings. | - Click “Save in caprinew.ini” and accept the file name suggested for your settings. | ||
- Close the GUI, then start it again (using start_capri.bat), | - Close the GUI, then start it again (using start_capri.bat), | ||
+ | |||
+ | |||
+ | ===== Download the current release ===== | ||
+ | |||
+ | From 2016, the CAPRI model was made more accessible to the scientific community by the provision of supported stable releases. The stable releases are tagged and “frozen” versions of the model that can be referenced to and that will not change. The bug fixes and other code updates result in new releases with updated revision numbers. The release versions have been subjected to extensive testing, ensuring that all supported features technically work under different hardware/ | ||
+ | |||
+ | The stable release consists of (a) the model code including raw data and (b) the compiled data base including calibrated baselines. The model is really self contained in (a), since all software and raw data needed to compile the data bases and construct the baselines is found there. Albeit (b), the databases, can be derived from (a), doing so is a somewhat complicated process. Therefore, we provide (b) as a shortcut. Furthermore, | ||
+ | |||
+ | The current release and selected previous releases can be downloaded as compressed (zipped) archives using the links in the following table. Note that the item " | ||
+ | |||
+ | ** For downloading 2.8 please request a password from alexander.gocht@thuenen.de** | ||
+ | |||
+ | ^ Release | ||
+ | | STAR 2.8 | Code | [[ ]] | | ||
+ | | ::: | ||
+ | | ::: | ||
+ | | STAR 2.7 | Code | [[https:// | ||
+ | | ::: | ||
+ | | ::: | ||
+ | | STAR 2.6 | Code | [[https:// | ||
+ | | ::: | ||
+ | | ::: | ||
+ | | STAR 2.5 | Code | [[https:// | ||
+ | | ::: | ||
+ | | ::: | ||
+ | | STAR 2.4 | Code | [[https:// | ||
+ | | ::: | ||
+ | | ::: | ||
+ | | STAR 1.4 | Code | [[https:// | ||
+ | | ::: | ||
+ | | ::: | ||
+ | |||
+ | |||
+ | |||
+ | ===== System requirements ===== | ||
+ | |||
+ | CAPRI requires that you have a windows computer with Java and GAMS ([[http:// | ||
+ | |||
+ | Regarding Java: There are some licensing implications when using Oracle' | ||
+ | |||
Line 89: | Line 97: | ||
The current batch execution file (STAR 2.7) does not take over the path to your GAMS installation as entered in the settings dialogue during installation, | The current batch execution file (STAR 2.7) does not take over the path to your GAMS installation as entered in the settings dialogue during installation, | ||
+ | |||
===== Release notes (cumulative) ===== | ===== Release notes (cumulative) ===== | ||
+ | |||
+ | === STAR 2.8 === | ||
+ | |||
+ | Main update relates to the GUI folder by embedded java/gams version, some more minor issues below: | ||
+ | |||
+ | - empty folder problem with ziped files avoided by includeing void.gdx files in gams/temp and userScen in gams/temp | ||
+ | - scenario for import ban included | ||
+ | - BREXIT mode standard setting in capri_gui_definition.xml | ||
+ | - Edits to avoid non unique names in controls in capri_gui_definition.xml | ||
+ | - Inflation_and_trend_interpolation.gms adjusted that also comi prices can be simulated | ||
+ | - batch file adjusted in FAO split into two separate tasks as in the trunk to improve stability | ||
=== STAR 2.7 === | === STAR 2.7 === | ||
Line 224: | Line 244: | ||
already in various projects, but the modifications need to be consolidated and integrated into a maintenance release. Similar improvements have accumulated | already in various projects, but the modifications need to be consolidated and integrated into a maintenance release. Similar improvements have accumulated | ||
in the areas of market model tariff data and greenhouse gas emissions, also foreseen to be integrated in a future maintenance release, after thorough testing. | in the areas of market model tariff data and greenhouse gas emissions, also foreseen to be integrated in a future maintenance release, after thorough testing. | ||
- | |||
- | ===== Trunk result files for download by revision ===== | ||
- | |||
- | ^ Result folder zip ^trunk revision | ||
- | |{{: | ||
- | |{{: | ||
getting_started_with_capri.txt · Last modified: 2022/11/07 10:23 by 127.0.0.1