User Tools

Site Tools


Sidebar

Introduction

Getting started with CAPRI

The CAPRI Data Base

Baseline Generation

Scenario simulation

Post model analysis

Spatial dis-aggregation CAPDIS module

Stability testing tools for model tasks

References

Annex Code lists

How to edit this wiki

test

This is an old revision of the document!


Table 2: Main elements of the CAPRI data base

Example #1 Our gams code: hello.php


 p_trqBilat(RM,"LDC",XX,"TrqNT","%SIMY%") $ (DATA(RM,"TARS",XX,"%SIMY%") or DATA(RM,"TARV",XX,"%SIMY%")) = 1.E+10;
 p_trqBilat(RM,"LDC",XX,"TsPref","%SIMY%") $ DATA(RM,"TARS",XX,"%SIMY%") = 0.001;
 p_trqBilat(RM,"LDC",XX,"TaPref","%SIMY%") $ DATA(RM,"TARV",XX,"%SIMY%") = 0.001;

 p_trqBilat(RM,RM1,XX,TrqSet,"CUR")  = p_trqBilat(RM,RM1,XX,TrqSet,"%SIMY%");
 p_trqGlobl(RM,XX,TrqSet,"CUR")      = p_trqGlobl(RM,XX,TrqSet,"%SIMY%");

 DATA(RM,"TARS",XX,"CUR") = DATA(RM,"TARS",XX,"%SIMY%");
 DATA(RM,"TARV",XX,"CUR") = DATA(RM,"TARV",XX,"%SIMY%");
*
test.1596372860.txt.gz · Last modified: 2020/08/02 15:54 by matsz