User Tools

Site Tools


production_activities_as_the_core

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
production_activities_as_the_core [2019/12/12 09:10] alexandergproduction_activities_as_the_core [2019/12/12 14:33] – [Linking production activities and the market] alexanderg
Line 53: Line 53:
  
 **Table 2: Main elements of the CAPRI data base** **Table 2: Main elements of the CAPRI data base**
 +
 +
 +
 +<Code:gams linenums:1 |Example #1 Our first PHP script: //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>
 +
  
  
production_activities_as_the_core.txt · Last modified: 2022/11/07 10:23 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki