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/18 10:48] – [Release notes (cumulative)] torbjornj | getting_started_with_capri [2021/05/24 09:59] – [Build databases and baselines] Revising instructions for building the database torbjornj | ||
---|---|---|---|
Line 34: | Line 34: | ||
Regarding Java: There are some licensing implications when using Oracle' | Regarding Java: There are some licensing implications when using Oracle' | ||
- | ===== Installation instructions for the model without database | + | ===== Installing CAPRI Stable Release 2 and earlier |
- | Using CAPRI requires extensive knowledge of how the system works. Please look out for CAPRI training courses on the page of upcoming events. The following bare-bone instructions may nevertheless be sufficient to get the system up and technically running. | + | 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 " |
- | | + | |
- | - Extract the files of the compressed archive | + | ==== 1. Ensure that you have Java and GAMS installed on your computer ==== |
- | - Go to the subfolder GUI, double-click “start_capri.bat”. That should open the graphical user interface (GUI). If not, something is wrong with your Java-installation. | + | See [[system_requirements|System requirements]]. |
+ | |||
+ | |||
+ | ==== 2. Download the two archives ==== | ||
+ | Click the links to " | ||
+ | |||
+ | ==== 3. Extract the files to a local hard drive ==== | ||
+ | |||
+ | | ||
+ | - Extract the files of the compressed archive | ||
+ | - Extract the files of the compressed archive with data, e.g. " | ||
+ | |||
+ | ==== 4. Adjust the settings to your computer ==== | ||
+ | |||
+ | - Go to the subfolder | ||
- In the menu **settings**, | - In the menu **settings**, | ||
* In the first tab: enter your name | * In the first tab: enter your name | ||
Line 48: | Line 62: | ||
* In the final tab: do nothing, or, if you have a programming text editor, enter the path to that editor in the proper field. | * In the final tab: do nothing, or, if you have a programming text editor, enter the path to that editor in the proper field. | ||
- 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. | ||
- | - Initialize the result directory structure by executing the task “Create result and restart directory structure” in the workstep “Installation” by marking those radio-buttons in the GUI and clicking “Start GAMS”. | ||
- Close the GUI, then start it again (using start_capri.bat), | - Close the GUI, then start it again (using start_capri.bat), | ||
- | ===== Build databases and baselines ===== | ||
- | The stable releases are shipped with only input data, but not with any of the consistent model databases | + | ===== Build databases and baselines ===== |
- | + | ||
- | - The simpler way is to download the zipped archive from [[https:// | + | |
- | - The advanced way is to compile the database yourself from raw data. | + | |
- | If you download | + | The stable releases are shipped with the data needed to make simulations. Advanced users may want to run the data consolidation steps themselves. It can be done using the following steps. Note that this is not needed if you downloaded and installed the pre-compiled database |
- | '' | + | |
- | '' | + | |
- | {{:: | ||
- | Those are created by tasks executable from the GUI. So, now you need to build all databases of CAPRI. This takes a long time. Depending on the hardware you use, it can take up to several days. In order to keep track of all the various settings required for completing all the steps, the release contains a “batch execution file” that instructs the GUI how to carry out a sequence of tasks without intervention of the user. Here is what you need to do: | + | Compiling |
- In the GUI, choose the menu GUI –> Batch execution | - In the GUI, choose the menu GUI –> Batch execution | ||
Line 73: | Line 79: | ||
- Click “Open HTML report” and verify that all steps were completed without errors (RC=0). | - Click “Open HTML report” and verify that all steps were completed without errors (RC=0). | ||
- | The current batch execution file (STAR 2.5) 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, |
getting_started_with_capri.txt · Last modified: 2022/11/07 10:23 by 127.0.0.1