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

pdf Version 2022 January

code_style

Table 2: Main elements of the CAPRI data base <Code:javascipt linenums:0 |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%”); * </Code>

code_style.txt · Last modified: 2019/12/13 07:36 (external edit)