Skip to content

MIRO app for the IEA-ETSAP TIMES model

License

Notifications You must be signed in to change notification settings

MaREI-EPMG/TIMES_MIRO

 
 

Repository files navigation

Table of Contents

TIMES MIRO App

This is a GAMS MIRO app for the IEA-ETSAP TIMES model.

To obtain the app, including the TIMES source from the TIMES_model repository plus the TIMES_Demo and the the TIMES-DK_COMETS data sets, run the following command:

git clone --recurse-submodules https://github.com/GAMS-dev/TIMES_MIRO.git

The app allows the user to load different data sets, to set TIMES options, to manipulate input data, to analyze output data, and to compare scenarios. Furthermore, the user can decide whether to run the TIMES MIRO app locally (local GAMS and GAMS MIRO installation required) or to access the online App that submits jobs to the TIMES Cloud Service (credentials can be requested by sending an email to [email protected]).

Prerequisites

In order to use the online TIMES MIRO app that submits jobs to the TIMES Cloud Service you need

In order to use the TIMES MIRO app locally you need

Note: Starting the app locally for the first time may take some time because the predefined scenario data sets have to be imported to the MIRO database.

Usage of the App

Usage of the app is explained in detail in the app_README.

Code Structure

The basic principle of the TIMES MIRO app is that it works as a wrapper around the existing TIMES source code and the well established data handling concept that feeds the model with data via so-called *.dd files.

The code sections referred to in the following overview are highlighted via corresponding comments in the wrapper file times_miro.gms. Also note that there is difference between running the file through the app (this is what happens in the background when the user hits "solve") and running it through Studio. Running the file through studio is mainly useful to prepare new TIMES data sets for usage with the app. To do so, run

times_miro.gms --RUNMODE=create --RUNFILE=<path/to/runfile.run> --DDPREFIX=<path/to/ddFiles/>

where you replace <path/to/runfile.run> by a locally available *.run file and replace <path/to/ddFiles/> by a local folder that contains all the relevant *.dd files (make sure to provide the final directory separator!!!).

inputcube

License

The MIRO demo app is licensed under the MIT license (see file LICENSE). Note that everything inside the times_model, TIMES_Demo as well as the TIMES-DK_COMETS submodules is licensed under GPL-3. See files times_model\LICENSE.txt, TIMES_Demo\LICENSE.txt as well as TIMES-DK_COMETS\LICENSE for more information.

About

MIRO app for the IEA-ETSAP TIMES model

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • GAMS 49.9%
  • R 47.4%
  • CSS 2.7%