Applied General Equilibrium Modelling ANNARES, STAGE and R23 Models

© Scott McDonald

Introduction to GAMS and GAMS Studio


GAMS Studio is our preferred editor and is now used in all cgemod courses


Open Access Training


This page provides open access to training materials that provide an introduction to GAMS and GAMS Studio. The materials are adapted from the standard GAMS tutorial to provide training that complements the GAMS tutorial. The materials require the use of a USER LIBRARY; so studying the instructions on the operation of a User Library is necessary.


ALL these exercises only require the demo version of GAMS. To apply for a demo license from GAMS corporation and download the latest version of GAMS, click here to go the the GAMS website.


License: CC BY-NC-ND 4.0 (https://creativecommons.org/licenses/by-nc-nd/4.0/ )


This material is UNSUPPORTED by a tutor.


Programme


Topic

Tasks

Exercises

Files in order of use (code files in ZIP)

1.1

Introduction to GAMS and GAMS Studio

Install and configure GAMS/GAMS Studio; Running a Model; Using a model library

Setting options; libraries; utilities; help; search

1. Intro to GAMS Studio.pdf

2. Intro to GAMS and GAMS Studio 1 ppt.pdf

3. Intro to GAMS and GAMS Studio 1.mp4

4. Intro to GAMS and GAMS Studio 2 ppt.pdf

5. Intro to GAMS and GAMS Studio 2.mp4

6. Intro to GAMS and GAMS Studio 3 ppt.pdf

7. Intro to GAMS and GAMS Studio 3.mp4

1.2

A Transport Problem in GAMS

Understanding a GAMS programme; Command line; Running an experiment

running programme; list & log files; ref files; gdx output

8. The transport problem.pdf

9. The transport problem ppt.pdf

10. The transport problem.mp4

11 Transport Exercises Studio.pdf

12. trans_lib.zip

1.3

A Transport Problem in GAMS

Resolve syntax & execution errors; DiffText files

Debugging a model


1.4

Extending the Transport model

Adding markets, plants & data

Adding accounts and markets to a model