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.


This material is UNSUPPORTED.


Programme



Links



Course Outline


Documents


1. Intro to GAMS Studio.pdf

6. Transport prob.pdf

9. Transport Excer.pdf


PPTs


2. Intro GAMS Studio.ppt

4. More GAMS Studio.ppt

7. Transport prob.ppt


Videos


3. Intro GAMS Studio.mp4

5. More GAMS Studio.mp4

8. Transport prob.mp4


User Library


10. Trans.zip






Topic

Tasks

Exercises

Files in order of use (code files in RED)

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 ppt.pdf

3. Intro to GAMS and GAMS Studio.mp4

4. More GAMS and GAMS Studio ppt.pdf

5. More GAMS and GAMS Studio.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

6. The transport problem.pdf

7. The transport problem ppt.pdf

8. The transport problem.mp4

9. Transport exercises.pdf

10. trans.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